@charset "UTF-8";
/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    /* Brand Colors - Vibrant Cyberpunk/Synthwave feel */
    --primary: #ff2a5f;
    --primary-hover: #ff003c;
    --secondary: #00e5ff;
    --accent: #b026ff;

    /* Dark Theme Surfaces */
    --bg-base: #09090b;
    --bg-surface: #18181b;
    --bg-surface-elevated: #27272a;
    --bg-glass: rgba(24, 24, 27, 0.7);

    /* Text */
    --text-main: #f4f4f5;
    --text-muted: #a1a1aa;

    /* Utility */
    --border: #3f3f46;
    --border-glass: rgba(255, 255, 255, 0.1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-neon: 0 0 15px rgba(255, 42, 95, 0.3);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    /* Transitions */
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Overrides */
[data-theme="light"] {
    --bg-base: #f4f4f5;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #e4e4e7;
    --bg-glass: rgba(255, 255, 255, 0.8);
    --text-main: #18181b;
    --text-muted: #52525b;
    --border: #d4d4d8;
    --border-glass: rgba(0, 0, 0, 0.1);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary);
}

/* ==========================================================================
   Navbar (Glassmorphism)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-icon {
    -webkit-text-fill-color: initial;
    font-size: 1.8rem;
}

.search-bar {
    flex: 1;
    max-width: 500px;
    margin: 0 24px;
}

.search-container {
    position: relative;
    width: 100%;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px 12px 48px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--text-main);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.search-bar::before {
    content: '🔍';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
    font-size: 0.9rem;
    pointer-events: none;
    z-index: 10;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--shadow-neon);
}

.search-autocomplete {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
    z-index: 1001;
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

.search-autocomplete.active {
    display: block;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.autocomplete-item:hover {
    background: var(--bg-surface-elevated);
}

.autocomplete-item img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.autocomplete-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.autocomplete-cat {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: auto;
}

.btn-submit {
    background: var(--primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-neon);
}

.btn-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    margin-top: 70px;
    padding: 80px 24px 60px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(255, 42, 95, 0.15) 0%, rgba(9, 9, 11, 1) 70%);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Ads Placeholder
   ========================================================================== */
.ad-container {
    background: var(--bg-surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.leaderboard {
    max-width: 728px;
    height: 90px;
    margin: 0 auto 40px;
}

.sidebar-ad {
    width: 100%;
    height: 250px;
    margin-top: 30px;
}

/* ==========================================================================
   Main Layout Grid
   ========================================================================== */
.main-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px 60px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* ==========================================================================
   Sidebar Filters
   ========================================================================== */
.sidebar {
    position: sticky;
    top: 90px;
    height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 10px;
}

/* Scrollbar for sidebar */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: var(--radius-pill);
}

.filter-group {
    margin-bottom: 30px;
}

.filter-group h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-main);
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}

select {
    width: 100%;
    padding: 10px;
    background: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    outline: none;
    cursor: pointer;
}

.checkbox-list label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.checkbox-list label:hover {
    color: var(--text-main);
}

.checkbox-list input[type="checkbox"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* ==========================================================================
   Listings & Cards
   ========================================================================== */
.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.view-toggles button {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 6px 12px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.view-toggles button.active {
    background: var(--bg-surface-elevated);
    color: var(--primary);
    border-color: var(--primary);
}

/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* List View Override */
.grid-container.list-view {
    grid-template-columns: 1fr;
}

.grid-container.list-view .card {
    display: flex;
    align-items: center;
    text-align: left;
}

.grid-container.list-view .card-header {
    margin-bottom: 0;
    margin-right: 20px;
    min-width: 150px;
}

/* Card Component */
.card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.trending-badge {
    position: absolute;
    top: 12px;
    right: -30px;
    background: linear-gradient(45deg, #ff2a5f, #7209b7);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 35px;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(255, 42, 95, 0.3);
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Promoted / Sponsored Card */
.card.promoted {
    border: 2px solid var(--secondary);
    background: linear-gradient(135deg, var(--bg-surface), rgba(0, 229, 255, 0.05));
    animation: sponsoredGlow 3s infinite alternate;
}

.card.promoted::after {
    content: 'Sponsored';
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--secondary);
    text-transform: uppercase;
    background: rgba(0, 229, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

@keyframes sponsoredGlow {
    from { box-shadow: 0 0 10px rgba(0, 229, 255, 0.1); }
    to { box-shadow: 0 0 20px rgba(0, 229, 255, 0.3); }
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-neon);
}

.card:hover::before {
    opacity: 1;
}

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

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--bg-base);
    padding: 4px;
    object-fit: contain;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.card-category {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background: var(--bg-surface-elevated);
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.rating {
    color: #fbbf24;
    /* Star gold */
    font-size: 0.9rem;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.btn-visit {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-neon);
}

.btn-visit:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 42, 95, 0.4);
}

.btn-favorite {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 1.2rem;
}

.btn-favorite:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.1);
}

.btn-favorite.active {
    background: rgba(255, 42, 95, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    animation: heartPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* Favorites Toggle in Sidebar */
.fav-toggle-group {
    background: linear-gradient(135deg, rgba(255, 42, 95, 0.05), rgba(0, 45, 114, 0.05));
    border: 1px solid rgba(255, 42, 95, 0.2);
    padding: 16px;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
}

.fav-toggle-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.95rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-surface-elevated);
    transition: .4s;
    border-radius: 24px;
    border: 1px solid var(--border);
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-muted);
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary);
    border-color: var(--primary);
}

input:checked + .slider:before {
    transform: translateX(20px);
    background-color: white;
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 40px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 40px 24px;
    text-align: center;
    margin-top: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Modal (Submit Form)
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: var(--shadow-glass);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-muted);
}

.close-modal:hover {
    color: var(--primary);
}

.modal-content h2 {
    margin-bottom: 10px;
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
}

.modal-content .btn-submit {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 900px) {
    .main-layout {
        grid-template-columns: 1fr;
        padding-top: 20px;
    }

    /* Sidebar Drawer on Mobile */
    .sidebar {
        position: fixed;
        top: 0;
        left: -320px; /* Hidden by default */
        width: 300px;
        height: 100vh;
        background: var(--bg-surface);
        z-index: 3000;
        padding: 80px 24px 40px;
        box-shadow: 20px 0 50px rgba(0,0,0,0.5);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    .sidebar.active {
        transform: translateX(320px);
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        backdrop-filter: blur(4px);
        z-index: 2999;
    }

    .sidebar-overlay.active {
        display: block;
    }

    .sidebar-close {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--text-muted);
    }

    .search-bar {
        display: none;
    }

    .search-bar.mobile-open {
        display: block;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 12px 16px;
        background: var(--bg-surface);
        border-bottom: 1px solid var(--border);
        z-index: 999;
    }

    .search-bar.mobile-open input {
        border-radius: var(--radius-md);
    }

    .btn-search-mobile {
        display: flex;
    }

    /* Mobile Filter Bar (Chips) */
    .mobile-filter-bar {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }

    .chip-container {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 8px;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }

    .chip-container::-webkit-scrollbar {
        display: none; /* Chrome, Safari and Opera */
    }

    .filter-chip {
        white-space: nowrap;
        padding: 8px 16px;
        background: var(--bg-surface-elevated);
        border: 1px solid var(--border);
        border-radius: var(--radius-pill);
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--text-muted);
        cursor: pointer;
        transition: var(--transition-fast);
    }

    .filter-chip.active {
        background: var(--primary);
        border-color: var(--primary);
        color: white;
        box-shadow: var(--shadow-neon);
    }

    .mobile-ctrl-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .btn-mobile-filter {
        display: flex;
        align-items: center;
        gap: 8px;
        background: var(--bg-surface);
        border: 1px solid var(--border);
        color: var(--text-main);
        padding: 8px 16px;
        border-radius: var(--radius-md);
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
    }
}

/* ==========================================================================
   Mobile Search Toggle Button
   ========================================================================== */
.btn-search-mobile {
    display: none;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: var(--transition-fast);
}

.btn-search-mobile:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ==========================================================================
   Age Gate Overlay
   ========================================================================== */
.age-gate {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    background: rgba(0, 0, 0, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.age-gate.hidden {
    display: none;
}

.age-gate-box {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-glass);
    animation: modalSlideIn 0.4s ease-out;
}

.age-gate-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.age-gate-box h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.age-gate-box p {
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.age-gate-sub strong {
    color: var(--text-main);
}

.age-gate-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 28px 0 20px;
}

.btn-enter {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-neon);
}

.btn-enter:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-leave {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    transition: var(--transition-fast);
}

.btn-leave:hover {
    color: var(--text-main);
    border-color: var(--text-muted);
}

.age-gate-legal {
    font-size: 0.75rem !important;
    color: #71717a !important;
    margin-bottom: 0 !important;
}

/* ==========================================================================
   Footer & Legal Pages
   ========================================================================== */
.site-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 40px 24px;
    margin-top: 60px;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content .disclaimer {
    color: var(--text-muted);
    font-size: 0.85rem;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--secondary);
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Legal Pages Content Layout */
.legal-content {
    max-width: 800px;
    margin: 120px auto 60px;
    padding: 0 24px;
    background: var(--bg-base);
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-content>p:first-of-type {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 0.9rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text-main);
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}

.legal-content p,
.legal-content ul {
    color: #d4d4d8;
    line-height: 1.7;
    margin-bottom: 20px;
}

.legal-content ul {
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 10px;
}

/* ==========================================================================
   Sticky Skyscraper Ads
   ========================================================================== */
.skyscraper {
    position: fixed;
    top: 110px;
    width: 160px;
    height: 600px;
    display: none;
    /* Hidden by default to prevent overlapping */
    z-index: 10;
}

.skyscraper-left {
    left: 20px;
}

.skyscraper-right {
    right: 20px;
}

/* Show both skyscrapers on screens 1550px and wider */
@media (min-width: 1550px) {
    .skyscraper {
        display: block;
    }
}

/* On screens where both ads are visible but space is tight, compress the main layout */
@media (min-width: 1550px) and (max-width: 1759px) {
    .main-layout {
        max-width: 1150px;
        grid-template-columns: 230px 1fr;
        gap: 24px;
    }

    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}