@media (max-width: 767px) {
    .restaurant-title-row {
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        min-width: 0;
    }
    .restaurant-title {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block;
        min-width: 0;
        max-width: 100%;
    }
    .restaurant-badge {
        flex-shrink: 0;
        margin-left: 8px;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

:root {
    --bg-primary: #0b0b0b;
    --text-primary: #ffffff;
    --text-secondary: #bdbdbd;
    --accent: #00ff66;
    --border: rgba(0, 255, 102, 0.35);
    --tap: 44px;
    --leaderboard-header-h: 56px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

main {
    flex: 1;
    padding: 24px 20px;
}

.home-page .site-header {
    position: sticky;
}

/* ========================================
   SITE HEADER (Mobile-First)
   ======================================== */

.site-header {
    background-color: rgba(11, 11, 11, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding-top: env(safe-area-inset-top);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    gap: 16px;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.brand-link:hover .bar-3 {
    height: 1em;
}

.brand-link:hover .logo-index {
    color: #00e65c;
}

/* Brand Logo (Text-Based with Signal Bars) */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
}

.bar {
    width: 3px;
    background-color: var(--text-primary);
    border-radius: 1.5px;
    transition: all 0.3s ease;
}

.bar-1 {
    height: 0.5em;
    background-color: var(--text-primary);
}

.bar-2 {
    height: 0.7em;
    background-color: var(--text-primary);
}

.bar-3 {
    height: 0.9em;
    background-color: var(--accent);
}

.logo-text {
    display: flex;
    align-items: baseline;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-food {
    color: var(--text-primary);
}

.logo-index {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: flex-end;
}

/* Location Selector */
.location-selector {
    position: relative;
}

.location-btn {
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(50, 50, 50, 0.6);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    min-height: var(--tap);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.location-icon {
    font-size: 14px;
}

.location-label {
    font-size: 13px;
}

.location-arrow {
    font-size: 8px;
    color: var(--text-secondary);
    transition: transform 0.25s ease;
}

.location-btn:hover {
    border-color: rgba(80, 80, 80, 0.8);
    background-color: rgba(35, 35, 35, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.location-btn:hover .location-arrow {
    transform: translateY(1px);
}

.location-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.location-btn:focus {
    outline: 2px solid rgba(0, 255, 102, 0.4);
    outline-offset: 2px;
}

.location-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background-color: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(60, 60, 60, 0.6);
    min-width: 100%;
    display: none;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.location-dropdown.active {
    display: flex;
    animation: slideDown 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.location-option {
    background: none;
    border: none;
    border-bottom: 1px solid rgba(40, 40, 40, 0.5);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    padding: 16px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    font-family: inherit;
    min-height: var(--tap);
    position: relative;
}

.location-option:last-child {
    border-bottom: none;
}

.location-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.location-option:not(.disabled):hover {
    background-color: rgba(30, 30, 30, 0.8);
    padding-left: 22px;
}

.location-option:not(.disabled):hover::before {
    opacity: 1;
}

.location-option.active {
    background-color: rgba(0, 255, 102, 0.12);
    color: var(--accent);
    padding-left: 22px;
}

.location-option.active::before {
    opacity: 1;
}

.location-option.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.status-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

.status-badge.available {
    background-color: rgba(0, 255, 102, 0.2);
    color: var(--accent);
    box-shadow: 0 0 8px rgba(0, 255, 102, 0.15);
}

.status-badge.coming-soon {
    background-color: rgba(100, 100, 100, 0.2);
    color: #888;
}

/* Primary CTA Button */
.btn-explore {
    background-color: var(--accent);
    color: var(--bg-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: var(--tap);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-explore:hover {
    background-color: #00e65c;
}

.btn-explore:active {
    background-color: #00cc52;
}

/* Back Button (Restaurant Page) */
.btn-back {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: var(--tap);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-back:hover {
    border-color: #3a3a3a;
    background-color: rgba(26, 26, 26, 1);
}

/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 20px 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.header-nav::-webkit-scrollbar {
    display: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 10px 16px;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-height: var(--tap);
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:active {
    color: var(--accent);
}

/* ========================================
   HOME PAGE: MINIMAL HEADER
   ======================================== */

.home-header {
    background-color: rgba(11, 11, 11, 0.96);
    backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(40, 40, 40, 0.6);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.home-header .header-container {
    max-width: 1400px;
    margin: 0 auto;
}

.home-header .brand-link:hover .logo-index {
    color: #00ff6e;
    text-shadow: 0 0 12px rgba(0, 255, 102, 0.4);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-width: var(--tap);
    min-height: var(--tap);
    transition: all 0.2s ease;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover .hamburger-line {
    background-color: var(--accent);
}

/* Hamburger animation when active */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation */
.header-nav-inline {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background-color: rgba(11, 11, 11, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    display: none;
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    z-index: 90;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.header-nav-inline.active {
    display: flex;
    max-height: 400px;
}

.header-nav-inline .nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 14px 16px;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-bottom: 1px solid rgba(26, 26, 26, 0.5);
}

.header-nav-inline .nav-link:last-child {
    border-bottom: none;
}

.header-nav-inline .nav-link:hover {
    color: var(--text-primary);
    background-color: rgba(26, 26, 26, 0.5);
}

.header-nav-inline .nav-link:active {
    color: var(--accent);
    background-color: rgba(0, 255, 102, 0.1);
}

/* Desktop: Hide hamburger, show inline nav */
@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .header-nav-inline {
        position: static;
        display: flex;
        flex-direction: row;
        padding: 0;
        gap: 0;
        background: none;
        border: none;
        max-height: none;
        overflow: visible;
    }
    
    .header-nav-inline .nav-link {
        font-size: 13px;
        padding: 10px 12px;
        border-bottom: none;
    }
    
    .header-nav-inline .nav-link:hover {
        background: none;
    }
}

/* ========================================
   HOME PAGE: IMMERSIVE HERO
   ======================================== */

.hero-immersive {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 20px 80px;
    position: relative;
    overflow: hidden;
    background-color: #0b0b0b;
}

/* Background Image Layer with Blur */
.hero-immersive::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background-image: url('/static/Pictures/main_pic.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(4px) brightness(0.65);
    opacity: 0.85;
    z-index: 0;
    pointer-events: none;
}

/* Dark Gradient Overlay with Texture */
.hero-immersive::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 40%, rgba(0, 255, 102, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(0, 255, 102, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, rgba(11, 11, 11, 0.65) 0%, rgba(11, 11, 11, 0.72) 50%, rgba(11, 11, 11, 0.78) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Subtle Noise Texture for Premium Feel */
.hero-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hero-headline {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.hero-description {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

.hero-actions {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.7s both;
}

.hero-headline {
    font-size: clamp(34px, 8.5vw, 68px);
    font-weight: 800;
    letter-spacing: -2.5px;
    line-height: 1.08;
    color: var(--text-primary);
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    word-wrap: break-word;
    hyphens: manual;
}

.hero-accent {
    color: var(--accent);
    position: relative;
    display: inline-block;
    text-shadow: 0 0 12px rgba(0, 255, 102, 0.25);
    animation: subtleGlow 3s ease-in-out infinite;
}

@keyframes subtleGlow {
    0%, 100% {
        text-shadow: 0 0 12px rgba(0, 255, 102, 0.25);
    }
    50% {
        text-shadow: 0 0 16px rgba(0, 255, 102, 0.35), 0 0 8px rgba(0, 255, 102, 0.2);
    }
}

/* Accessibility: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .hero-container,
    .hero-headline,
    .hero-description,
    .hero-actions {
        animation: none;
    }
    
    .hero-accent {
        animation: none;
        text-shadow: 0 0 12px rgba(0, 255, 102, 0.25);
    }
    
    .btn-hero-cta::before {
        transition: none;
    }
    
    .btn-hero-cta:hover,
    .hero-location .location-btn:hover {
        transform: none;
    }
    
    .location-dropdown.active {
        animation: none;
    }
}

.hero-description {
    font-size: clamp(15px, 3.2vw, 19px);
    line-height: 1.65;
    color: #b8b8b8;
    margin: 0;
    max-width: 580px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
    margin-top: 8px;
}

/* City Selector - Secondary Action */
.hero-location {
    order: 2;
    width: 100%;
}

.hero-location .location-btn {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(80, 80, 80, 0.4);
    color: #e8e8e8;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-location .location-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.hero-location .location-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 102, 0.6), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.hero-location .location-btn:hover {
    border-color: rgba(120, 120, 120, 0.6);
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.98) 0%, rgba(30, 30, 30, 0.98) 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-location .location-btn:hover::before {
    opacity: 1;
}

.hero-location .location-btn:hover::after {
    transform: scaleX(1);
}

.hero-location .location-btn:active {
    transform: translateY(0);
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-location .location-btn:focus {
    outline: 2px solid rgba(0, 255, 102, 0.4);
    outline-offset: 3px;
}

.location-label {
    font-size: 14px;
    font-weight: 700;
}

.location-arrow {
    font-size: 9px;
    color: #888;
    transition: transform 0.25s ease, color 0.25s ease;
    margin-left: 2px;
}

.hero-location .location-btn:hover .location-arrow {
    color: #aaa;
    transform: translateY(1px);
}

/* Primary CTA Button - Hero Action */
.btn-hero-cta {
    order: 1;
    background: linear-gradient(135deg, #00ff66 0%, #00e65c 100%);
    color: var(--bg-primary);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 20px 48px;
    border: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 6px 24px rgba(0, 255, 102, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.btn-hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.btn-hero-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.btn-hero-cta:hover {
    background: linear-gradient(135deg, #00ff75 0%, #00f562 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(0, 255, 102, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.btn-hero-cta:hover::before {
    left: 100%;
}

.btn-hero-cta:active {
    background: linear-gradient(135deg, #00e65c 0%, #00cc52 100%);
    transform: translateY(-1px) scale(1);
    box-shadow: 
        0 6px 20px rgba(0, 255, 102, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.btn-hero-cta:focus {
    outline: 3px solid rgba(0, 255, 102, 0.5);
    outline-offset: 4px;
}

/* ========================================
   CATEGORIES PAGE
   ======================================== */

.categories-main {
    padding: 0;
}

.categories-main > section {
    border-top: 1px solid rgba(0, 255, 102, 0.35) !important;
    border-bottom: 1px solid rgba(0, 255, 102, 0.35) !important;
}

.categories-section {
    padding: 80px 20px;
    background-color: var(--bg-primary);
    min-height: calc(100vh - 200px);
}

.categories-container {
    max-width: 1200px;
    margin: 0 auto;
}

.categories-intro {
    text-align: center;
    margin-bottom: 48px;
}

.categories-heading {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.categories-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0 0 20px 0;
}

.neon-green {
    color: var(--accent);
}

/* Restaurant Header Specific Styles */
.restaurant-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(11, 11, 11, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(26, 26, 26, 0.5);
    z-index: 20;
}

.restaurant-header .brand-logo {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

.restaurant-header .logo-text {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.restaurant-header .btn-back {
    background: rgba(11, 11, 11, 0.8);
    border-color: rgba(26, 26, 26, 0.8);
}

/* ========================================
   ABOUT PAGE
   ======================================== */

.about-main {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.about-section {
    width: 100%;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-heading {
    font-size: clamp(36px, 7vw, 56px);
    font-weight: 700;
    letter-spacing: -2px;
    color: var(--text-primary);
    margin: 0 0 64px 0;
    text-align: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.about-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-subheading {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--accent);
    margin: 0;
}

.about-text {
    font-size: clamp(16px, 2.5vw, 18px);
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

.about-intro {
    font-size: clamp(18px, 3vw, 22px);
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.about-intro strong {
    color: var(--accent);
    font-weight: 700;
}

.about-tagline {
    font-size: clamp(18px, 3vw, 22px);
    line-height: 1.8;
    color: var(--text-primary);
    text-align: center;
    padding-top: 32px;
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-tagline strong {
    color: var(--accent);
    font-weight: 700;
}

.about-text strong {
    color: var(--accent);
    font-weight: 600;
}

.about-principles {
    margin: 0;
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-principles li.about-text {
    margin: 0;
}

/* Desktop enhancements */
@media (min-width: 768px) {
    .about-main {
        padding: 120px 40px;
    }
    
    .about-heading {
        margin-bottom: 80px;
    }
    
    .about-content {
        gap: 64px;
    }
    
    .about-block {
        gap: 20px;
    }
}

/* ========================================
   LEGAL PAGES (Privacy & Terms)
   ======================================== */

.legal-main {
    min-height: calc(100vh - 120px);
    padding: 80px 20px;
}

.legal-section {
    width: 100%;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-heading {
    font-size: clamp(36px, 7vw, 56px);
    font-weight: 700;
    letter-spacing: -2px;
    color: var(--text-primary);
    margin: 0 0 48px 0;
    text-align: center;
}

.legal-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.legal-intro {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 24px 0;
    text-align: center;
}

.legal-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.legal-subheading {
    font-size: clamp(20px, 3.5vw, 28px);
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--accent);
    margin: 0;
}

.legal-text {
    font-size: clamp(15px, 2.5vw, 17px);
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

.legal-list {
    margin: 12px 0 12px 20px;
    padding: 0;
    list-style-type: disc;
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-list li {
    margin: 8px 0;
    font-size: clamp(15px, 2.5vw, 17px);
}

.legal-link {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.2s ease;
}

.legal-link:hover {
    color: #00e65c;
    text-decoration: underline;
}

/* Desktop enhancements */
@media (min-width: 768px) {
    .legal-main {
        padding: 120px 40px;
    }
    
    .legal-heading {
        margin-bottom: 64px;
    }
    
    .legal-content {
        gap: 56px;
    }
    
    .legal-block {
        gap: 20px;
    }
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-main {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-section {
    background-color: var(--bg-primary);
    padding: 80px 20px;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-heading {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin: 0 0 64px 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 0;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-icon {
    background: rgba(0, 255, 102, 0.1);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.2);
}

.contact-icon svg {
    width: 32px;
    height: 32px;
}

.contact-info-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 0;
}

.contact-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.contact-value:hover {
    color: var(--accent);
}

/* Desktop enhancements */
@media (min-width: 768px) {
    .contact-section {
        padding: 120px 40px;
    }
    
    .contact-heading {
        margin-bottom: 80px;
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 64px;
    }
    
    .contact-icon {
        width: 96px;
        height: 96px;
    }
    
    .contact-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .contact-label {
        font-size: 15px;
    }
    
    .contact-value {
        font-size: 20px;
    }
}

/* ========================================
   SITE FOOTER (Mobile-First)
   ======================================== */

.site-footer {
    background-color: #0a0a0a;
    border-top: 1px solid var(--border);
    padding: 48px 20px 32px;
    margin-top: 64px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.footer-logo .logo-text {
    font-size: 20px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-heading {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 0 0 4px 0;
}

.footer-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-height: var(--tap);
    display: flex;
    align-items: center;
}

.footer-link:hover {
    color: var(--accent);
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.social-link:hover .social-icon {
    color: var(--accent);
}

.footer-cta {
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.btn-footer-cta {
    background-color: var(--accent);
    color: var(--bg-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 32px;
    display: inline-block;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    width: 100%;
}

.btn-footer-cta:hover {
    background-color: #00e65c;
}

.btn-footer-cta:active {
    background-color: #00cc52;
}

.footer-bottom {
    text-align: center;
    padding-top: 16px;
}

.footer-copyright {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

.footer-credit {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.footer-credit:hover {
    color: #00e65c;
    text-decoration: underline;
}

/* Old header styles (to be removed/updated) */
header {
    padding: 24px 20px;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 10;
}

.home-header {
    border-bottom: none;
    padding-bottom: 20px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.logo {
    height: 80px;
    width: auto;
    display: block;
}

.city-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hero-text .subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.neon-green {
    color: var(--accent);
}

.back-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    min-height: var(--tap);
    padding: 10px 12px;
    border-radius: 10px;
    touch-action: manipulation;
}

.leaderboard-header {
    background-color: rgba(11, 11, 11, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    /* iOS safe area */
    padding-top: env(safe-area-inset-top);
    padding-left: 20px;
    padding-right: 20px;
    border-bottom: 1px solid var(--border);
}

/* Keep the header bar compact and aligned */
.leaderboard-header-top {
    height: var(--leaderboard-header-h);
    align-items: center;
}

.leaderboard-header .back-link {
    margin-bottom: 0;
}



.restaurant-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    border: none;
    z-index: 20;
}

.restaurant-header .back-link {
    color: var(--text-primary);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

main {
    padding: 24px 20px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background-color: #111111;
    border: 1px solid var(--border);
    padding: 32px 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}

.category-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a; /* Placeholder color while loading */
    opacity: 0; /* Start invisible for fade-in effect */
    filter: blur(3px);
    z-index: 0;
    transition: opacity 0.3s ease; /* Smooth fade-in */
}

.category-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(11, 11, 11, 0.75) 0%, rgba(11, 11, 11, 0.7) 50%, rgba(11, 11, 11, 0.65) 100%);
    z-index: 1;
}

.category-card span {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.category-card:active {
    background-color: #151515;
    border-color: var(--accent);
}

.category-card:active .category-card-overlay {
    background: linear-gradient(to top, rgba(11, 11, 11, 0.75) 0%, rgba(11, 11, 11, 0.7) 100%);
}

.category-card:active span {
    color: var(--accent);
}

.leaderboard-page {
    position: relative;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg width="1200" height="800" xmlns="http://www.w3.org/2000/svg"><rect fill="%23111111" width="1200" height="800"/><circle cx="200" cy="150" r="100" fill="%231a1a1a" opacity="0.3"/><circle cx="800" cy="400" r="150" fill="%231a1a1a" opacity="0.2"/><circle cx="1000" cy="650" r="120" fill="%231a1a1a" opacity="0.25"/></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

.leaderboard-main {
    position: relative;
    z-index: 1;
    padding-top: 0;
}

.leaderboard {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rank-item {
    background-color: rgba(11, 11, 11, 0.95);
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid #2a2a2a;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.rank-item-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a; /* Placeholder color while loading */
    filter: blur(8px);
    z-index: 0;
    transition: opacity 0.3s ease; /* Smooth fade-in */
}

.rank-item-bg[data-loaded="true"] {
    opacity: 1 !important;
}

.rank-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(11, 11, 11, 0.85) 0%, rgba(11, 11, 11, 0.5) 50%, rgba(11, 11, 11, 0.25) 100%);
    z-index: 1;
}

.rank-item .rank-number,
.rank-item .rank-info {
    position: relative;
    z-index: 2;
}

.rank-item:active {
    background-color: rgba(26, 26, 26, 0.98);
}

.rank-item:active .rank-item-overlay {
    background: linear-gradient(to top, rgba(11, 11, 11, 0.75) 0%, rgba(11, 11, 11, 0.45) 50%, rgba(11, 11, 11, 0.25) 100%);
}

.rank-1 {
    padding: 64px 20px;
    margin-bottom: 0;
    border: 2px solid var(--accent);
    background-color: rgba(11, 11, 11, 0.95);
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.15), 0 0 40px rgba(0, 255, 102, 0.08);
}

.rank-1 .rank-item-bg {
    /* Will be set to opacity: 1 via JavaScript after image loads */
}

.rank-2 {
    border: 1px solid #c0c0c0;
}

.rank-3 {
    border: 1px solid #cd7f32;
}

.rank-4,
.rank-5,
.rank-6,
.rank-7,
.rank-8,
.rank-9,
.rank-10 {
    border: 1px solid #3a3a3a;
}

.rank-1 .rank-number {
    font-size: 120px;
    font-weight: 900;
    line-height: 1;
    color: var(--accent);
    letter-spacing: -4px;
}

.rank-1 .rank-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.rank-1 .rank-name {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.rank-1 .rank-score {
    font-size: 32px;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -1px;
}

.rank-2 .rank-number,
.rank-3 .rank-number {
    font-size: 56px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
}

.rank-2 .rank-name,
.rank-3 .rank-name {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-transform: uppercase;
}

.rank-2 .rank-score,
.rank-3 .rank-score {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-secondary);
    letter-spacing: -0.5px;
}

.rank-4 .rank-number,
.rank-5 .rank-number,
.rank-6 .rank-number,
.rank-7 .rank-number,
.rank-8 .rank-number,
.rank-9 .rank-number,
.rank-10 .rank-number {
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
}

.rank-4 .rank-name,
.rank-5 .rank-name,
.rank-6 .rank-name,
.rank-7 .rank-name,
.rank-8 .rank-name,
.rank-9 .rank-name,
.rank-10 .rank-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.rank-4 .rank-score,
.rank-5 .rank-score,
.rank-6 .rank-score,
.rank-7 .rank-score,
.rank-8 .rank-score,
.rank-9 .rank-score,
.rank-10 .rank-score {
    font-size: 18px;
    font-weight: 900;
    color: var(--text-secondary);
}

.rank-number {
    font-weight: 900;
    min-width: 80px;
    text-align: left;
    flex-shrink: 0;
}

.rank-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    flex: 1;
}

.rank-name {
    font-weight: 700;
}

.rank-score {
    font-weight: 900;
}

.restaurant-main {
    padding: 0;
}

.hero-image {
    width: 100%;
    height: 280px;
    background-color: #0b0b0b;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--hero-bg-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    filter: blur(3px);
    z-index: 0;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(11, 11, 11, 0.65) 0%, rgba(11, 11, 11, 0.7) 50%, rgba(11, 11, 11, 0.75) 100%);
    z-index: 1;
}

.rank-badge-hero {
    position: absolute;
    bottom: 24px;
    left: 20px;
    background-color: var(--accent);
    color: var(--bg-primary);
    font-size: 12px;
    font-weight: 900;
    padding: 10px 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 3;
}

.restaurant-content {
    padding: 32px 20px;
}

.restaurant-name {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 32px;
    text-transform: uppercase;
    line-height: 1.1;
}

.score-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 32px;
    position: relative;
    padding: 24px;
    overflow: hidden;
    border-radius: 0;
    background-size: cover;
    background-position: center;
}

.score-cards::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    opacity: 1;
    filter: blur(3px);
    z-index: 0;
}

.score-cards::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(11, 11, 11, 0.85) 0%, rgba(11, 11, 11, 0.6) 50%, rgba(11, 11, 11, 0.4) 100%);
    z-index: 1;
}

.score-card {
    background-color: #111111;
    border: 1px solid var(--border);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.score-card-primary {
    background-color: rgba(0, 255, 102, 0.1);
    border-color: var(--accent);
}

.score-card-primary .score-value {
    color: var(--accent);
}

.score-value {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.score-label {
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.address {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 400;
}

.content-sections {
    margin-bottom: 40px;
}

.content-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-placeholder {
    background-color: #111111;
    border: 1px solid var(--border);
    padding: 24px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.section-placeholder p {
    margin: 0;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    display: block;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.btn-primary:active {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

.btn-secondary {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border-color: var(--border);
}

.btn-secondary:active {
    background-color: #111111;
    border-color: var(--accent);
    color: var(--accent);
}

.city-switcher {
    position: relative;
}

.city-switcher-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: var(--tap);
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(17, 17, 17, 0.4);
    touch-action: manipulation;
}

.city-label-active {
    color: var(--text-primary);
}

.city-switcher-arrow {
    font-size: 10px;
    color: var(--text-secondary);
    transition: transform 0.2s;
}

.city-switcher-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: #111111;
    border: 1px solid var(--border);
    min-width: 160px;
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.city-switcher-dropdown.active {
    display: flex;
}

.city-option {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 16px 20px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.city-option:not(.disabled):hover {
    background-color: #1a1a1a;
}

.city-option.active {
    background-color: rgba(0, 255, 102, 0.1);
    color: var(--accent);
}

.city-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.coming-soon {
    font-size: 10px;
    color: var(--text-secondary);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leaderboard-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.leaderboard-control-panel {
    background-color: rgba(11, 11, 11, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
}

/* When site-header exists, position control panel below it */
.site-header ~ .leaderboard-control-panel,
.site-header ~ * .leaderboard-control-panel {
    top: 0;
}

/* Category Tabs Container with Arrows */
.category-tabs-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto 20px;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.category-scroll-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    color: var(--accent);
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    transition: all 0.2s ease;
    flex-shrink: 0;
    z-index: 2;
}

.category-scroll-btn:hover {
    background: rgba(0, 255, 102, 0.1);
    border-color: var(--accent);
}

.category-scroll-btn:active {
    background: rgba(0, 255, 102, 0.15);
}

.category-scroll-btn svg {
    width: 20px;
    height: 20px;
}

/* Hide arrows on desktop */
@media (min-width: 768px) {
    .category-scroll-btn {
        display: none;
    }
}

.category-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 0 4px;
    flex: 1;
    scroll-behavior: smooth;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    min-height: var(--tap);
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    touch-action: manipulation;
}

.category-tab:hover {
    border-color: #3a3a3a;
    color: var(--text-primary);
    background-color: rgba(26, 26, 26, 0.5);
}

.category-tab.active {
    border-color: var(--accent);
    color: var(--accent);
    background-color: rgba(0, 255, 102, 0.08);
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.15);
}

.location-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    width: 100%;
    flex-wrap: wrap;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

/* Search Toggle Button (Mobile Only) */
.search-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    min-width: var(--tap);
    min-height: var(--tap);
    padding: 10px;
    transition: all 0.2s ease;
}

.search-toggle-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.search-toggle-btn .search-icon {
    width: 20px;
    height: 20px;
}

/* Hide toggle button on desktop */
@media (min-width: 768px) {
    .search-toggle-btn {
        display: none;
    }
}

.search-input-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    display: none;
    align-items: center;
    background-color: #111111;
    border: 1px solid var(--border);
    width: 100%;
    min-height: 44px;
    z-index: 10;
}

/* Show search input on desktop */
@media (min-width: 768px) {
    .search-input-wrapper {
        position: relative;
        display: flex;
        max-width: 400px;
        width: 100%;
    }
}

/* Expanded state on mobile */
.search-container.expanded .search-input-wrapper {
    display: flex;
}

.search-icon {
    position: absolute;
    left: 12px;
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
    pointer-events: none;
    flex-shrink: 0;
    z-index: 1;
}

.search-input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 40px 12px 40px;
    width: 100%;
    outline: none;
    font-family: inherit;
}

.search-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.search-input:focus {
    color: var(--text-primary);
}

.search-input-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(0, 255, 102, 0.1);
}

.search-clear-btn {
    position: absolute;
    right: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    flex-shrink: 0;
    z-index: 1;
    touch-action: manipulation;
}

.search-clear-btn:hover {
    color: var(--text-primary);
    background-color: rgba(26, 26, 26, 0.5);
}

.search-clear-btn:active {
    color: var(--accent);
    background-color: rgba(0, 255, 102, 0.1);
}

.search-clear-btn svg {
    width: 14px;
    height: 14px;
}

.location-chips {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.location-chips::-webkit-scrollbar {
    display: none;
}

.location-chip {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    min-height: var(--tap);
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    touch-action: manipulation;
}

.location-chip:hover {
    border-color: #3a3a3a;
    color: var(--text-primary);
    background-color: rgba(26, 26, 26, 0.5);
}

.location-chip.active {
    border-color: var(--accent);
    color: var(--accent);
    background-color: rgba(0, 255, 102, 0.08);
}

/* Leaderboard Header Bar */
.leaderboard-header-bar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 auto 24px;
    padding: 0 20px;
    max-width: 1200px;
    width: 100%;
}

.leaderboard-intro {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 16px;
    padding: 0 20px;
}

.leaderboard-intro p {
    margin: 0;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background-color: rgba(26, 26, 26, 0.55);
    color: var(--text-secondary);
    line-height: 1.6;
}

.leaderboard-intro strong {
    color: var(--text-primary);
    font-weight: 700;
}

.leaderboard-faq {
    max-width: 1200px;
    width: 100%;
    margin: 28px auto 0;
    padding: 0 20px 10px;
}

.leaderboard-faq-title {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.leaderboard-faq-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    background-color: rgba(26, 26, 26, 0.55);
    margin-bottom: 12px;
    overflow: hidden;
}

.leaderboard-faq-question {
    list-style: none; /* hide default marker in some browsers */
    cursor: pointer;
    padding: 16px 18px;
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.35;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.leaderboard-faq-question::-webkit-details-marker {
    display: none;
}

.leaderboard-faq-answer {
    padding: 0 18px 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.leaderboard-faq-answer p {
    margin: 0;
}

.leaderboard-faq-item[open] {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(0, 255, 102, 0.08);
}

.leaderboard-faq-question::after {
    content: "＋";
    color: var(--accent);
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 1px;
}

.leaderboard-faq-item[open] > .leaderboard-faq-question::after {
    content: "−";
}

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.heading-icon {
    color: var(--accent);
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    margin-top: 2px;
}

.heading-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.section-heading .section-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    line-height: 1.1;
    margin: 0;
}

.section-heading .section-subtitle {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
}

/* Leaderboard heading tweaks */
.leaderboard-page .section-heading .section-title {
    font-size: 28px; /* slightly smaller, as requested */
    text-transform: none; /* ensure it's not all-caps */
}


.rank-info-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-bottom: 6px;
}

.rank-name-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.rank-info-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.price-and-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
}

.rating-info {
    color: var(--text-secondary);
    font-size: 12px;
}

.rank-score-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.score-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.trending-badge {
    font-size: 16px;
}

.rank-badges {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-badge {
    display: inline-block;
    background-color: rgba(0, 255, 102, 0.15);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border: 1px solid var(--accent);
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.style-badge {
    display: inline-block;
    background: #00ff66 !important;
    color: #000000 !important;
    font-size: 10px;
    font-weight: 900;
    padding: 5px 14px;
    border: 2px solid #00ff66 !important;
    border-radius: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 0 25px rgba(0, 255, 102, 0.8), 0 0 50px rgba(0, 255, 102, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.3) !important;
    text-shadow: none !important;
}

.custom-badge {
    display: inline-block;
    background: #00ff66 !important;
    color: #000000 !important;
    font-size: 10px;
    font-weight: 900;
    padding: 5px 14px;
    border: 2px solid #00ff66 !important;
    border-radius: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 0 25px rgba(0, 255, 102, 0.8), 0 0 50px rgba(0, 255, 102, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.3) !important;
    text-shadow: none !important;
}

.rank-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.restaurant-location {
    font-size: 13px;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.location-icon {
    font-size: 12px;
    flex-shrink: 0;
}

.restaurant-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
    padding: 0;
}

.trend-indicator {
    font-size: 14px;
    font-weight: 900;
    color: var(--text-secondary);
}

.trend-indicator.trending {
    color: var(--accent);
}

.trend-indicator.falling {
    color: #ff4444;
}

.trend-indicator.stable {
    color: var(--text-secondary);
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(11, 11, 11, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background-color: var(--bg-primary);
    border: 1px solid var(--border);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 32px 24px;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.compare-title,
.share-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.share-presets {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.preset-btn {
    flex: 1;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.preset-btn.active {
    border-color: var(--accent);
    background-color: rgba(0, 255, 102, 0.1);
    color: var(--accent);
}

.share-preview-container {
    width: 100%;
    background-color: #111111;
    border: 1px solid var(--border);
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#shareCanvas {
    max-width: 100%;
    height: auto;
    display: block;
}

.share-actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
}

.share-actions .btn {
    flex: 1;
    min-width: 0;
}

.share-caption {
    margin-top: 24px;
    padding: 16px;
    background-color: #111111;
    border: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.share-btn {
    cursor: pointer;
    border: 1px solid var(--border);
    transition: all 0.2s;
    background-color: #111111;
    color: var(--text-primary);
    font-family: inherit;
    outline: none;
}

.share-btn:hover {
    border-color: var(--accent);
    background-color: rgba(0, 255, 102, 0.1);
}

.share-btn:active {
    background-color: rgba(0, 255, 102, 0.15);
}

.share-btn .score-label {
    color: var(--text-primary);
}

/* Mobile-specific compact styles for leaderboard */
@media (max-width: 767px) {
    /* Logo: ensure it scales nicely on small screens */
    .brand-logo {
        gap: 6px;
    }
    
    .logo-bars {
        gap: 2px;
    }
    
    .bar {
        width: 2.5px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .footer-logo .logo-text {
        font-size: 18px;
    }
    
    /* Hero: immersive on mobile */
    .hero-immersive {
        min-height: calc(100vh - 64px);
        padding: 56px 18px 72px;
    }
    
    .hero-immersive::before {
        filter: blur(3px) brightness(0.6);
        opacity: 0.8;
    }
    
    .hero-content {
        gap: 24px;
    }
    
    .hero-headline {
        font-size: clamp(30px, 9.5vw, 44px);
        letter-spacing: -1.8px;
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: clamp(14px, 3.5vw, 17px);
        line-height: 1.6;
        max-width: 100%;
    }
    
    .hero-actions {
        gap: 12px;
        margin-top: 4px;
    }
    
    .btn-hero-cta {
        padding: 18px 40px;
        font-size: 15px;
    }
    
    .hero-location .location-btn {
        padding: 14px 24px;
        font-size: 13px;
        gap: 8px;
    }
    
    .location-label {
        font-size: 13px;
        font-weight: 700;
    }
    
    /* Categories: proper spacing on mobile */
    .categories-section {
        padding: 64px 20px;
    }
    
    .categories-intro {
        margin-bottom: 40px;
    }
    
    /* Performance: lighter blur on phones for smoother scrolling */
    .rank-item-bg,
    .category-card-bg {
        filter: blur(1.5px);
    }

    .rank-item {
        padding: 16px 16px;
        gap: 12px;
    }
    
    .rank-1 {
        /* Premium, not boxy */
        padding: 24px 16px;
    }
    
    .rank-number {
        min-width: 50px;
    }
    
    .rank-1 .rank-number {
        font-size: clamp(56px, 16vw, 72px);
        letter-spacing: -2px;
    }
    
    .rank-1 .rank-info {
        gap: 8px;
    }
    
    .rank-1 .rank-name {
        font-size: clamp(18px, 5.5vw, 22px);
        letter-spacing: -0.3px;
    }
    
    .rank-1 .rank-score {
        font-size: clamp(18px, 5vw, 20px);
        letter-spacing: -0.5px;
    }
    
    .rank-2 .rank-number,
    .rank-3 .rank-number {
        font-size: 40px;
        letter-spacing: -1px;
    }
    
    .rank-2 .rank-name,
    .rank-3 .rank-name {
        font-size: 16px;
        letter-spacing: -0.2px;
    }
    
    .rank-2 .rank-score,
    .rank-3 .rank-score {
        font-size: 18px;
        letter-spacing: -0.3px;
    }
    
    .rank-4 .rank-number,
    .rank-5 .rank-number,
    .rank-6 .rank-number,
    .rank-7 .rank-number,
    .rank-8 .rank-number,
    .rank-9 .rank-number,
    .rank-10 .rank-number {
        font-size: 28px;
        letter-spacing: -0.5px;
    }
    
    .rank-4 .rank-name,
    .rank-5 .rank-name,
    .rank-6 .rank-name,
    .rank-7 .rank-name,
    .rank-8 .rank-name,
    .rank-9 .rank-name,
    .rank-10 .rank-name {
        font-size: 14px;
        letter-spacing: 0.3px;
    }
    
    .rank-4 .rank-score,
    .rank-5 .rank-score,
    .rank-6 .rank-score,
    .rank-7 .rank-score,
    .rank-8 .rank-score,
    .rank-9 .rank-score,
    .rank-10 .rank-score {
        font-size: 14px;
    }
    
    .rank-info {
        gap: 4px;
    }
    
    .rank-info-top {
        gap: 6px;
    }
    
    .rank-info-bottom {
        gap: 6px;
    }
    
    .trending-badge {
        font-size: 14px;
    }
    
    .trend-indicator {
        font-size: 12px;
    }
    
    .leaderboard {
        gap: 8px;
    }
}

@media (min-width: 768px) {
    :root {
        --leaderboard-header-h: 64px;
    }

    body {
        font-size: 18px;
    }
    
    /* New Header Desktop Enhancements */
    .header-container {
        padding: 16px 40px;
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .brand-logo {
        gap: 10px;
    }
    
    .brand-logo .logo-bars {
        gap: 4px;
    }
    
    .brand-logo .bar {
        width: 4px;
    }
    
    .brand-logo .logo-text {
        font-size: 26px;
    }
    
    .footer-logo {
        gap: 10px;
    }
    
    .footer-logo .logo-text {
        font-size: 24px;
    }
    
    .header-actions {
        gap: 20px;
    }
    
    .location-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .btn-explore {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .btn-back {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .header-nav {
        padding: 0 40px 16px;
        max-width: 1400px;
        margin: 0 auto;
        gap: 8px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 12px 20px;
    }
    
    /* Home Header Desktop */
    .home-header .header-container {
        padding: 16px 40px;
    }
    
    
    /* Hero Desktop */
    .hero-immersive {
        min-height: calc(100vh - 80px);
        padding: 96px 40px 120px;
    }
    
    .hero-immersive::before {
        filter: blur(6px) brightness(0.7);
        opacity: 0.9;
    }
    
    .hero-container {
        max-width: 1000px;
    }
    
    .hero-content {
        gap: 36px;
    }
    
    .hero-headline {
        font-size: clamp(48px, 6vw, 68px);
        letter-spacing: -2.8px;
        line-height: 1.05;
    }
    
    .hero-description {
        font-size: clamp(17px, 2vw, 19px);
        line-height: 1.7;
        max-width: 620px;
    }
    
    .hero-actions {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        margin-top: 12px;
    }
    
    .hero-location {
        order: 2;
        width: auto;
        min-width: 200px;
    }
    
    .hero-location .location-btn {
        padding: 16px 32px;
        font-size: 14px;
        gap: 12px;
    }
    
    .hero-location .location-btn:hover {
        transform: translateY(-2px);
    }
    
    .location-dropdown {
        min-width: 240px;
    }
    
    .btn-hero-cta {
        order: 1;
        width: auto;
        padding: 21px 64px;
        font-size: 17px;
    }
    
    .btn-hero-cta:hover {
        transform: translateY(-4px) scale(1.02);
    }
    
    .btn-hero-cta:active {
        transform: translateY(-2px) scale(1);
    }
    
    /* Categories Section Desktop */
    .categories-section {
        padding: 96px 40px;
    }
    
    .categories-intro {
        margin-bottom: 64px;
    }
    
    /* Footer Desktop Enhancements */
    .site-footer {
        padding: 32px 40px 24px;
    }
    
    .footer-container {
        gap: 24px;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    .footer-logo .logo-text {
        font-size: 18px;
    }
    
    .footer-logo .logo-bars {
        height: 24px;
    }
    
    .footer-link {
        font-size: 13px;
    }
    
    .footer-cta {
        padding: 32px 0;
    }
    
    .btn-footer-cta {
        width: auto;
        min-width: 280px;
    }
    
    /* Old header styles (legacy) */
    header {
        padding: 32px 40px;
    }
    
    .home-header {
        padding-bottom: 32px;
    }
    
    .logo {
        height: 96px;
    }
    
    .city-label {
        font-size: 16px;
    }
    
    .leaderboard-control-panel {
        padding: 32px 40px;
    }
    
    .category-tabs-container {
        gap: 12px;
        margin: 0 auto 24px;
        padding: 0 40px;
        max-width: 1400px;
    }
    
    .category-tabs {
        justify-content: center;
        gap: 12px;
        padding: 0 0 4px;
    }
    
    .category-tab {
        font-size: 14px;
        padding: 12px 24px;
    }
    
    .leaderboard-header-bar {
        padding: 0 40px;
        max-width: 1400px;
    }
    
    .location-filters {
        gap: 16px;
        margin-bottom: 32px;
        flex-wrap: nowrap;
    }
    
    .search-container {
        min-width: 280px;
        max-width: 400px;
    }
    
    .search-input-wrapper {
        min-height: 48px;
    }
    
    .search-input {
        font-size: 15px;
        padding: 14px 44px 14px 48px;
    }
    
    .search-icon {
        left: 16px;
        width: 18px;
        height: 18px;
    }
    
    .search-clear-btn {
        right: 10px;
        width: 32px;
        height: 32px;
    }
    
    .search-clear-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .location-chip {
        font-size: 14px;
        padding: 12px 20px;
    }
    
    /* Leaderboard Header Bar - Side by Side on Desktop */
    .leaderboard-header-bar {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 32px;
    }
    
    .section-heading {
        gap: 16px;
        flex: 1;
    }
    
    .heading-icon {
        font-size: 24px;
    }
    
    .section-heading .section-title {
        font-size: 40px;
    }
    
    .section-heading .section-subtitle {
        font-size: 13px;
    }
    
    .search-container {
        flex-shrink: 0;
    }
    
    main {
        padding: 32px 40px;
        max-width: 900px;
        margin: 0 auto;
    }
    
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .category-card {
        padding: 40px 24px;
        min-height: 140px;
    }
    
    .category-card span {
        font-size: 20px;
    }
    
    .leaderboard-main {
        max-width: 900px;
        margin: 0 auto;
    }
    
    .rank-item {
        padding: 28px 24px;
    }
    
    .leaderboard {
        gap: 16px;
    }
    
    .rank-1 {
        padding: 80px 24px;
        margin-bottom: 0;
        box-shadow: 0 0 30px rgba(0, 255, 102, 0.2), 0 0 60px rgba(0, 255, 102, 0.1);
    }
    
    .rank-1 .rank-number {
        font-size: 160px;
    }
    
    .rank-1 .rank-name {
        font-size: 48px;
    }
    
    .rank-1 .rank-score {
        font-size: 40px;
    }
    
    .rank-2 .rank-number,
    .rank-3 .rank-number {
        font-size: 72px;
    }
    
    .rank-2 .rank-name,
    .rank-3 .rank-name {
        font-size: 26px;
    }
    
    .rank-2 .rank-score,
    .rank-3 .rank-score {
        font-size: 28px;
    }
    
    .rank-4 .rank-number,
    .rank-5 .rank-number,
    .rank-6 .rank-number,
    .rank-7 .rank-number,
    .rank-8 .rank-number,
    .rank-9 .rank-number,
    .rank-10 .rank-number {
        font-size: 44px;
    }
    
    .rank-4 .rank-name,
    .rank-5 .rank-name,
    .rank-6 .rank-name,
    .rank-7 .rank-name,
    .rank-8 .rank-name,
    .rank-9 .rank-name,
    .rank-10 .rank-name {
        font-size: 20px;
    }
    
    .rank-4 .rank-score,
    .rank-5 .rank-score,
    .rank-6 .rank-score,
    .rank-7 .rank-score,
    .rank-8 .rank-score,
    .rank-9 .rank-score,
    .rank-10 .rank-score {
        font-size: 20px;
    }
    
    .hero-image {
        height: 400px;
    }
    
    .rank-badge-hero {
        bottom: 32px;
        left: 40px;
        font-size: 14px;
        padding: 12px 20px;
    }
    
    .restaurant-content {
        padding: 48px 40px;
        max-width: 900px;
        margin: 0 auto;
    }
    
    .restaurant-name {
        font-size: 56px;
    }
    
    .score-cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
        margin-bottom: 40px;
    }
    
    @media (max-width: 960px) {
        .score-cards {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
    .score-card {
        padding: 32px 20px;
    }
    
    .score-value {
        font-size: 36px;
    }
    
    .score-label {
        font-size: 11px;
    }
    
    .address {
        font-size: 16px;
        margin-bottom: 48px;
    }
    
    .content-section {
        margin-bottom: 48px;
    }
    
    .section-title {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .section-placeholder {
        padding: 32px;
        font-size: 16px;
    }
    
    .actions {
        flex-direction: row;
        gap: 16px;
    }
    
    .btn {
        padding: 24px;
        font-size: 16px;
    }
    
    .btn-primary {
        flex: 2;
    }
    
    .btn-secondary {
        flex: 1;
    }
    
    /* Override for share actions - make buttons equal size */
    .share-actions .btn {
        flex: 1;
    }
}

.pagination-info {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
    font-weight: 500;
}

.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.pagination-btn {
    background-color: var(--bg-primary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.pagination-number {
    min-width: 48px;
}

.pagination-number.active {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.3);
}

.pagination-number.active:hover {
    background-color: var(--accent);
    color: var(--bg-primary);
}

/* ========================================
   SEO PAGES STYLES
   ======================================== */

.seo-page {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.seo-main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.seo-page-content {
    background-color: rgba(26, 26, 26, 0.5);
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 40px;
}

.seo-header-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.seo-header-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.seo-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 800px;
}

.seo-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.seo-restaurant-list {
    margin-top: 40px;
}

.seo-ranking-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-restaurant-item {
    background-color: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.seo-restaurant-item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(0, 255, 102, 0.1);
}

.seo-rank-badge {
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), #00cc52);
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 8px;
    flex-shrink: 0;
}

.seo-restaurant-info {
    flex: 1;
}

.seo-restaurant-info h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.seo-restaurant-info h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.seo-restaurant-info h3 a:hover {
    color: var(--accent);
}

.seo-restaurant-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.seo-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.seo-rating .rating-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
}

.seo-food-index-score {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.seo-restaurant-details {
    margin-top: 12px;
}

.seo-address, .seo-phone, .seo-signature {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.seo-internal-links {
    margin-top: 50px;
    padding: 30px;
    background-color: rgba(26, 26, 26, 0.5);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.seo-internal-links h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.seo-link-section {
    margin-bottom: 30px;
}

.seo-link-section h3 {
    font-size: 1.125rem;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.seo-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.seo-link-list li {
    margin: 0;
}

.seo-link-list a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
    display: block;
    padding: 8px 0;
}

.seo-link-list a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.seo-content-section {
    margin-top: 50px;
    padding: 30px;
    background-color: rgba(26, 26, 26, 0.3);
    border-radius: 8px;
}

.seo-content-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.seo-content-section p {
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.seo-categories-section {
    margin-top: 40px;
}

.seo-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.seo-category-card {
    background-color: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    transition: all 0.3s ease;
}

.seo-category-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(0, 255, 102, 0.1);
}

.seo-category-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.seo-category-card h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

.seo-category-card h3 a:hover {
    color: var(--accent);
}

.seo-category-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.seo-category-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.seo-category-link:hover {
    opacity: 0.8;
}

.seo-no-results {
    padding: 40px;
    text-align: center;
    color: var(--text-secondary);
}

/* Restaurant Detail Page Styles */
.seo-restaurant-main {
    margin-top: 30px;
}

.seo-restaurant-badge {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.seo-rank, .seo-category {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(0, 255, 102, 0.1);
    border: 1px solid var(--accent);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--accent);
}

.seo-restaurant-scores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.seo-score-card {
    background-color: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
}

.seo-score-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.seo-score-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.seo-score-value.primary {
    color: var(--accent);
}

.seo-score-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

.seo-restaurant-info h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    margin-top: 40px;
}

.seo-restaurant-info h2:first-child {
    margin-top: 0;
}

.seo-restaurant-description, .seo-signature-dish {
    margin-top: 30px;
}

.seo-restaurant-description h2, .seo-signature-dish h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.seo-restaurant-description p {
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.seo-map-link {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    margin-top: 12px;
    transition: opacity 0.3s ease;
}

.seo-map-link:hover {
    opacity: 0.8;
}

.seo-related-restaurants {
    margin-top: 50px;
}

.seo-related-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.seo-related-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.seo-related-list li:last-child {
    border-bottom: none;
}

.seo-related-list a {
    color: var(--accent);
    text-decoration: none;
    font-size: 1rem;
}

.seo-related-list a:hover {
    text-decoration: underline;
}

.seo-related-score {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-left: 12px;
}

@media (max-width: 768px) {
    .seo-main-content {
        padding: 20px 15px;
    }
    .seo-page-content {
        padding: 24px 20px;
    }
    .seo-header-section h1 {
        font-size: 2rem;
    }
    .seo-restaurant-item {
        flex-direction: column;
    }
    .seo-restaurant-scores {
        grid-template-columns: 1fr;
    }
    .seo-link-list {
        grid-template-columns: 1fr;
    }
    .seo-category-grid {
        grid-template-columns: 1fr;
    }
}

/* Social Sharing Buttons */
.social-sharing-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    padding: 15px;
    background-color: rgba(26, 26, 26, 0.5);
    border-radius: 8px;
    flex-wrap: wrap;
}

.share-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-right: 8px;
}

.social-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0;
}

.social-share-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-share-btn.facebook:hover {
    background-color: #1877f2;
    border-color: #1877f2;
    color: white;
}

.social-share-btn.twitter:hover {
    background-color: #1da1f2;
    border-color: #1da1f2;
    color: white;
}

.social-share-btn.linkedin:hover {
    background-color: #0077b5;
    border-color: #0077b5;
    color: white;
}

.social-share-btn.pinterest:hover {
    background-color: #bd081c;
    border-color: #bd081c;
    color: white;
}

.social-share-btn.copy-link:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

@media (max-width: 768px) {
    .social-sharing-buttons {
        justify-content: center;
    }
}

/* Footer Newsletter Section */
.footer-newsletter {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.footer-newsletter .newsletter-signup {
    margin: 0;
    background-color: transparent;
    border: none;
    padding: 0;
}

.footer-newsletter .newsletter-title {
    font-size: 1.25rem;
}

.footer-newsletter .newsletter-description {
    font-size: 0.9rem;
}

/* ========================================
   HERO SECTION FOR CATEGORIES PAGE
   ======================================== */

.hero-section {
    position: relative;
    overflow: hidden;
    background-color: #0b0b0b;
    border-bottom: 1px solid var(--border);
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}

/* Background Image Layer with Blur */
.hero-section::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background-image: url('/static/Pictures/main_pic.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(5px) brightness(0.6);
    opacity: 0.8;
    z-index: 0;
    pointer-events: none;
}

/* Dark Overlay */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(11, 11, 11, 0.7) 0%, rgba(11, 11, 11, 0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta-button {
    background-color: var(--accent);
    color: var(--bg-primary);
    border: none;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #00e65c;
    transform: translateY(-2px);
}

.cta-button:active {
    transform: translateY(0);
}

/* ========================================
   IMPROVED CATEGORY GRID
   ======================================== */

.section-heading {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.categories-container {
    max-width: 1200px;
    margin: 0 auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

@media (max-width: 1240px) {
    .category-grid {
        padding: 0 20px;
    }
}

.category-card-modern {
    background-color: #111111;
    border: 2px solid rgba(0, 255, 102, 0.3);
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    min-height: 300px;
    padding: 24px;
    box-shadow: 0 0 0 rgba(0, 255, 102, 0);
}

.category-card-modern:hover {
    border-color: var(--accent);
    background-color: #151515;
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.4), 0 0 40px rgba(0, 255, 102, 0.2);
}

.category-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    opacity: 0.7;
    filter: blur(1px);
    z-index: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover .category-card-bg {
    opacity: 0.8;
}

.category-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(11, 11, 11, 0.5) 0%, rgba(11, 11, 11, 0.8) 100%);
    z-index: 1;
}

.category-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 12px;
}

.category-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.category-card-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    flex-grow: 1;
}

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

.category-card-cta {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    display: block;
    text-align: center;
    margin-top: auto;
    letter-spacing: 0.5px;
}

/* ========================================
   POPULAR RANKINGS SECTION
   ======================================== */

.popular-rankings-section {
    background-color: rgba(17, 17, 17, 0.5);
    padding: 40px 20px;
    margin-bottom: 40px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.popular-rankings-container {
    max-width: 1200px;
    margin: 0 auto;
}

.popular-rankings-intro {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1rem;
}

.popular-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.popular-links a {
    display: inline-block;
    padding: 8px 16px;
    background-color: #1a1a1a;
    border: 1px solid var(--border);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.popular-links a:hover {
    background-color: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
}

/* ========================================
   METHODOLOGY SECTION
   ======================================== */

.methodology-section {
    padding: 60px 20px;
    margin-bottom: 0;
    background-color: rgba(17, 17, 17, 0.5);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.methodology-container {
    max-width: 1000px;
    margin: 0 auto;
}

.methodology-intro {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.methodology-list {
    list-style: none;
    margin-bottom: 32px;
}

.methodology-list li {
    padding: 16px;
    margin-bottom: 12px;
    background-color: rgba(17, 17, 17, 0.7);
    border-left: 4px solid var(--accent);
    border-radius: 4px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.methodology-list strong {
    color: var(--text-primary);
}

.methodology-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.methodology-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1a1a1a;
    border: 1px solid var(--border);
    color: var(--accent);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.methodology-link:hover {
    background-color: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
    padding: 60px 20px;
    background-color: rgba(11, 11, 11, 0.8);
    border-top: 1px solid var(--border);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background-color: rgba(17, 17, 17, 0.7);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 16px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    user-select: none;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(26, 26, 26, 0.5);
    color: var(--accent);
}

.faq-question::after {
    content: '+';
    margin-left: auto;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--accent);
    transition: all 0.3s ease;
}

.faq-item[open] .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    border-top: 1px solid var(--border);
}

.faq-answer p {
    margin: 0;
}

/* ========================================
   EXPLORE MORE SECTION
   ======================================== */

.explore-more-section {
    padding: 60px 20px;
    margin-bottom: 0;
    text-align: center;
    background-color: rgba(26, 26, 26, 0.4);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.explore-more-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.explore-box {
    max-width: 900px;
    margin: 0 auto;
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.explore-box-link {
    display: block;
    padding: 16px 18px;
    color: #00ff66;
    text-decoration: none;
    font-weight: 700;
    background: transparent;
    border-radius: 8px;
    transition: background 0.15s ease, transform 0.12s ease;
}

.explore-box-link:hover {
    background: #252525;
    transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE - CATEGORIES PAGE
   ======================================== */

@media (max-width: 1024px) {
    .hero-h1 {
        font-size: 2rem;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-heading {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 20px;
    }

    .hero-h1 {
        font-size: 1.75rem;
    }

    .hero-intro {
        font-size: 1rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0;
    }

    .category-card-modern {
        min-height: 180px;
        padding: 18px;
    }

    .category-card-title {
        font-size: 1.15rem;
    }

    .category-card-description {
        font-size: 0.875rem;
    }

    .category-card-cta {
        font-size: 0.85rem;
    }

    .methodology-section,
    .explore-more-section,
    .faq-section {
        padding: 40px 20px;
    }

    .section-heading {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .popular-links {
        flex-direction: column;
    }

    .popular-links a {
        display: block;
        text-align: center;
    }

    .methodology-links {
        flex-direction: column;
    }

    .methodology-link {
        text-align: center;
        width: 100%;
    }

    .explore-box {
        grid-template-columns: 1fr;
    }

    .explore-more-section h2 {
        font-size: 1.5rem;
    }
}

/* FORCE NEON GREEN BADGES - HIGHEST PRIORITY */
.rank-item .custom-badge,
.rank-item .style-badge,
span.custom-badge,
span.style-badge {
    background: #00ff66 !important;
    background-color: #00ff66 !important;
    color: #000000 !important;
    border: 2px solid #00ff66 !important;
    box-shadow: 0 0 25px rgba(0, 255, 102, 0.8), 0 0 50px rgba(0, 255, 102, 0.5) !important;
    text-shadow: none !important;
}
