/* ========== DESIGN TOKENS ========== */
:root {
    --cream: #FAF7F2;
    --cream-dark: #F0EBE3;
    --ink: #1A1814;
    --muted: #7A756D;
    --accent: #C4704A;
    --accent-dark: #A85A38;
    --gold: #D4A853;
    --surface: #FFFFFF;
    --border: rgba(26, 24, 20, 0.1);
    --font-display: 'Sora', system-ui, sans-serif;
    --font-body: 'Source Serif 4', Georgia, serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    background: var(--cream) !important;
    overflow-x: hidden;
}

/* ========== LANDING WRAPPER ========== */
.landing {
    background: var(--cream);
    font-family: var(--font-display);
    color: var(--ink);
}

/* ========== HERO ========== */
.main-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.main-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(196, 112, 74, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.main-hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero h1 .accent {
    display: block;
    color: var(--accent);
    font-family: var(--font-body);
    font-style: italic;
    font-weight: 600;
}

.main-hero .hero-sub {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--muted);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 2.5rem;
}

/* Search Bar */
.search-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 0.4rem 0.4rem 0.4rem 1.25rem;
    max-width: 520px;
    margin: 0 auto 2.5rem;
    box-shadow: 0 4px 20px rgba(26, 24, 20, 0.06);
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    min-height: 48px;
}

@supports (padding: max(0px)) {
    .search-bar {
        padding-left: max(0.4rem, env(safe-area-inset-left) + 0.4rem);
        padding-right: max(0.4rem, env(safe-area-inset-right) + 0.4rem);
    }
}

.search-bar:hover,
.search-bar:focus-within {
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(26, 24, 20, 0.1);
    transform: translateY(-2px);
}

.search-bar svg {
    color: var(--muted);
    flex-shrink: 0;
    pointer-events: none;
}

.search-bar input {
    flex: 1;
    border: none;
    background: none;
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--ink);
    outline: none;
    cursor: pointer;
    min-width: 0;
}

.search-bar input::placeholder {
    color: var(--muted);
}

.search-bar button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-bar button:active {
    background: var(--accent-dark);
    transform: scale(0.98);
}

.search-bar button:hover {
    background: var(--accent-dark);
}

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ink);
}

.stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

/* ========== SECTIONS ========== */
section {
    padding: 4rem 1.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-eyebrow {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    transition: gap 0.2s;
    touch-action: manipulation;
    user-select: none;
    min-height: 44px;
    padding: 0.5rem 0;
}

.section-link:active {
    opacity: 0.8;
}

.section-link:hover {
    gap: 0.6rem;
}

/* ========== CAROUSEL ========== */
.carousel-section {
    background: var(--cream);
}

.carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.carousel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26, 24, 20, 0.4) 0%, rgba(26, 24, 20, 0.5) 50%, rgba(26, 24, 20, 0.4) 100%);
    pointer-events: none;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-slide::after {
    display: none;
}

.slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: white;
    z-index: 1;
}

.slide-tag {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--accent);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.slide-title {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 600;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.carousel-btn:hover {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
}

.carousel-dots {
    display: flex;
    gap: 0.4rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--accent);
}

/* ========== CUISINE GRID ========== */
.cuisine-section {
    background: var(--cream);
}

.cuisine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.cuisine-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4/3;
    text-decoration: none;
    color: white;
    transition: all 0.25s ease;
    cursor: pointer;
    touch-action: manipulation;
    outline: none;
}

.cuisine-card:active {
    transform: scale(0.97);
}

.cuisine-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.cuisine-card.featured {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.cuisine-card .bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.cuisine-card:hover .bg {
    transform: scale(1.05);
}

.cuisine-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 24, 20, 0.75) 0%, rgba(26, 24, 20, 0.1) 60%);
    transition: background 0.3s;
}

.cuisine-card:hover::after {
    background: linear-gradient(to top, rgba(196, 112, 74, 0.85) 0%, rgba(26, 24, 20, 0.2) 60%);
}

.cuisine-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
    z-index: 1;
}

.cuisine-label {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--gold);
    color: var(--ink);
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    margin-bottom: 0.4rem;
}

.cuisine-name {
    font-size: clamp(0.95rem, 2vw, 1.4rem);
    font-weight: 600;
}

.cuisine-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

/* ========== CARDS (Reviews, Lists, Blog) ========== */
.scroll-section {
    background: var(--surface);
}

.scroll-section.alt {
    background: var(--cream);
}

.scroll-row {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 1.5rem 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.scroll-row::-webkit-scrollbar {
    height: 4px;
    display: none;
}

.scroll-row::-webkit-scrollbar-track {
    background: transparent;
}

.scroll-row::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.card {
    flex: 0 0 280px;
    background: var(--cream);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: all 0.25s ease;
    scroll-snap-align: start;
    scroll-snap-stop: auto;
    touch-action: manipulation;
    min-height: 280px;
}

.scroll-section.alt .card {
    background: var(--surface);
}

.card:active {
    transform: translateY(-4px);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(26, 24, 20, 0.1);
}

.card-img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 1rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 0.35rem;
}

.card-score {
    font-weight: 700;
    color: var(--accent);
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== LISTS GRID ========== */
.lists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    padding: 0 1.5rem;
}

/* ========== ADS ========== */
.ad-block {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    background: var(--cream-dark);
    min-height: 100px;
}

.ad-block ins {
    max-width: 100% !important;
    width: 100% !important;
}

/* ========== ABOUT ========== */
.about {
    background: var(--ink);
    color: white;
    padding: 5rem 2rem;
}

.about-inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.about-badge {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 1rem;
    display: inline-block;
}

.about h2 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.about em {
    color: var(--accent);
    font-style: normal;
}

.about-note {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1.5rem;
    font-style: italic;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1.5rem;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    touch-action: manipulation;
    user-select: none;
    padding: 0.5rem 0;
    min-height: 44px;
}

.about-link:active {
    opacity: 0.8;
}

.about-link:hover {
    gap: 0.6rem;
    color: white;
}

/* ========== MODAL ========== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem 0;
}

.modal.active {
    display: flex;
}

.modal-bg {
    position: absolute;
    inset: 0;
    background: rgba(26, 24, 20, 0.6);
    backdrop-filter: blur(4px);
}

.modal-box {
    position: relative;
    width: 100%;
    max-width: 550px;
    max-height: 90vh;
    background: var(--surface);
    border-radius: 20px 20px 0 0;
    padding: 1.75rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 20px 60px rgba(26, 24, 20, 0.2);
}

@supports (padding: max(0px)) {
    .modal-box {
        padding-left: max(1.75rem, env(safe-area-inset-left) + 1.75rem);
        padding-right: max(1.75rem, env(safe-area-inset-right) + 1.75rem);
        padding-bottom: max(1.75rem, env(safe-area-inset-bottom) + 1.75rem);
    }
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.modal-title {
    font-size: 1.35rem;
    font-weight: 700;
    flex: 1;
}

.modal-close {
    width: 36px;
    height: 36px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--cream);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    flex-shrink: 0;
    touch-action: manipulation;
}

.modal-close:active {
    background: var(--accent);
    color: white;
    transform: scale(0.95);
}

.modal-close:hover {
    background: var(--ink);
    color: white;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.input-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.input-field {
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--cream);
    font-family: var(--font-display);
    font-size: 0.95rem;
    transition: border-color 0.15s;
    min-height: 44px;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 10px;
}

.input-field:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
}

.filter-group {
    margin-bottom: 1.25rem;
}

.filter-title {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.chip {
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--cream);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s;
    min-height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.chip:active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: scale(0.95);
}

.chip:hover {
    border-color: var(--accent);
}

.chip.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn-secondary {
    flex: 1;
    padding: 0.85rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: none;
    font-family: var(--font-display);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.15s;
    min-height: 44px;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.btn-secondary:active {
    background: var(--cream);
    border-color: var(--muted);
}

.btn-secondary:hover {
    border-color: var(--ink);
}

.btn-primary {
    flex: 2;
    padding: 0.85rem;
    border: none;
    border-radius: 10px;
    background: var(--accent);
    color: white;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    min-height: 44px;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.btn-primary:active {
    background: var(--accent-dark);
    transform: scale(0.98);
}

.btn-primary:hover {
    background: var(--accent-dark);
}

/* ========== RESPONSIVE ========== */

/* Tablet & Medium Screens (768px - 1200px) */
@media (max-width: 1200px) {
    section {
        padding: 3rem 1.25rem;
    }

    .lists-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .cuisine-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .cuisine-card.featured {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 16/9;
    }
}

/* Mobile - Medium (600px - 768px) */
@media (max-width: 768px) {
    section {
        padding: 2.5rem 1rem;
    }

    .main-hero {
        min-height: auto;
        padding: 2rem 1rem;
    }

    .main-hero h1 {
        font-size: clamp(2rem, 6vw, 2.75rem);
        margin-bottom: 1rem;
    }

    .main-hero .hero-sub {
        font-size: clamp(0.9rem, 2vw, 1rem);
        margin-bottom: 1.75rem;
    }

    .hero-badge {
        font-size: 0.6rem;
        margin-bottom: 1rem;
    }

    .search-bar {
        max-width: 100%;
        padding: 0.35rem 0.35rem 0.35rem 1rem;
    }

    .search-bar input {
        font-size: 0.9rem;
    }

    .search-bar button {
        padding: 0.55rem 1rem;
        font-size: 0.75rem;
    }

    .stats {
        gap: 1.25rem;
        padding: 0 0.5rem;
    }

    .stat-num {
        font-size: 1.35rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .section-title {
        font-size: clamp(1.25rem, 3vw, 1.75rem);
    }

    .carousel-slide img {
        aspect-ratio: 16/10;
    }

    .cuisine-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .cuisine-card {
        aspect-ratio: 1;
        border-radius: 10px;
    }

    .cuisine-card.featured {
        aspect-ratio: 16/9;
        grid-column: span 1;
    }

    .cuisine-name {
        font-size: clamp(0.85rem, 1.5vw, 1.1rem);
    }

    .card {
        flex: 0 0 calc(50vw - 0.75rem);
        max-width: 200px;
    }

    .scroll-row {
        padding: 0.5rem 0.75rem 1rem;
        gap: 0.75rem;
    }

    .lists-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .modal-box {
        border-radius: 16px 16px 0 0;
        padding: 1.25rem 1rem;
    }

    .input-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .modal-actions {
        flex-direction: column-reverse;
        gap: 0.6rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem;
        font-size: 0.85rem;
        flex: 1 !important;
    }

    .about {
        padding: 3rem 1rem;
    }

    .about h2 {
        font-size: clamp(1.75rem, 4vw, 2.25rem);
        margin-bottom: 1rem;
    }

    .about p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Mobile - Small (480px - 600px) */
@media (max-width: 600px) {
    section {
        padding: 2rem 0.75rem;
    }

    .main-hero {
        min-height: auto;
        padding: 1.5rem 0.75rem;
    }

    .main-hero::before {
        background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(196, 112, 74, 0.08) 0%, transparent 70%);
    }

    .hero-badge {
        font-size: 0.55rem;
        margin-bottom: 0.75rem;
    }

    .main-hero h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
        line-height: 1.2;
    }

    .main-hero .hero-sub {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }

    .search-bar {
        padding: 0.3rem 0.3rem 0.3rem 0.85rem;
        max-width: 100%;
        gap: 0.35rem;
    }

    .search-bar svg {
        width: 18px;
        height: 18px;
    }

    .search-bar input {
        font-size: 0.8rem;
        min-width: 0;
    }

    .search-bar input::placeholder {
        font-size: 0.75rem;
    }

    .search-bar button {
        padding: 0.5rem 0.75rem;
        font-size: 0.7rem;
    }

    .stats {
        gap: 1rem;
        padding: 0;
    }

    .stat {
        flex: 0 0 calc(33.333% - 0.7rem);
    }

    .stat-num {
        font-size: 1.1rem;
    }

    .stat-label {
        font-size: 0.55rem;
    }

    .section-header {
        margin-bottom: 1.5rem;
        gap: 0.5rem;
    }

    .section-eyebrow {
        font-size: 0.55rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .section-link {
        font-size: 0.75rem;
    }

    .cuisine-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .cuisine-card {
        border-radius: 8px;
    }

    .cuisine-card.featured {
        aspect-ratio: 16/9;
    }

    .cuisine-name {
        font-size: 0.9rem;
    }

    .cuisine-desc {
        font-size: 0.75rem;
    }

    .cuisine-label {
        font-size: 0.5rem;
        padding: 0.2rem 0.4rem;
        margin-bottom: 0.25rem;
    }

    .cuisine-info {
        padding: 1rem;
    }

    .card {
        flex: 0 0 calc(50vw - 0.5rem);
        border-radius: 10px;
    }

    .card-img {
        aspect-ratio: 3/2;
    }

    .card-body {
        padding: 0.75rem;
    }

    .card-meta {
        font-size: 0.7rem;
        margin-bottom: 0.25rem;
    }

    .card-title {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
    }

    .card-desc {
        font-size: 0.75rem;
        -webkit-line-clamp: 1;
    }

    .scroll-row {
        padding: 0.5rem 0.5rem 1rem;
        gap: 0.6rem;
    }

    .lists-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0;
    }

    .ad-block {
        padding: 1rem 0.5rem;
    }

    .ad-block ins {
        max-width: 100% !important;
    }

    .modal-box {
        border-radius: 12px 12px 0 0;
        padding: 1rem 0.75rem;
        max-height: 85vh;
    }

    .modal-head {
        margin-bottom: 1rem;
    }

    .modal-title {
        font-size: 1.15rem;
    }

    .modal-close {
        width: 32px;
        height: 32px;
    }

    .input-group {
        gap: 0.25rem;
    }

    .input-label {
        font-size: 0.65rem;
    }

    .input-field {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    .filter-group {
        margin-bottom: 1rem;
    }

    .filter-title {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }

    .filter-chips {
        gap: 0.3rem;
    }

    .chip {
        padding: 0.35rem 0.75rem;
        font-size: 0.75rem;
        border-radius: 20px;
    }

    .modal-actions {
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .about {
        padding: 2rem 0.75rem;
    }

    .about-badge {
        font-size: 0.55rem;
        margin-bottom: 0.75rem;
    }

    .about h2 {
        font-size: 1.5rem;
        margin-bottom: 0.85rem;
    }

    .about p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.75rem;
    }

    .about-note {
        font-size: 0.8rem;
        margin-top: 0.75rem;
    }

    .about-link {
        font-size: 0.8rem;
        margin-top: 0.75rem;
    }
}

/* Mobile - Extra Small (< 480px) */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    section {
        padding: 1.5rem 0.5rem;
    }

    .main-hero {
        padding: 1.25rem 0.5rem;
    }

    .hero-badge {
        font-size: 0.5rem;
        letter-spacing: 0.1em;
    }

    .main-hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }

    .main-hero .hero-sub {
        font-size: 0.8rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }

    .search-bar {
        padding: 0.25rem 0.25rem 0.25rem 0.75rem;
        gap: 0.25rem;
        margin: 0 auto 1.75rem;
    }

    .search-bar svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    .search-bar input {
        font-size: 0.75rem;
    }

    .search-bar button {
        padding: 0.45rem 0.6rem;
        font-size: 0.65rem;
    }

    .stats {
        gap: 0.75rem;
        flex-direction: column;
    }

    .stat {
        flex: 1;
    }

    .stat-num {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.5rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 1.25rem;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .section-link {
        font-size: 0.7rem;
    }

    .cuisine-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .card {
        flex: 0 0 calc(50vw - 0.3rem);
    }

    .lists-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .modal-box {
        padding: 0.85rem 0.5rem;
    }

    .modal-title {
        font-size: 1rem;
    }

    .input-field {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
    }

    .chip {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }

    .about {
        padding: 1.5rem 0.5rem;
    }

    .about h2 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }

    .about p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* Landscape Mode Optimizations */
@media (max-height: 600px) and (orientation: landscape) {
    .main-hero {
        min-height: auto;
        padding: 1rem;
    }

    .main-hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .main-hero .hero-sub {
        font-size: 0.8rem;
        margin-bottom: 1rem;
        max-width: 100%;
    }

    .search-bar {
        margin-bottom: 1rem;
    }

    .stats {
        gap: 1rem;
        padding: 0.5rem 0;
    }

    section {
        padding: 2rem 1.5rem;
    }

    .modal-box {
        max-height: 85vh;
    }
}

/* Large Screens (1920px+) */
@media (min-width: 1920px) {
    section {
        padding: 5rem 3rem;
        max-width: 1600px;
        margin: 0 auto;
    }

    .main-hero {
        padding: 3rem;
    }

    .cuisine-grid {
        gap: 1.5rem;
    }

    .card {
        flex: 0 0 320px;
    }

    .lists-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}