/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-switcher {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(20, 20, 30, 0.85);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lang-switcher:active {
    transform: scale(0.95);
}

.lang-switcher-flag {
    font-size: 16px;
    line-height: 1;
}

.lang-switcher-code {
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

/* ============================================
   LANGUAGE MODAL
   ============================================ */
.modal-content--lang {
    max-width: 320px;
    padding: 20px;
}

.lang-modal-title {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--accent-gold);
}

.lang-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 60vh;
    overflow-y: auto;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: left;
    width: 100%;
    color: var(--text-primary);
    font-family: inherit;
}

.lang-option:active {
    transform: scale(0.97);
}

.lang-option.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), var(--bg-tertiary));
    border-color: var(--accent-gold);
}

.lang-option-flag {
    font-size: 22px;
    line-height: 1;
}

.lang-option-name {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
}

.lang-option-code {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    color: var(--text-tertiary);
    letter-spacing: 1px;
}

.lang-option.active .lang-option-code {
    color: var(--accent-gold);
}

/* ============================================
   SHOP — SECTION TABS
   ============================================ */
.shop-sections {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    padding: 4px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.shop-section-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 8px;
    background: transparent;
    border: none;
    color: var(--text-tertiary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-family: inherit;
}

.shop-section-btn:active {
    transform: scale(0.97);
}

.shop-section-btn.active {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8902a 100%);
    color: var(--bg-primary);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.shop-section-icon {
    font-size: 16px;
}

/* ============================================
   SHOP SECTIONS
   ============================================ */
.shop-section {
    display: none;
    animation: fadeInUp 300ms ease-out;
}

.shop-section.active {
    display: block;
}

.shop-description {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px;
    padding: 12px;
    background: var(--bg-card);
    border-left: 3px solid var(--accent-gold);
    border-radius: var(--radius-md);
}

/* ============================================
   VIP BANNER
   ============================================ */
.vip-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg,
        rgba(212, 175, 55, 0.2) 0%,
        rgba(216, 48, 48, 0.1) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.vip-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    width: 150px;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3), transparent 70%);
    pointer-events: none;
}

.vip-banner-icon {
    font-size: 48px;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.8));
    animation: vipPulse 2s ease-in-out infinite;
}

.vip-banner-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.vip-banner-title {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(180deg, var(--accent-gold-bright) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.vip-banner-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ============================================
   CURRENCY TABS (Gold/Silver)
   ============================================ */
.currency-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.currency-tab {
    flex: 1;
    padding: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.currency-tab:active {
    transform: scale(0.97);
}

.currency-tab.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), var(--bg-card));
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* ============================================
   SHOP CARDS GRID
   ============================================ */
.shop-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shop-card {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: 14px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.shop-card--featured {
    background: linear-gradient(135deg,
        rgba(212, 175, 55, 0.08) 0%,
        var(--bg-card) 100%);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.15);
}

.shop-card-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
}

.shop-card-badge--popular {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: white;
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.4);
}

.shop-card-badge--best {
    background: linear-gradient(135deg, var(--accent-blood), #8a1c1c);
    color: white;
    box-shadow: 0 2px 8px rgba(216, 48, 48, 0.4);
}

.shop-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.shop-card-icon {
    font-size: 32px;
    width: 56px;
    height: 56px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.shop-card-meta {
    flex: 1;
    min-width: 0;
}

.shop-card-name {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.shop-card-desc {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.shop-card-discount,
.shop-card-bonus {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(45, 212, 191, 0.15);
    color: var(--accent-emerald);
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
}

.shop-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
}

.shop-card-price {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-gold);
}

.btn-buy {
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8902a 100%);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.btn-buy:active {
    transform: scale(0.95);
    box-shadow: 0 1px 4px rgba(212, 175, 55, 0.4);
}

/* ============================================
   PURCHASE MODAL
   ============================================ */
.purchase-icon {
    font-size: 64px;
    margin-bottom: 12px;
    display: block;
}

.purchase-title {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.purchase-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.purchase-price-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.purchase-price-value {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-gold);
}

.purchase-actions {
    display: flex;
    gap: 10px;
}

.btn-cancel, .btn-confirm {
    flex: 1;
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    font-family: inherit;
}

.btn-cancel {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-default);
}

.btn-cancel:active {
    transform: scale(0.97);
    background: var(--bg-secondary);
}

.btn-confirm {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8902a 100%);
    color: var(--bg-primary);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-confirm:active {
    transform: scale(0.97);
}
