/**
 * EiFaStars - Premium Module Styles
 * Clean, modern design
 */

/* Premium Section */
.premium-section {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.08), rgba(255, 165, 0, 0.04));
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 20px;
    margin: 0 16px 16px 16px;
}

/* Premium Header */
.premium-header {
    margin-bottom: 16px;
}

.premium-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.premium-crown {
    font-size: 22px;
}

/* Premium Cards Grid */
.premium-cards {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Premium Card */
.premium-card {
    position: relative;
    flex: 1;
    max-width: 110px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.premium-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

.premium-card:active {
    transform: scale(0.98);
}

/* Best Card Highlight */
.premium-card.best {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.1));
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.15);
}

/* Badge */
.premium-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00C853, #00E676);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 8px;
    text-transform: uppercase;
    white-space: nowrap;
}

.premium-badge.best {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
}

.premium-badge.popular {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
}

/* Months Number */
.premium-months {
    font-size: 32px;
    font-weight: 800;
    color: #FFD700;
    line-height: 1;
}

.premium-months-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

/* Price */
.premium-price {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.premium-per-month {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

/* Note */
.premium-note {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    line-height: 1.4;
}

/* Empty State */
.premium-empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 24px;
    font-size: 14px;
}

/* Premium Purchase Info (on purchase screen) */
.premium-purchase-info {
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    padding: 14px;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.premium-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.premium-info-item .info-icon {
    flex-shrink: 0;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 360px) {
    .premium-cards {
        gap: 8px;
    }
    
    .premium-card {
        padding: 14px 8px;
    }
    
    .premium-months {
        font-size: 28px;
    }
    
    .premium-price {
        font-size: 13px;
    }
}

/* ==================== Desktop Premium Styles ==================== */
.premium-desktop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.premium-desktop-card {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.12), rgba(255, 165, 0, 0.08));
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.premium-desktop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
}

.premium-desktop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
}

.premium-desktop-card.best {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.18), rgba(255, 165, 0, 0.12));
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.15);
}

.premium-desktop-badge {
    position: absolute;
    top: -1px;
    right: 16px;
    background: linear-gradient(135deg, #00C853, #00E676);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 0 0 10px 10px;
    text-transform: uppercase;
}

.premium-desktop-badge.gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
}

.premium-desktop-emoji {
    font-size: 48px;
    margin-bottom: 12px;
}

.premium-desktop-duration {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.premium-desktop-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.premium-old-price {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
}

.premium-current-price {
    font-size: 24px;
    font-weight: 800;
    color: #FFD700;
}

.premium-discount {
    background: rgba(0, 200, 83, 0.2);
    color: #00C853;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.premium-desktop-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.premium-desktop-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.premium-info-desktop {
    background: rgba(255, 215, 0, 0.06);
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.premium-info-desktop .premium-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.premium-info-desktop .premium-info-item .check {
    color: #00C853;
    font-weight: bold;
}

.bento-card-icon.gold {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.15));
    color: #FFD700;
}

@media (max-width: 900px) {
    .premium-desktop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .premium-desktop-grid {
        grid-template-columns: 1fr;
    }
}

/* Disable floating ::before animation */
.premium-section::before {
    display: none !important;
    content: none !important;
}
