/* =========================================================
   1. CORE VARIABLES & GLOBAL STYLES
========================================================= */
:root {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --primary-color: #3b82f6;
    --accent-color: #10b981;
    --header-bg: rgba(15, 23, 42, 0.95);
    --dropdown-bg: #1e293b;
    --premium-dark: #0d0d11;
    --card-bg: #15151a;
    --border-color: #2a2a35;

    /* 🌟 NEW: Header එකේ සැබෑ උස JS මඟින් Dynamic ව Set කරන Variable එක.
       JS Load වෙන්න කලින් පෙන්වන Fallback අගය විදියට 75px තියෙනවා (Desktop default). */
    --header-height: 75px;
}

/* Box-sizing සියලුම elements සඳහා ලබා දීම */
*, *::before, *::after { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

/* 🌟 FIX: ද්විත්ව ස්ක්‍රෝල් බාර් එක නැති කර ප්‍රධාන ස්ක්‍රෝල් බාර් එක පමණක් ඉතිරි කරන කේතය */
html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto; 
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    
    /* 🌟 FIX: Reviews/Signals පිටුවල Content වැසීම වැළැක්වීමට.
       Hardcoded 75px වෙනුවට --header-height variable එක use කරයි.
       Mobile/Desktop දෙකේදීම JS එක Real height එක මෙතනට Sync කරනවා. */
    padding-top: var(--header-height); 
}

/* 🌟 HOME PAGE FIX: Home Page එකේදී හිස් තීරුව ඉවත් කිරීම */
body:has(.hp-hero) {
    padding-top: 0 !important;
}

/* =========================================================
   📱 RESPONSIVE TICKER CONFIGURATION (MOBILE & DESKTOP)
========================================================= */

/* 🌟 FIX: Crypto Ticker එක Header එකේ සැබෑ උසට අනුව Margin-top එක ලබා ගැනීම.
   මෙය Desktop සහ Mobile දෙකේදීම එකම rule එකෙන් වැඩ කරයි — 
   වෙනම media query 2ක් (75px/60px) තියෙන්න අවශ්‍ය නැහැ, 
   මොකද --header-height variable එක JS එකෙන් device එකට ගැළපෙන විදියට Auto-update වෙනවා. */
body:has(.hp-hero) .hp-ticker--crypto {
    margin-top: var(--header-height) !important;
}

/* 🌟 FIX: Forex/Synthetics ticker එක Crypto ticker එකට පස්සේ Normal Document Flow එකේ 
   එන නිසා, මේකට Header Height Margin එක ඕන නැහැ (ඒක Crypto ticker එකට විතරයි). 
   මෙතන margin-top: 0 කරයි, ඒ නිසා ticker දෙක එකට Stick වෙනවා, Gap එකක් නැතුව. */
body:has(.hp-hero) .hp-ticker--forex,
body:has(.hp-hero) .hp-ticker--synthetics {
    margin-top: 0 !important;
}

.main-content { 
    min-height: 80vh; 
    width: 100%; 
}

/* =========================================================
   2. HEADER & DESKTOP NAVIGATION
========================================================= */
.sticky-header {
    position: fixed; 
    top: 0; 
    left: 0; 
    z-index: 1000;
    background: var(--header-bg); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 1rem 5%; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    box-sizing: border-box; 
    
    /* 🌟 FIX: Header එක උඩට/පහළට යද්දී සුමටව (Smooth) සිදුවීමට */
    transition: transform 0.3s ease-in-out; 
    transform: translateY(0); 
}

/* 🌟 NEW CLASS: පහළට Scroll කරද්දී Header එක සඟවන ක්‍රමය */
.sticky-header.hide {
    transform: translateY(-100%);
}

.logo a { 
    color: white; 
    font-size: 1.5rem; 
    font-weight: 700; 
    text-decoration: none; 
}

.logo span { 
    color: var(--primary-color); 
}

.desktop-menu { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
}

.desktop-menu a { 
    color: var(--text-color); 
    text-decoration: none; 
    font-weight: 500; 
    transition: color 0.3s ease; 
    padding: 10px 0; 
}

.desktop-menu a:hover { 
    color: var(--primary-color); 
}

/* =========================================================
   3. DESKTOP DROPDOWN (PREMIUM OVERLAY) - UPDATED FOR WIDER GRID
========================================================= */
.dropdown { 
    position: relative; 
    display: inline-block; 
}

.dropdown-content {
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 50%;
    transform: translateX(-50%); /* 👈 මැදට Alignment කිරීම */
    background-color: var(--card-bg); 
    width: 520px; /* 👈 ඩ්‍රොප්ඩවුන් එක හොඳින් විශාල කර ඇත */
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.6); 
    border: 1px solid var(--border-color);
    border-radius: 12px;
    z-index: 1000;
    padding: 15px;
    max-height: 500px; 
    overflow-y: auto;
}

/* 🎯 Desktop එකේදීත් තීරු 2කට (Columns 2) ලස්සනට පෙන්වීම */
@media (min-width: 993px) {
    .dropdown:hover .dropdown-content { 
        display: grid; /* Hover කළ විට Grid එකක් වේ */
        grid-template-columns: repeat(2, 1fr);
        gap: 6px 15px; /* පේළි සහ තීරු අතර පරතරය */
    }
}

/* Dropdown Scrollbar Customization */
.dropdown-content::-webkit-scrollbar {
    width: 6px;
}
.dropdown-content::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.dropdown-content a { 
    color: #b0b0bc; 
    padding: 10px 12px; 
    text-decoration: none; 
    display: flex; 
    align-items: center;
    gap: 12px; 
    font-size: 0.92rem; /* අකුරු පැහැදිලිව පෙනීමට තරමක් විශාල කර ඇත */
    font-weight: 500;
    transition: all 0.2s ease; 
    border-radius: 6px;
}

.dropdown-content a:hover { 
    background-color: #1e1e24; 
    color: #00e676; 
    transform: translateX(3px); /* 👈 Hover වෙද්දී පොඩි Premium ඇදීමක් */
}

/* ==========================================================================
   🎯 MEGA MENU DIRECTORY LINK & DIVIDER (FIX FOR EMPTY BOXES)
   ========================================================================== */
.mega-menu .directory-link {
    grid-column: 1 / -1 !important; /* 👈 Desktop/Mobile දෙකේදීම හිස් කොටු ඒම වළක්වන ප්‍රධාන කේතය */
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 12px 16px !important;
    background: rgba(0, 230, 118, 0.06) !important; /* කැපී පෙනෙන ලා කොළ පැහැති පසුබිම */
    color: #00e676 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    border-radius: 6px;
    margin-bottom: 5px;
    transition: all 0.25s ease;
    border: 1px solid rgba(0, 230, 118, 0.15);
    text-decoration: none;
    box-sizing: border-box;
    width: 100% !important;
}

.mega-menu .directory-link:hover {
    background: rgba(0, 230, 118, 0.12) !important;
    color: #ffffff !important;
    border-color: rgba(0, 230, 118, 0.3);
    padding-left: 20px !important; /* Hover වීමේදී සිදුවන කුඩා Animation එකක් */
    box-shadow: 0 4px 12px rgba(0, 230, 118, 0.1);
}

.mega-menu .directory-link .dir-icon {
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mega-menu .menu-divider {
    grid-column: 1 / -1 !important; /* Divider එකත් මුළු හරහටම විහිදීමට */
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 12px 0 8px 0;
    width: 100%;
    display: block;
}

.menu-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 4px;
    background: transparent;
}

/* =========================================================
   4. GLOBAL SEARCH BAR STYLES
========================================================= */
.global-search-container {
    position: relative;
    margin: 0 20px;
    flex: 1;
    max-width: 320px; 
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    width: 100%;
    padding: 8px 35px 8px 15px;
    background: var(--dropdown-bg); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
    background: #151f32;
}

.search-icon {
    position: absolute;
    right: 12px;
    color: #64748b;
    font-size: 0.9rem;
    pointer-events: none;
}

.search-results-dropdown {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background: var(--dropdown-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.5);
    max-height: 350px;
    overflow-y: auto;
    z-index: 1100;
}

.search-result-item {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.result-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.result-title {
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
}

.result-category {
    font-size: 0.75rem;
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.result-desc {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.4;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; 
}

.search-no-results {
    padding: 15px;
    color: #94a3b8;
    font-size: 0.85rem;
    text-align: center;
}

/* =========================================================
   5. PREMIUM USER PROFILE MENU COMPONENT
========================================================= */
.user-profile-menu {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    margin-left: 15px;
}

.profile-nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    border-radius: 50%;
}

.nav-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    object-fit: cover;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-nav-btn:hover .nav-avatar {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.profile-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 48px;
    background: var(--dropdown-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    min-width: 250px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.6);
    z-index: 1000;
    overflow: hidden;
    animation: profileDropdownFadeIn 0.2s ease-out;
}

.user-profile-menu.show-dropdown .profile-dropdown {
    display: block;
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(15, 23, 42, 0.4);
}

.dropdown-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.user-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.user-email {
    font-size: 0.8rem;
    color: #94a3b8;
    word-break: break-all;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.dropdown-item {
    width: 100%;
    padding: 12px 15px;
    background: none;
    border: none;
    text-align: left;
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.dropdown-item.btn-danger {
    color: #f87171;
}

.dropdown-item.btn-danger:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

@keyframes profileDropdownFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   6. RESPONSIVE MOBILE NAVIGATION SYSTEM (CLEANED)
========================================================= */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
        z-index: 1002;
    }

    /* 📱 Smooth Sidebar Slide-drawer */
    .desktop-menu {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 300px;
        height: 100vh;
        background: var(--premium-dark); 
        border-left: 1px solid var(--border-color);
        box-shadow: -10px 0 30px rgba(0,0,0,0.6);
        display: flex;
        flex-direction: column;
        padding: 80px 20px 40px 20px;
        gap: 15px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
        z-index: 1001;
        overflow-y: auto;
    }

    .desktop-menu.active {
        right: 0; 
    }

    /* Mobile Side Navigation Items */
    .desktop-menu > a, .dropbtn {
        font-size: 1.1rem;
        color: #b0b0bc;
        padding: 12px 16px;
        background: var(--card-bg);
        border-radius: 8px;
        border: 1px solid #1e1e24;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-decoration: none;
        width: 100%;
        text-align: left;
        cursor: pointer;
    }

    .dropdown {
        width: 100%;
    }

    /* 🎯 Mobile Dropdown Core Fix: සාමාන්‍යෙන් සඟවා තැබීම */
    .dropdown-content {
        position: static !important;
        display: none !important; /* JS මඟින් 'open' class එක දානකම් සම්පූර්ණයෙන් සඟවයි */
        width: 100% !important;
        transform: none !important;
        background-color: var(--premium-dark) !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        max-height: none !important;
    }

    /* 🎯 Mobile එකේදී Click කළ විට Grid එකක් ලෙස 2 Columns වලට විවෘත වීම */
    .dropdown-content.open {
        display: grid !important; 
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 10px 12px !important; /* Directory link එකට ගැළපෙන සේ padding සකසා ඇත */
    }

    .dropdown-content a {
        background: var(--card-bg);
        padding: 10px;
        border-radius: 6px;
        border: 1px solid #1e1e24;
        font-size: 0.8rem;
        justify-content: flex-start;
        gap: 8px;
    }
    
    /* Mobile එකේදී Directory Link එකට හිස් කොටු ඇතිවීම වැළැක්වීම */
    .dropdown-content.open .directory-link {
        grid-column: 1 / -1 !important;
    }
    .dropdown-content.open .menu-divider {
        grid-column: 1 / -1 !important;
    }

    /* Search & Profile Responsive Overrides */
    .global-search-container {
        margin: 15px 0;
        width: 100%;      
        max-width: 100%;
        display: flex;     
        justify-content: center;
    }

    .global-search-container .search-box {
        width: 85%;        
        max-width: 280px;  
        margin: 0 auto;
    }

    .user-profile-menu {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 15px;
        text-align: left;
    }
}

/* =========================================================
   7. BUTTONS, HERO & CONTENT STYLES
========================================================= */
.btn-premium {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: white; border: none; padding: 10px 20px; border-radius: 8px;
    cursor: pointer; font-weight: 600; transition: all 0.3s ease;
    text-align: center;
}
.btn-premium:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4); }
.btn-accent { background: linear-gradient(135deg, var(--accent-color), #059669); }
.btn-accent:hover { box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4); }

.hero-section { text-align: center; padding: 100px 5%; animation: fadeIn 1s ease-in; width: 100%; overflow: hidden; }
.hero-section h1 { font-size: 3.5rem; margin-bottom: 20px; }
.hero-buttons { margin-top: 40px; display: flex; justify-content: center; gap: 15px; }

@media (max-width: 768px) {
    .hero-section { padding: 60px 5%; }
    .hero-section h1 { font-size: 2.2rem; }
    .hero-section p { font-size: 1rem; padding: 0 10px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons a { width: 100%; text-align: center; }
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.page-container { padding: 50px 5%; width: 100%; overflow: hidden; }
.review-card { background: #1e293b; padding: 20px; border-radius: 10px; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.05); }

/* =========================================================
   8. SITE FOOTER STYLES
========================================================= */
.site-footer { 
    background: #0b1120; 
    padding: 40px 5% 20px; 
    border-top: 1px solid rgba(255,255,255,0.1); 
    width: 100%;
    overflow: hidden; 
}
.footer-container { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); 
    gap: 30px; 
    margin-bottom: 30px; 
}
@media (max-width: 768px) {
    .footer-container { gap: 20px; }
    .legal-text { grid-column: span 1 !important; }
}

.footer-links a, .social-icons a, .legal-text p, .text-content { 
    word-break: break-word; 
    overflow-wrap: break-word; 
}
.footer-links a, .social-icons a { display: block; color: #94a3b8; text-decoration: none; margin-bottom: 10px; transition: color 0.3s; }
.footer-links a:hover, .social-icons a:hover { color: white; }
.legal-text h4 { margin-bottom: 10px; color: white; }
.legal-text p { color: #94a3b8; font-size: 0.9rem; line-height: 1.6; }
.more-text { display: none; }
.text-content.expanded .more-text { display: inline; }
.read-more-btn { background: none; border: none; color: var(--primary-color); cursor: pointer; padding: 5px 0; font-weight: 600; }
.copyright { text-align: center; color: #64748b; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }

/* =========================================================
   9. INTERACTION MODALS & FLOATING WHATSAPP BUTTON
========================================================= */
.auth-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}
.auth-modal.active { display: flex; }
.auth-modal-content {
    background: var(--dropdown-bg); padding: 30px; border-radius: 12px;
    width: 90%; max-width: 400px; text-align: center; position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}
.close-modal {
    position: absolute; top: 10px; right: 15px;
    color: white; font-size: 24px; cursor: pointer;
    background: none; border: none;
}
.auth-input {
    width: 100%; padding: 12px; margin: 10px 0; border-radius: 6px;
    border: 1px solid #334155; background: #0f172a; color: white; font-size: 1rem;
}
.divider {
    margin: 20px 0; color: #94a3b8; font-size: 0.9rem;
    display: flex; align-items: center;
}
.divider::before, .divider::after { content: ""; flex: 1; border-bottom: 1px solid #334155; margin: 0 10px; }
.toggle-auth { color: var(--primary-color); cursor: pointer; text-decoration: underline; }

/* WhatsApp Button */
.floating-message-btn {
    position: fixed !important; bottom: 30px !important; right: 30px !important;
    width: 60px !important; height: 60px !important; background-color: #25d366 !important;
    border-radius: 50% !important; display: flex !important; justify-content: center !important;
    align-items: center !important; box-shadow: 0px 4px 15px rgba(37, 211, 102, 0.4) !important;
    z-index: 999999 !important; transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    animation: messageBtnPulse 2s infinite !important; text-decoration: none !important;
}
.floating-message-btn:hover { transform: scale(1.1) rotate(5deg) !important; box-shadow: 0px 6px 20px rgba(37, 211, 102, 0.6) !important; }
.whatsapp-icon { width: 32px !important; height: 32px !important; fill: #ffffff !important; display: block !important; }

@keyframes messageBtnPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 768px) {
    .floating-message-btn { bottom: 20px !important; right: 20px !important; width: 50px !important; height: 50px !important; }
    .whatsapp-icon { width: 26px !important; height: 26px !important; }
}

/* =========================================================
   10. COOKIE BANNER & SETTINGS MODAL
========================================================= */
.cookie-banner {
    position: fixed; bottom: 20px; left: 20px; right: 20px;
    background: #1e1e24; border: 1px solid #2a2a35; border-radius: 12px;
    padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 99999; color: #ffffff;
}
@media (min-width: 768px) { .cookie-banner { left: auto; max-width: 450px; } }
.cookie-content h3 { margin-top: 0; margin-bottom: 8px; font-size: 1.2rem; }
.cookie-content p { font-size: 0.9rem; color: #b0b0bc; line-height: 1.4; margin-bottom: 15px; }
.cookie-buttons { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-cookie { padding: 10px 16px; border: none; border-radius: 6px; font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: background 0.2s ease; flex: 1; min-width: 100px; text-align: center; }
.btn-success { background: #00e676; color: #000; }
.btn-success:hover { background: #00c865; }
.btn-danger { background: rgba(255, 51, 51, 0.1); color: #ff3333; border: 1px solid rgba(255, 51, 51, 0.3); }
.btn-danger:hover { background: rgba(255, 51, 51, 0.2); }
.btn-secondary { background: #2a2a35; color: #fff; }
.btn-secondary:hover { background: #3a3a4a; }

.cookie-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); display: flex; align-items: center; justify-content: center; z-index: 100000; padding: 20px; }
.cookie-modal-content { background: #15151a; border: 1px solid #2a2a35; border-radius: 16px; max-width: 500px; width: 100%; padding: 25px; color: #fff; box-shadow: 0 20px 40px rgba(0,0,0,0.6); }
.cookie-modal-content h2 { margin-top: 0; font-size: 1.4rem; }
.cookie-modal-content p { color: #a0a0ab; font-size: 0.85rem; line-height: 1.5; }
.cookie-options-list { margin: 20px 0; display: flex; flex-direction: column; gap: 15px; }
.cookie-option-item { display: flex; justify-content: space-between; align-items: center; background: #1e1e24; padding: 12px 15px; border-radius: 8px; }
.cookie-option-info h4 { margin: 0; font-size: 0.95rem; }
.cookie-option-info p { margin: 4px 0 0 0; font-size: 0.8rem; color: #80808b; }

/* Switch Toggle Slider */
.cookie-switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #3a3a4a; transition: .3s; border-radius: 24px; }
.cookie-slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .3s; border-radius: 50%; }
input:checked + .cookie-slider { background-color: #00e676; }
input:disabled + .cookie-slider { background-color: #444454; cursor: not-allowed; }
input:checked + .cookie-slider:before { transform: translateX(20px); }
.cookie-modal-buttons { margin-top: 20px; }

/* =========================================================
   11. REVIEW PAGES PREMIUM STYLES
========================================================= */
.review-page {
    padding-top: 100px;
    padding-bottom: 60px;
}

.breadcrumb {
    font-size: 0.85rem;
    color: #8a8a98;
    margin-bottom: 25px;
}

.breadcrumb a {
    color: #00e676;
    text-decoration: none;
}

.review-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card-bg);
    padding: 25px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.review-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.review-large-logo {
    width: 65px;
    height: 65px;
    object-fit: contain;
    border-radius: 10px;
    background: #15151a;
    padding: 5px;
}

.review-main-header h1 {
    font-size: 1.8rem;
    margin: 0 0 5px 0;
    color: #ffffff;
}

.review-rating-box {
    background: #15151a;
    padding: 15px 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #1e1e24;
}

.rating-value {
    display: block;
    font-size: 1.6rem;
    font-weight: bold;
    color: #00e676;
}

.review-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .review-grid {
        grid-template-columns: 1fr;
    }
}

.review-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
}

.review-card h3 {
    margin-top: 0;
    color: #00e676;
    border-bottom: 1px solid #1e1e24;
    padding-bottom: 10px;
}

.review-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.review-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.register-link-btn {
    display: block;
    text-align: center;
    margin-top: 20px;
    text-decoration: none;
    font-weight: bold;
}