/* Game Store - Medieval/Fantasy Theme CSS */
/* Inspired by the in-game coin shop design */

/* ========== CSS Variables ========== */
:root {
    /* Primary Colors - Teal/Cyan theme */
    --primary-teal: #008B8B;
    --primary-teal-dark: #006666;
    --primary-teal-light: #20B2AA;

    /* Accent Colors */
    --gold: #D4AF37;
    --gold-dark: #B8860B;
    --gold-light: #FFD700;

    --green: #2E7D32;
    --green-dark: #1B5E20;
    --green-light: #4CAF50;

    /* Background Colors */
    --bg-parchment: #E8DCC4;
    --bg-dark: #2C2416;
    --bg-light: #F5F0E8;
    --bg-card: #0A4F4F;

    /* Text Colors */
    --text-primary: #2C2416;
    --text-secondary: #5C4E3A;
    --text-light: #FFFFFF;
    --text-gold: #FFD700;

    /* Border & Shadow */
    --border-ornate: #8B7355;
    --shadow-dark: rgba(0, 0, 0, 0.3);
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --shadow-light: rgba(0, 0, 0, 0.1);

    /* Fonts */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

/* ========== Reset & Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, #2C2416 0%, #5C4E3A 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== Header ========== */
.site-header {
    background: linear-gradient(180deg, rgba(44, 36, 22, 0.95) 0%, rgba(44, 36, 22, 0.85) 100%);
    border-bottom: 3px solid var(--gold);
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px var(--shadow-dark);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.gold-text {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-link:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    color: var(--gold-light);
}

.welcome-text {
    color: var(--text-light);
    font-weight: 400;
    opacity: 0.9;
}

/* ========== Hero Section ========== */
.hero-section {
    background: linear-gradient(135deg, rgba(0, 139, 139, 0.1) 0%, rgba(46, 125, 50, 0.1) 100%);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gold-light);
    font-weight: 300;
}

/* ========== Flash Messages ========== */
.flash-message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    font-weight: 500;
    box-shadow: 0 2px 10px var(--shadow-medium);
}

.flash-success {
    background: #4CAF50;
    color: white;
    border: 2px solid #2E7D32;
}

.flash-error {
    background: #f44336;
    color: white;
    border: 2px solid #c62828;
}

.flash-info {
    background: #2196F3;
    color: white;
    border: 2px solid #1565C0;
}

/* ========== Packages Section ========== */
.packages-section {
    padding: 3rem 0 4rem;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== Package Card ========== */
.package-card {
    background: linear-gradient(180deg, var(--bg-card) 0%, #083939 100%);
    border: 3px solid #2C6B6B;
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 8px 25px var(--shadow-dark),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px var(--shadow-dark),
                0 0 30px rgba(0, 139, 139, 0.3);
}

/* Featured Packages (Best Seller, Best Value) */
.package-card.package-featured {
    border-width: 4px;
}

.package-card.package-featured:nth-of-type(4) {
    /* Best Seller - Gold theme */
    background: linear-gradient(180deg, #8B6914 0%, #6B5010 100%);
    border-color: var(--gold);
}

.package-card.package-featured:nth-of-type(6) {
    /* Best Value - Green theme */
    background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%);
    border-color: var(--green-light);
}

/* Package Badge */
.package-badge {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    padding: 0.9rem 1.2rem;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(212, 175, 55, 0.5);
    z-index: 10;
    border: 3px solid rgba(255, 255, 255, 0.3);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5),
                    0 0 20px rgba(212, 175, 55, 0.5);
    }
    50% {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5),
                    0 0 30px rgba(212, 175, 55, 0.8);
    }
}

.package-badge.best-seller {
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5),
                0 0 25px rgba(255, 215, 0, 0.6);
}

.package-badge.best-value {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5),
                0 0 25px rgba(76, 175, 80, 0.6);
}

/* Package Header */
.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    margin-top: 3rem;
}

/* Add extra top margin for featured packages with badges */
.package-featured .package-header {
    margin-top: 4rem;
}

.bonus-label {
    background: var(--gold);
    color: var(--text-primary);
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.base-coins {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
}

.coin-icon-small {
    width: 20px;
    height: 20px;
}

/* Package Body */
.package-body {
    text-align: center;
    padding: 2rem 0;
    position: relative;
}

.total-coins {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.coin-icon-large {
    width: 40px;
    height: 40px;
}

.coins-amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.coins-image {
    margin: 1rem 0;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-coins-img {
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Package Footer */
.package-footer {
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.package-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 1rem;
}

.buy-form {
    width: 100%;
}

.btn-buy {
    width: 100%;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--gold-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-buy:hover {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-buy:active {
    transform: translateY(0);
}

/* ========== Features Section ========== */
.features-section {
    background: rgba(44, 36, 22, 0.5);
    padding: 3rem 0;
    margin-top: 2rem;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-family: var(--font-heading);
    color: var(--gold-light);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-light);
    opacity: 0.8;
}

/* ========== Footer ========== */
.site-footer {
    background: linear-gradient(180deg, rgba(44, 36, 22, 0.85) 0%, rgba(44, 36, 22, 0.95) 100%);
    border-top: 3px solid var(--gold);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-light);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold-light);
    opacity: 1;
}

/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .coins-amount {
        font-size: 2.5rem;
    }

    .package-badge {
        font-size: 0.85rem;
        padding: 0.6rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .site-logo {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .package-card {
        padding: 1rem;
    }

    .coins-amount {
        font-size: 2rem;
    }

    .package-price {
        font-size: 1.5rem;
    }
}

/* ========== Utility Classes (for removing inline styles) ========== */

/* Link Utilities */
.link-no-decoration { text-decoration: none; }
.link-primary { color: var(--primary); }
.legal-link { color: var(--gold-light); }

/* Layout Utilities */
.padding-legal { padding: 3rem 1rem; }
.max-width-700 { max-width: 700px; }
.max-width-900 { max-width: 900px; }
.w-100 { width: 100%; }

/* Margin Utilities */
.mb-05 { margin-bottom: 0.5rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-1-5 { margin-bottom: 1.5rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-05 { margin-top: 0.5rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-muted { color: var(--text-muted); }
.text-small { font-size: 0.85rem; }

/* Legal Pages */
.legal-container { padding: 3rem 1rem; }
.legal-card { max-width: 900px; text-align: left; }
.legal-title { margin-bottom: 2rem; }
.legal-content { color: var(--text-light); line-height: 1.8; font-size: 1rem; }
.legal-updated { margin-bottom: 1.5rem; }
.legal-heading { color: var(--gold-light); margin-top: 2rem; margin-bottom: 1rem; font-size: 1.4rem; }
.legal-text { margin-bottom: 1rem; }
.legal-paragraph { margin-bottom: 1.5rem; }
.legal-list { margin-bottom: 1.5rem; padding-left: 2rem; }
.legal-list-item { margin-bottom: 0.5rem; }
.legal-footer { margin-top: 3rem; padding-top: 2rem; border-top: 2px solid rgba(212, 175, 55, 0.2); }

/* Form Utilities */
.form-select { width: 100%; padding: 0.8rem; background: rgba(255, 255, 255, 0.05); border: 2px solid rgba(255, 255, 255, 0.1); border-radius: 8px; color: var(--text-light); }
.form-input { width: 100%; padding: 0.8rem; background: rgba(255,255,255,0.05); border: 2px solid rgba(255,255,255,0.1); border-radius: 8px; color: var(--text-light); font-size: 1rem; font-family: var(--font-body); }
.form-textarea { width: 100%; padding: 0.8rem; background: rgba(255,255,255,0.05); border: 2px solid rgba(255,255,255,0.1); border-radius: 8px; color: var(--text-light); font-size: 1rem; font-family: var(--font-body); resize: vertical; }

/* Display Utilities */
.inline-form { display: inline; }
.inline-block { display: inline-block; }

/* User Info */
.user-info { font-size: 0.85rem; }

/* Table Utilities */
.table-container { overflow-x: auto; }
.empty-message { text-align: center; padding: 2rem; color: var(--text-muted); }

/* Additional Utility Classes for Success/Payment Pages */
.success-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
    border: 3px solid var(--gold);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.code-display-large {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    color: var(--gold);
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;
    word-break: break-all;
}

.info-box-blue {
    background: rgba(33, 150, 243, 0.1);
    border: 2px solid #2196F3;
    border-radius: 8px;
    padding: 1.2rem;
    margin: 1.5rem 0;
    color: #90caf9;
}

.info-box-green {
    background: rgba(76, 175, 80, 0.1);
    border: 2px solid #4CAF50;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    color: #a5d6a7;
}

.info-box-yellow {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid #FFC107;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    color: #FFD54F;
}

.code-box {
    background: rgba(0,0,0,0.5);
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 0.85rem;
    color: #90caf9;
}

.card-dark {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--gold);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.card-light {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

/* Color Utilities */
.color-gold { color: var(--gold); }
.color-gold-light { color: var(--gold-light); }
.color-text-light { color: var(--text-light); }
.color-muted { color: rgba(255,255,255,0.7); }
.color-red { color: #FF6B6B; }
.color-primary { color: #00E5FF; }

/* Flex Utilities */
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-between-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Font Utilities */
.font-mono { font-family: 'Courier New', monospace; }
.font-mono-small { font-family: 'Courier New', monospace; font-size: 0.85rem; }
.font-size-small { font-size: 0.85rem; }
.font-size-normal { font-size: 0.95rem; }
.font-size-large { font-size: 1.2rem; }
.font-size-xlarge { font-size: 1.3rem; }
.font-weight-600 { font-weight: 600; }
.line-height-16 { line-height: 1.6; }

/* Alert Variants */
.alert-gold {
    background: rgba(212, 175, 55, 0.1);
    border-color: #FFD700;
}

.alert-red {
    background: rgba(244, 67, 54, 0.1);
    border-color: #f44336;
}

/* Padding/Margin Utilities */
.padding-05 { padding: 0.5rem; }
.padding-1 { padding: 1rem; }
.padding-1-5 { padding: 1.5rem; }
.padding-2 { padding: 2rem; }
.padding-left-1 { padding-left: 1rem; }
.margin-1-0 { margin: 1rem 0; }
.margin-1-5-0 { margin: 1.5rem 0; }
.margin-2-0 { margin: 2rem 0; }

/* Link Styles */
.link-cyan {
    color: #00E5FF;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.link-button {
    display: inline-block;
    text-decoration: none;
    padding: 0.8rem 2rem;
}

.link-button-bg {
    display: inline-block;
    text-decoration: none;
    padding: 0.8rem 2rem;
    background: rgba(255,255,255,0.1);
}

/* Additional Utility Classes - Final Round */
.font-size-3rem { font-size: 3rem; }
.font-size-4rem { font-size: 4rem; }
.font-size-09 { font-size: 0.9rem; }
.font-size-15 { font-size: 1.5rem; }
.font-size-18 { font-size: 1.8rem; }

.opacity-06 { opacity: 0.6; }
.opacity-07 { opacity: 0.7; }
.opacity-08 { opacity: 0.8; }

.max-width-500 { max-width: 500px; }
.max-width-600 { max-width: 600px; }

.text-right { text-align: right; }

.mb-05-mt-05 { margin: 0.5rem 0; }
.mt-1-5 { margin-top: 1.5rem; }
.padding-1-5-0 { padding: 1.5rem 0; }
.padding-2-0 { padding: 2rem 0; }

.flex-gap-1 { display: flex; gap: 1rem; flex-wrap: wrap; }
.flex-gap-1-center { display: flex; gap: 1rem; justify-content: center; }

.divider-gold {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 1rem 0;
}

.alert-success-custom {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(76, 175, 80, 0.1);
    border: 2px solid #4CAF50;
    border-radius: 8px;
    color: #81C784;
}

.alert-error-custom {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(244, 67, 54, 0.1);
    border: 2px solid #f44336;
    border-radius: 8px;
    color: #e57373;
}

.alert-info-custom {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(33, 150, 243, 0.1);
    border: 2px solid #2196F3;
    border-radius: 8px;
    color: #90caf9;
    font-size: 0.9rem;
}

.alert-warning-custom {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid #FFC107;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.form-input-full { 
    width: 100%; 
    padding: 0.8rem; 
    background: rgba(255,255,255,0.05); 
    border: 2px solid rgba(255,255,255,0.1); 
    border-radius: 8px; 
    color: var(--text-light); 
    font-size: 1rem; 
    font-family: var(--font-body);
}

.form-input-flex {
    flex: 1;
    min-width: 250px;
    padding: 0.8rem;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    font-family: var(--font-body);
}

.badge-cyan {
    background: rgba(0, 188, 212, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--cyan);
}

.heading-gold-large {
    font-size: 1.5rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.heading-gold-xlarge {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #FFD700;
}

.label-block {
    display: block;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.footer-divider {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(212, 175, 55, 0.2);
}

.card-details {
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.list-styled {
    text-align: left;
    margin: 0.5rem 0 0 1.5rem;
    padding: 0;
}

.error-hidden {
    display: none;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(244, 67, 54, 0.1);
    border: 2px solid #f44336;
    border-radius: 8px;
    color: #ff5252;
}

/* Final Utility Classes - Complete Coverage */
.m-0 { margin: 0; }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
.mt-09-op-07 { margin-top: 1rem; opacity: 0.7; font-size: 0.9rem; }
.opacity-05 { opacity: 0.5; }

.grid-3-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }
.flex-gap-1-mt-1 { display: flex; gap: 1rem; margin-top: 1rem; }
.flex-gap-1-mt-2 { display: flex; gap: 1rem; margin-top: 2rem; }

.color-cyan { color: #00E5FF; }
.color-green { color: #4CAF50; }
.color-dim { color: var(--text-dim); }
.color-dim-small { color: var(--text-dim); font-size: 0.85rem; }
.color-muted-06 { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.color-muted-05 { color: rgba(255,255,255,0.5); }
.color-muted-07 { color: rgba(255, 255, 255, 0.7); }
.color-yellow-09 { color: #FFD54F; font-size: 0.9rem; }

.heading-cyan { margin: 0; font-family: var(--font-heading); font-size: 1.8rem; color: #00E5FF; }
.font-09 { font-size: 0.9rem; }
.font-11 { font-size: 1.1rem; }
.font-1rem-pad-05 { font-size: 1rem; padding: 0.5rem 1rem; }

.text-center-small-muted { text-align: center; margin-top: 0.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.text-center-muted-09 { text-align: center; margin: 1rem 0; color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.text-center-pad-2 { text-align: center; padding: 2rem; color: rgba(255,255,255,0.7); }

.link-cyan-flex { color: var(--cyan); text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.link-button-cyan { padding: 0.4rem 0.8rem; text-decoration: none; font-size: 0.85rem; display: inline-block; background: rgba(0, 188, 212, 0.2); border-color: #00BCD4; color: #00E5FF; white-space: nowrap; }
.link-button-cyan-simple { padding: 0.4rem 0.8rem; text-decoration: none; font-size: 0.85rem; display: inline-block; background: rgba(0, 188, 212, 0.2); border-color: #00BCD4; color: #00E5FF; }

.badge-gold { background: rgba(212, 175, 55, 0.2); border: 1px solid var(--gold); padding: 0.4rem 0.8rem; border-radius: 4px; }

.alert-cyan { margin-bottom: 1.5rem; background: rgba(0, 188, 212, 0.1); border-color: #00BCD4; }
.alert-blue-light { margin-bottom: 1.5rem; background: rgba(33, 150, 243, 0.15); border-color: #2196F3; }
.alert-blue-pad { margin-top: 2rem; padding: 1.5rem; background: rgba(33, 150, 243, 0.1); border: 2px solid #2196F3; border-radius: 8px; color: #90caf9; }

.btn-gradient-blue { background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%); border-color: #64B5F6; }

.footer-centered { border-top: none; padding: 0; margin-top: 2rem; justify-content: center; }

.flex-end-muted { margin-left: auto; color: rgba(255, 255, 255, 0.8); display: flex; align-items: center; font-weight: 500; }

.flex-item-card { flex: 1; max-width: 200px; background: rgba(255,255,255,0.05); text-align: center; text-decoration: none; display: flex; align-items: center; justify-content: center; white-space: nowrap; }
.flex-item-nowrap { flex: 1; max-width: 200px; white-space: nowrap; }

.block-muted-small { display: block; margin-top: 1rem; color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; }

.margin-05-0-0-0 { margin: 0.5rem 0 0 0; color: rgba(255, 255, 255, 0.7); }

.padding-08-15 { padding: 0.8rem 1.5rem; }
.padding-08-15-bg { padding: 0.8rem 1.5rem; background: rgba(255,255,255,0.05); text-decoration: none; }

/* Cursor Utilities */
.cursor-pointer { cursor: pointer; }

/* ========== Language Switcher ========== */
.language-switcher {
    position: relative;
    display: inline-block;
    z-index: 1000;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.lang-current:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
}

.lang-flag {
    font-size: 1.2rem;
    line-height: 1;
}

.lang-code {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.lang-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    margin-left: 0.25rem;
}

.language-switcher.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    min-width: 180px;
    max-width: calc(100vw - 20px);
    background: rgba(44, 36, 22, 0.98);
    border: 2px solid var(--gold);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 1001;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: rgba(212, 175, 55, 0.2);
}

.lang-option.active {
    background: rgba(212, 175, 55, 0.3);
    color: var(--gold-light);
}

.lang-name {
    flex: 1;
    font-size: 0.95rem;
    font-family: 'Noto Sans Arabic', var(--font-body), sans-serif;
}

.lang-check {
    color: var(--gold);
    font-weight: bold;
}

/* Language Switcher Responsive */
@media (max-width: 768px) {
    .lang-dropdown {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }

    .lang-dropdown.active {
        transform: translateX(-50%) translateY(0);
    }
}
