:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --gray-950: #030712;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-300: #d1d5db;
    --gray-100: #f3f4f6;
    --white: #ffffff;
    --orange-600: #ea580c;
    --orange-500: #f97316;
    --orange-400: #fb923c;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --yellow-400: #facc15;
    --shadow-card: 0 10px 26px rgba(15, 23, 42, 0.1);
    --shadow-hover: 0 22px 55px rgba(15, 23, 42, 0.18);
    --radius-xl: 1rem;
    --radius-2xl: 1.25rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--gray-900);
    background: linear-gradient(135deg, #f9fafb 0%, #fff7ed 42%, #fffbeb 100%);
    line-height: 1.6;
}

img,
video,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: var(--white);
    background: linear-gradient(90deg, var(--slate-900), var(--slate-800), var(--slate-900));
    box-shadow: 0 12px 32px rgba(2, 6, 23, 0.35);
}

.header-main {
    max-width: 80rem;
    height: 4rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.brand-icon {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--orange-500);
    border-radius: 0.75rem;
    background: rgba(249, 115, 22, 0.12);
    box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.18);
}

.brand-icon.small {
    width: 2rem;
    height: 2rem;
}

.brand-icon svg {
    width: 1.4rem;
    height: 1.4rem;
    fill: currentColor;
}

.brand-text,
.footer-brand span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong,
.footer-brand strong {
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--orange-400), var(--amber-400));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.brand-text em,
.footer-brand em {
    color: #94a3b8;
    font-size: 0.75rem;
    font-style: normal;
}

.top-search {
    flex: 1;
    max-width: 28rem;
    display: flex;
    align-items: center;
    position: relative;
}

.top-search input,
.mobile-search input {
    width: 100%;
    color: var(--white);
    background: var(--slate-700);
    border: 1px solid var(--slate-600);
    border-radius: 999px;
    outline: none;
    padding: 0.58rem 3rem 0.58rem 1.1rem;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.top-search input::placeholder,
.mobile-search input::placeholder {
    color: #cbd5e1;
}

.top-search input:focus,
.mobile-search input:focus {
    background: #283548;
    border-color: var(--orange-500);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.22);
}

.top-search button {
    position: absolute;
    right: 0.25rem;
    width: 2.35rem;
    height: 2.35rem;
    color: var(--white);
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
    cursor: pointer;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-weight: 600;
}

.nav-link {
    color: #e2e8f0;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--orange-400);
}

.menu-button {
    display: none;
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 1.2rem;
    height: 2px;
    margin: 0.25rem auto;
    background: var(--white);
    border-radius: 999px;
}

.mobile-panel {
    display: none;
    padding: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.mobile-panel.open {
    display: block;
}

.mobile-search {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mobile-search input {
    padding-right: 1rem;
}

.mobile-search button {
    color: var(--white);
    border: 0;
    border-radius: 999px;
    padding: 0 1rem;
    background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
}

.mobile-panel nav {
    display: grid;
    gap: 0.5rem;
}

.mobile-link {
    padding: 0.65rem 0.25rem;
    color: #e2e8f0;
    font-weight: 600;
}

.mobile-link.active,
.mobile-link:hover {
    color: var(--orange-400);
}

.category-strip {
    background: var(--slate-800);
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.category-strip > div {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0.72rem 1rem;
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
}

.category-strip a {
    color: #e2e8f0;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: color 0.2s;
}

.category-strip a:hover {
    color: var(--orange-400);
}

.hero {
    position: relative;
    height: 70vh;
    min-height: 34rem;
    overflow: hidden;
    background: var(--slate-900);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-image {
    position: absolute;
    inset: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.54) 48%, rgba(0, 0, 0, 0.16));
}

.hero-content {
    position: relative;
    max-width: 80rem;
    height: 100%;
    margin: 0 auto;
    padding: 0 1rem 5rem;
    display: flex;
    align-items: flex-end;
}

.hero-copy {
    max-width: 45rem;
    color: var(--white);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--white);
    background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.hero p {
    margin: 0 0 1.4rem;
    color: #e5e7eb;
    font-size: 1.12rem;
    max-width: 42rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-bottom: 1.75rem;
    color: #f8fafc;
    font-weight: 600;
}

.hero-actions,
.section-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
}

.btn-primary,
.btn-secondary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.8rem;
    border-radius: 999px;
    padding: 0.75rem 1.35rem;
    font-weight: 800;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.34);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(249, 115, 22, 0.42);
}

.btn-secondary {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-ghost {
    color: var(--orange-600);
    padding: 0.6rem 0;
}

.btn-ghost:hover {
    color: var(--orange-500);
}

.hero-dots {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    display: flex;
    gap: 0.5rem;
}

.hero-dot {
    width: 0.75rem;
    height: 0.75rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: width 0.25s, background 0.25s;
}

.hero-dot.active {
    width: 2rem;
    background: var(--white);
}

.page-wrap {
    max-width: 80rem;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.page-hero {
    color: var(--white);
    background: linear-gradient(90deg, var(--slate-800), var(--slate-900));
    padding: 4rem 1rem;
}

.page-hero-inner {
    max-width: 80rem;
    margin: 0 auto;
}

.page-hero h1 {
    margin: 0 0 0.8rem;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.08;
}

.page-hero p {
    margin: 0;
    max-width: 50rem;
    color: #cbd5e1;
    font-size: 1.1rem;
}

.section-block {
    margin-bottom: 4rem;
}

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

.section-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.section-title .bar {
    width: 0.35rem;
    height: 2rem;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--orange-500), var(--amber-500));
}

.section-title h2,
.section-title h1 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    line-height: 1.15;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.movie-card {
    display: block;
    overflow: hidden;
    color: var(--gray-900);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s, box-shadow 0.25s;
}

.movie-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card-poster {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #111827;
}

.card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.movie-card:hover .card-poster img {
    transform: scale(1.08);
}

.card-poster::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 52%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent);
}

.duration,
.rank-badge,
.play-dot {
    position: absolute;
    z-index: 2;
}

.duration {
    right: 0.75rem;
    bottom: 0.7rem;
    color: var(--white);
    background: rgba(0, 0, 0, 0.72);
    border-radius: 0.45rem;
    padding: 0.22rem 0.48rem;
    font-size: 0.78rem;
}

.rank-badge {
    left: 0.75rem;
    top: 0.75rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.play-dot {
    left: 50%;
    top: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: rgba(249, 115, 22, 0.92);
    border-radius: 999px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
    transition: opacity 0.25s, transform 0.25s;
}

.movie-card:hover .play-dot {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.card-body {
    padding: 1rem;
}

.card-meta,
.info-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    font-size: 0.85rem;
}

.card-meta span:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 0.22rem;
    height: 0.22rem;
    margin-left: 0.5rem;
    border-radius: 999px;
    background: #cbd5e1;
    vertical-align: middle;
}

.card-body h3 {
    margin: 0.45rem 0 0.45rem;
    font-size: 1.05rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-body p {
    color: var(--gray-600);
    margin: 0;
    min-height: 3rem;
    font-size: 0.94rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-foot {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    color: var(--gray-500);
    font-size: 0.86rem;
}

.rating {
    color: var(--amber-500);
    font-weight: 900;
}

.movie-card-horizontal {
    display: flex;
    min-height: 10rem;
}

.horizontal-poster {
    width: 11.5rem;
    flex: 0 0 11.5rem;
    aspect-ratio: auto;
}

.movie-card-horizontal .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dark-panel {
    color: var(--white);
    background: linear-gradient(90deg, var(--slate-800), var(--slate-900));
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: 0 20px 52px rgba(2, 6, 23, 0.26);
}

.dark-panel .section-title h2 {
    color: var(--white);
}

.dark-panel .movie-card {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    backdrop-filter: blur(12px);
}

.dark-panel .card-body p,
.dark-panel .card-meta,
.dark-panel .card-foot {
    color: #cbd5e1;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.category-card {
    min-height: 12rem;
    color: var(--white);
    border-radius: var(--radius-2xl);
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s, box-shadow 0.25s;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.category-card h2,
.category-card h3 {
    margin: 0 0 0.6rem;
    font-size: 1.45rem;
}

.category-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
}

.category-card .arrow {
    margin-top: 1.5rem;
    font-weight: 900;
}

.color-orange { background: linear-gradient(135deg, #f97316, #ef4444); }
.color-amber { background: linear-gradient(135deg, #f59e0b, #f97316); }
.color-blue { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.color-rose { background: linear-gradient(135deg, #f43f5e, #ec4899); }
.color-emerald { background: linear-gradient(135deg, #10b981, #14b8a6); }
.color-cyan { background: linear-gradient(135deg, #06b6d4, #2563eb); }
.color-violet { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.color-red { background: linear-gradient(135deg, #ef4444, #f97316); }
.color-fuchsia { background: linear-gradient(135deg, #d946ef, #8b5cf6); }
.color-slate { background: linear-gradient(135deg, #475569, #0f172a); }
.color-pink { background: linear-gradient(135deg, #ec4899, #f97316); }
.color-green { background: linear-gradient(135deg, #22c55e, #84cc16); }

.filter-panel {
    display: grid;
    grid-template-columns: minmax(16rem, 1fr) repeat(3, minmax(8rem, 12rem));
    gap: 0.85rem;
    padding: 1rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
}

.filter-panel input,
.filter-panel select,
.search-standalone input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    outline: none;
    padding: 0.72rem 1rem;
    background: var(--white);
    color: var(--gray-800);
}

.filter-panel input:focus,
.filter-panel select:focus,
.search-standalone input:focus {
    border-color: var(--orange-500);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.16);
}

.empty-state {
    display: none;
    text-align: center;
    padding: 4rem 1rem;
    color: var(--gray-500);
}

.empty-state.show {
    display: block;
}

.detail-hero {
    color: var(--white);
    background: radial-gradient(circle at 20% 10%, rgba(249, 115, 22, 0.22), transparent 28%), linear-gradient(135deg, var(--slate-900), #020617);
    padding: 2.5rem 1rem 4rem;
}

.detail-layout {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20rem;
    gap: 2rem;
    align-items: start;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    color: #cbd5e1;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.breadcrumbs a:hover {
    color: var(--orange-400);
}

.player-card {
    overflow: hidden;
    background: #000;
    border-radius: var(--radius-2xl);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.player-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

.player-wrap video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 0;
    color: var(--white);
    background: rgba(0, 0, 0, 0.15);
    cursor: pointer;
    padding: 0;
}

.player-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.66;
}

.player-overlay span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
    box-shadow: 0 16px 42px rgba(249, 115, 22, 0.42);
    transform: translate(-50%, -50%);
    font-size: 2rem;
}

.player-overlay.is-hidden {
    display: none;
}

.detail-copy {
    padding-top: 1.35rem;
}

.detail-copy h1 {
    margin: 0 0 0.8rem;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
}

.detail-copy p {
    color: #d1d5db;
    margin: 0 0 1.2rem;
    font-size: 1.05rem;
}

.detail-tags,
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag,
.detail-tags span,
.tag-list span {
    display: inline-flex;
    color: #9a3412;
    background: #ffedd5;
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-size: 0.84rem;
    font-weight: 700;
}

.side-info {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-2xl);
    padding: 1rem;
    backdrop-filter: blur(12px);
}

.side-info img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 0.9rem;
    margin-bottom: 1rem;
}

.info-list {
    display: grid;
    gap: 0.7rem;
    color: #e2e8f0;
}

.info-row {
    justify-content: space-between;
    color: #e2e8f0;
}

.content-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

.content-card h2 {
    margin: 0 0 1rem;
    font-size: 1.8rem;
}

.content-card p {
    margin: 0 0 1rem;
    color: var(--gray-700);
}

.search-standalone {
    display: flex;
    gap: 0.8rem;
    max-width: 54rem;
    margin-top: 1.5rem;
}

.search-standalone button {
    color: var(--white);
    border: 0;
    border-radius: 999px;
    padding: 0 1.4rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
    cursor: pointer;
}

.site-footer {
    color: #cbd5e1;
    background: linear-gradient(180deg, var(--slate-900), #000000);
    margin-top: 4rem;
}

.footer-grid {
    max-width: 80rem;
    margin: 0 auto;
    padding: 3rem 1rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-grid p {
    color: #94a3b8;
    margin: 1rem 0 0;
    max-width: 30rem;
}

.footer-grid h3 {
    color: var(--white);
    margin: 0 0 1rem;
}

.footer-grid a:not(.footer-brand) {
    display: block;
    color: #cbd5e1;
    margin: 0.45rem 0;
    transition: color 0.2s;
}

.footer-grid a:hover {
    color: var(--orange-400);
}

.footer-bottom {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1.25rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    color: #94a3b8;
    font-size: 0.9rem;
}

@media (max-width: 1080px) {
    .grid-4,
    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .side-info {
        max-width: 28rem;
    }
}

@media (max-width: 820px) {
    .top-search,
    .desktop-nav,
    .category-strip {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .hero {
        height: 34rem;
        min-height: 34rem;
    }

    .hero-content {
        padding-bottom: 4rem;
    }

    .hero-dots {
        left: 1rem;
        right: auto;
    }

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

    .movie-card-horizontal {
        display: block;
    }

    .horizontal-poster {
        width: auto;
        aspect-ratio: 16 / 10;
    }

    .filter-panel {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .header-main {
        height: 3.8rem;
    }

    .brand-text strong {
        font-size: 1rem;
    }

    .brand-text em {
        display: none;
    }

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

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

    .grid-4,
    .grid-3,
    .grid-2,
    .category-grid {
        grid-template-columns: 1fr;
    }

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

    .dark-panel,
    .content-card {
        padding: 1.25rem;
    }

    .player-overlay span {
        width: 4rem;
        height: 4rem;
        font-size: 1.55rem;
    }

    .search-standalone {
        flex-direction: column;
    }

    .search-standalone button {
        min-height: 2.8rem;
    }

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