/* Elite AI Mixes — Public Stylesheet */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a26;
    --bg-card-hover: #222233;
    --text-primary: #f0f0f5;
    --text-secondary: #9898a8;
    --text-muted: #6b6b7b;
    /* 24-karat gold palette */
    --gold: #d4af37;
    --gold-light: #f4e4a6;
    --gold-bright: #ffd56b;
    --gold-dark: #996515;
    --gold-deep: #7a5c10;
    --accent: var(--gold);
    --accent-light: #f0d875;
    --accent-glow: rgba(255, 176, 59, 0.5);
    --amber-glow: rgba(255, 140, 40, 0.35);
    --gold-gradient: linear-gradient(
        145deg,
        #fcf6ba 0%,
        #e8c547 18%,
        #d4af37 40%,
        #b8860b 62%,
        #f4e4a6 82%,
        #c9a227 100%
    );
    --gold-gradient-hover: linear-gradient(
        145deg,
        #fff8d6 0%,
        #f0d060 25%,
        #e0bc3a 50%,
        #c9971a 75%,
        #ffe9a8 100%
    );
    --border: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(212, 175, 55, 0.35);
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-gold: 0 4px 24px var(--accent-glow), 0 0 40px var(--amber-glow);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Space Grotesk', var(--font-sans);
    --container: 1200px;
    --header-h: 170px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    min-height: var(--header-h);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: var(--header-h);
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--text-primary);
}

.logo-img {
    display: block;
    min-height: 150px;
    height: auto;
    width: auto;
    max-width: none;
    object-fit: contain;
}

.logo-img--footer {
    height: 44px;
    max-width: 200px;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
    margin-left: auto;
}

.main-nav a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

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

.header-search {
    display: flex;
    align-items: stretch;
    background: var(--bg-secondary);
    border: 1px solid var(--border-gold);
    border-radius: 999px;
    overflow: hidden;
    max-width: 240px;
    box-shadow: 0 0 16px rgba(255, 140, 40, 0.12);
}

.header-search input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    outline: none;
    min-width: 0;
}

.header-search input:focus {
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.25);
}

.header-search .btn-icon {
    border-radius: 0;
    border: none;
    border-left: 1px solid rgba(255, 220, 120, 0.25);
    padding: 0.5rem 0.85rem;
    min-width: 42px;
    color: #1a1208;
}

.header-search .btn-icon::after {
    display: none;
}

.search-icon {
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #1a1208;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
}

/* Main */
.site-main { flex: 1; }

/* Hero */
.hero {
    padding: 4rem 0 5rem;
    background: radial-gradient(ellipse at 70% 50%, rgba(212, 175, 55, 0.14) 0%, transparent 55%),
                radial-gradient(ellipse at 20% 80%, rgba(255, 140, 40, 0.08) 0%, transparent 50%);
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-light);
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 2rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }

.hero-search {
    display: flex;
    gap: 0.5rem;
    max-width: 480px;
}

.hero-search input {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    outline: none;
}

.hero-search input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 320px;
}

.hero-glow {
    position: absolute;
    width: min(90%, 420px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 200, 80, 0.35) 0%, rgba(212, 175, 55, 0.15) 45%, transparent 70%);
    filter: blur(40px);
    animation: pulse 4s ease-in-out infinite;
}

.hero-image {
    position: relative;
    z-index: 1;
    width: min(100%, 480px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(255, 170, 50, 0.4))
            drop-shadow(0 0 60px rgba(212, 175, 55, 0.25));
    animation: hero-float 6s ease-in-out infinite;
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.06); opacity: 1; } }

/* Buttons — 24-karat gold metallic (all variants) */
.btn,
button.btn,
a.btn,
.site-main button[type="submit"]:not(.nav-toggle),
.site-main input[type="submit"] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.65rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 220, 120, 0.4);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
    color: #1a1208;
    background: var(--gold-gradient);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.35),
        0 0 18px var(--amber-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -2px 0 rgba(120, 80, 10, 0.35);
    overflow: hidden;
}

.btn::after,
.site-main button[type="submit"]:not(.nav-toggle)::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        transparent 0%,
        rgba(255, 255, 255, 0.42) 45%,
        transparent 55%
    );
    opacity: 0.55;
    pointer-events: none;
}

.btn:hover,
button.btn:hover,
a.btn:hover,
.site-main button[type="submit"]:not(.nav-toggle):hover,
.site-main input[type="submit"]:hover {
    transform: translateY(-2px);
    background: var(--gold-gradient-hover);
    color: #1a1208;
    border-color: rgba(255, 230, 140, 0.55);
    box-shadow:
        var(--shadow-gold),
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        inset 0 -2px 0 rgba(120, 80, 10, 0.4);
}

.btn:active,
button.btn:active,
a.btn:active {
    transform: translateY(0);
}

a.btn,
a.btn:hover,
a.btn:visited,
a.btn:focus {
    color: #1a1208;
}

.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }

.btn-icon {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
}

.btn:disabled,
button.btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Sections */
.section { padding: 4rem 0; }
.section--alt { background: var(--bg-secondary); }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.section-header__titles {
    min-width: 0;
}

.section-subtitle {
    margin-top: 0.35rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 42rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
}

.section-link {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a1208;
    background: var(--gold-gradient);
    border: 1px solid rgba(255, 220, 120, 0.35);
    border-radius: var(--radius-sm);
    box-shadow: 0 0 14px var(--amber-glow), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.section-link:hover,
.section-link:visited {
    color: #1a1208;
}

.section-link:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.video-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.video-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--border-gold);
}

.video-card__link { color: inherit; display: block; }

.video-card__thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-secondary);
}

.video-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.video-card:hover .video-card__thumb img { transform: scale(1.05); }

.video-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.2s;
}

.video-card:hover .video-card__play { opacity: 1; }

.video-card__badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: var(--gold-gradient);
    color: #1a1208;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.video-card__body { padding: 1rem; }

.video-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card__channel {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.video-card__category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-light);
    background: rgba(212, 175, 55, 0.15);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* Genre carousel (homepage) */
.genre-section .section-header {
    align-items: flex-start;
}

.genre-carousel {
    position: relative;
    padding: 0 3.25rem;
}

.genre-carousel__track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.25rem 0 0.5rem;
}

.genre-carousel__track::-webkit-scrollbar {
    display: none;
}

.genre-carousel__track .video-card {
    flex: 0 0 260px;
    width: 260px;
    scroll-snap-align: start;
}

.genre-carousel__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-top: -2rem;
    padding: 0;
    color: #1a1208;
    background: var(--gold-gradient);
    border: 1px solid rgba(255, 220, 120, 0.45);
    border-radius: 50%;
    box-shadow: 0 0 18px var(--amber-glow), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.genre-carousel__arrow:hover:not(:disabled) {
    transform: scale(1.06);
    box-shadow: var(--shadow-gold);
}

.genre-carousel__arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.genre-carousel__arrow--prev {
    left: 0;
}

.genre-carousel__arrow--next {
    right: 0;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.category-grid--large {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    color: inherit;
    transition: all 0.2s;
}

.category-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow), 0 0 24px var(--amber-glow);
}

.category-card h2, .category-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.category-card__count {
    font-size: 0.8rem;
    color: var(--accent-light);
    font-weight: 600;
}

/* Page Header */
.page-header {
    padding: 3rem 0 2rem;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.page-header p { color: var(--text-secondary); }

/* Toolbar */
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

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

.toolbar-sort select {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 12px rgba(255, 140, 40, 0.15);
    cursor: pointer;
}

.toolbar-sort select:focus {
    outline: none;
    border-color: var(--gold-bright);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25);
}

/* Video Detail */
.video-detail { padding: 2rem 0 4rem; }

.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--text-secondary); }
.breadcrumb span { margin: 0 0.4rem; }

.video-detail__layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.video-embed {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--radius);
    overflow: hidden;
    background: #000;
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-detail__info h1 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.video-meta__channel { font-weight: 600; color: var(--accent-light); }
.video-meta__date { color: var(--text-muted); }
.video-meta__category {
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-light);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    font-size: 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    color: var(--text-secondary);
}

.tag:hover { border-color: var(--accent); color: var(--accent-light); }

.video-description {
    margin-bottom: 1.5rem;
}

.video-description h2 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.video-description p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    white-space: pre-wrap;
}

.related-videos h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

/* Search */
.search-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin-top: 1rem;
}

.search-form input {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.search-results-count {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Content pages */
.content-page .prose {
    max-width: 720px;
}

.prose h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
}

.prose p, .prose li {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.prose ul { padding-left: 1.5rem; margin-bottom: 1rem; }

/* CTA */
.cta-section {
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
}

.cta-inner {
    text-align: center;
    max-width: 600px;
}

.cta-inner h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.cta-inner p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pagination__link:hover {
    border-color: rgba(255, 220, 120, 0.45);
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.18);
    box-shadow: 0 0 14px var(--amber-glow);
}

.pagination__link--active {
    border-color: rgba(255, 220, 120, 0.5);
    color: #1a1208;
    background: var(--gold-gradient);
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
    box-shadow:
        0 0 18px var(--amber-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* Empty / Error */
.empty-state, .error-page p {
    color: var(--text-muted);
    text-align: center;
    padding: 3rem 0;
}

.error-page {
    text-align: center;
    padding: 5rem 0;
}

.error-page h1 {
    font-family: var(--font-display);
    font-size: 5rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.75rem;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        padding: 2.5rem 0 3rem;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-search {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    .hero-visual {
        display: flex;
        min-height: auto;
        margin: 0 auto;
        padding-top: 0.5rem;
    }

    .hero-glow {
        display: none;
    }

    .hero-image {
        width: min(100%, 300px);
        filter: none;
    }

    .video-detail__layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .genre-carousel__track .video-card {
        flex: 0 0 220px;
        width: 220px;
    }

    .genre-carousel__arrow {
        width: 2.35rem;
        height: 2.35rem;
    }

    .genre-carousel {
        padding: 0 2.75rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-header {
        min-height: auto;
    }

    .header-inner {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        min-height: auto;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 101;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border);
        margin-left: 0;
    }

    .main-nav.open { display: flex; }

    .header-search { display: none; }

    .nav-toggle {
        display: flex;
        align-self: center;
    }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
}
