:root {
    --sky: #0ea5e9;
    --sky-dark: #0284c7;
    --cyan: #06b6d4;
    --blue: #3b82f6;
    --amber: #f59e0b;
    --rose: #f43f5e;
    --text: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: #f8fafc;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 32%, #ffffff 100%);
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.header-inner {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    white-space: nowrap;
    background: linear-gradient(90deg, var(--sky), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--sky), var(--cyan));
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.26);
    font-size: 14px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: #374151;
    font-weight: 650;
}

.desktop-nav a:hover,
.mobile-panel a:hover {
    color: var(--sky);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.header-search input,
.mobile-panel input,
.big-search input,
.filter-search input,
.filter-selects select {
    border: 1px solid #cbd5e1;
    outline: none;
    background: #ffffff;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-panel input:focus,
.big-search input:focus,
.filter-search input:focus,
.filter-selects select:focus {
    border-color: var(--sky);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}

.header-search input {
    width: 238px;
    border-radius: 999px;
    padding: 10px 16px;
}

.header-search button,
.mobile-panel button,
.big-search button {
    border: none;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--sky), var(--cyan));
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 700;
}

.mobile-menu-button {
    display: none;
    border: none;
    color: #334155;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}

.mobile-panel {
    display: none;
    padding: 14px 16px 18px;
    border-top: 1px solid var(--line);
    background: #ffffff;
}

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

.mobile-panel nav {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
    font-weight: 700;
}

.mobile-panel form {
    display: flex;
    gap: 8px;
}

.mobile-panel input {
    flex: 1;
    border-radius: 999px;
    padding: 10px 14px;
}

.hero {
    min-height: 600px;
    overflow: hidden;
    color: #ffffff;
    background:
        var(--hero-pattern),
        radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.32), transparent 24%),
        radial-gradient(circle at 15% 82%, rgba(14, 165, 233, 0.46), transparent 28%),
        linear-gradient(115deg, #38bdf8 0%, #22d3ee 46%, #60a5fa 100%);
    background-size: auto, auto, auto, auto;
}

.hero-grid {
    min-height: 600px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
    align-items: center;
    gap: 42px;
    padding: 54px 0;
}

.hero-label,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.hero-label {
    padding: 7px 16px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.hero h1 {
    margin: 0 0 22px;
    font-size: clamp(44px, 7vw, 76px);
    line-height: 1.03;
    letter-spacing: -0.055em;
}

.hero h1 span {
    color: #e0f2fe;
}

.hero-copy p {
    max-width: 720px;
    margin: 0 0 28px;
    font-size: clamp(18px, 2.2vw, 24px);
    color: #f0f9ff;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary,
.button-light {
    color: var(--sky);
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(8, 47, 73, 0.16);
}

.button-ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero-stats span {
    padding: 10px 14px;
    border-radius: 16px;
    color: #eff6ff;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

.hero-stats strong {
    font-size: 20px;
}

.hero-slider {
    position: relative;
    min-height: 430px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 22px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateX(28px) scale(0.98);
    transition: opacity 0.55s ease, transform 0.55s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.hero-poster {
    min-height: 275px;
}

.hero-info h2 {
    margin: 10px 0 12px;
    font-size: 28px;
    line-height: 1.18;
}

.hero-info p {
    color: #eef6ff;
    margin: 0 0 18px;
}

.hero-kicker {
    color: #e0f2fe;
    font-size: 14px;
    font-weight: 800;
}

.hero-dots {
    position: absolute;
    left: 26px;
    bottom: 22px;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    cursor: pointer;
}

.hero-dot.active {
    width: 28px;
    background: #ffffff;
}

.section {
    padding: 62px 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.section-head.simple {
    align-items: start;
}

.section-head.centered {
    justify-content: center;
    text-align: center;
}

.section-kicker {
    color: var(--sky);
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
}

.section-head h2,
.prose-card h2,
.table-card h2,
.sidebar-card h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
}

.section-head a {
    color: var(--sky);
    font-weight: 800;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.poster {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.45), transparent 22%),
        linear-gradient(135deg, #0ea5e9, #22d3ee 48%, #60a5fa);
}

.poster.cover-missing::after {
    content: "封面待放入";
    position: absolute;
    inset: auto 12px 12px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.36);
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.04em;
}

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

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

.play-dot {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--sky);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    font-size: 13px;
}

.play-dot.large {
    width: 50px;
    height: 50px;
    font-size: 18px;
}

.rank-badge {
    position: absolute;
    left: 10px;
    top: 10px;
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.28);
}

.card-body {
    padding: 16px;
}

.meta-line,
.tag-row,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.meta-line {
    margin-bottom: 9px;
    color: #64748b;
    font-size: 13px;
}

.meta-line a {
    color: var(--sky);
    font-weight: 800;
}

.movie-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.32;
}

.movie-card h3 a:hover {
    color: var(--sky);
}

.movie-card p {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 12px;
    overflow: hidden;
    color: #64748b;
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tag-row span,
.detail-meta span,
.detail-meta a {
    padding: 5px 9px;
    border-radius: 999px;
    color: #0369a1;
    background: #e0f2fe;
    font-size: 12px;
    font-weight: 750;
}

.list-stack {
    display: grid;
    gap: 16px;
}

.list-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: stretch;
}

.poster-wide {
    aspect-ratio: 16 / 10;
    height: 100%;
}

.warm-section {
    background: linear-gradient(90deg, #fff7ed, #fffbeb);
}

.two-column-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
}

.ranking-panel,
.sidebar-card,
.table-card,
.prose-card,
.filter-panel,
.detail-card {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.ranking-panel {
    padding: 24px;
    align-self: start;
}

.ranking-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ranking-list a {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    background: #f8fafc;
}

.ranking-list a:hover {
    color: var(--sky);
    background: #e0f2fe;
}

.ranking-list span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    font-weight: 900;
}

.ranking-list strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ranking-list em {
    color: #64748b;
    font-style: normal;
    font-size: 12px;
}

.category-section {
    background: linear-gradient(135deg, #f0f9ff, #ecfeff, #eff6ff);
}

.category-grid,
.category-overview-grid {
    display: grid;
    gap: 18px;
}

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

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

.category-card,
.category-overview-card {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 8px;
    min-height: 150px;
    padding: 22px;
    border-radius: 24px;
    color: #ffffff;
    box-shadow: var(--shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover,
.category-overview-card:hover {
    transform: translateY(-5px) scale(1.01);
}

.category-card span,
.category-icon {
    font-size: 38px;
}

.category-card strong,
.category-overview-card strong {
    font-size: 22px;
}

.category-card em,
.category-overview-card em,
.category-overview-card small {
    color: rgba(255, 255, 255, 0.9);
    font-style: normal;
}

.category-overview-card b {
    width: max-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.gradient-red { background: linear-gradient(135deg, #fb7185, #e11d48); }
.gradient-green { background: linear-gradient(135deg, #34d399, #059669); }
.gradient-amber { background: linear-gradient(135deg, #fbbf24, #f97316); }
.gradient-purple { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.gradient-pink { background: linear-gradient(135deg, #f472b6, #db2777); }
.gradient-blue { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.gradient-cyan { background: linear-gradient(135deg, #22d3ee, #0891b2); }
.gradient-orange { background: linear-gradient(135deg, #fb923c, #ea580c); }
.gradient-teal { background: linear-gradient(135deg, #2dd4bf, #0f766e); }
.gradient-indigo { background: linear-gradient(135deg, #818cf8, #4f46e5); }

.page-main {
    min-height: 60vh;
}

.page-hero {
    color: #ffffff;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.28), transparent 24%),
        linear-gradient(115deg, #38bdf8, #22d3ee 45%, #60a5fa);
}

.slim-hero {
    padding: 52px 0;
}

.page-hero h1 {
    margin: 14px 0 10px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.08;
}

.page-hero p {
    max-width: 850px;
    margin: 0;
    color: #eff6ff;
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.category-title-line {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 20px;
}

.category-title-line > span {
    font-size: 50px;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto auto;
    gap: 18px;
    align-items: end;
    margin-bottom: 28px;
    padding: 18px;
}

.filter-search label,
.filter-selects label {
    display: grid;
    gap: 6px;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
}

.filter-search input,
.filter-selects select {
    min-height: 44px;
    border-radius: 14px;
    padding: 9px 12px;
}

.filter-selects {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-count {
    margin: 0;
    color: #64748b;
    font-weight: 800;
}

.table-card {
    padding: 24px;
}

.table-wrap {
    overflow-x: auto;
    margin-top: 18px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 13px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

th {
    color: #334155;
    background: #f8fafc;
    font-size: 14px;
}

td a {
    color: var(--sky-dark);
    font-weight: 800;
}

.big-search {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.big-search input {
    flex: 1;
    border-radius: 999px;
    padding: 14px 18px;
}

.big-search button {
    min-width: 110px;
}

.search-meta {
    margin-bottom: 24px;
    color: #64748b;
    font-weight: 750;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
    align-items: start;
    margin-top: 22px;
}

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #020617;
    box-shadow: var(--shadow);
}

.movie-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.player-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 12px;
    border: none;
    color: #ffffff;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.28), rgba(2, 6, 23, 0.42));
    cursor: pointer;
}

.player-start.hidden {
    display: none;
}

.player-start span {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    border-radius: 999px;
    color: var(--sky);
    background: #ffffff;
    font-size: 28px;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.34);
}

.player-start strong {
    font-size: 18px;
}

.player-message {
    position: absolute;
    left: 16px;
    bottom: 12px;
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
}

.detail-card {
    margin-top: 22px;
    padding: 26px;
}

.detail-card h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
}

.detail-card h2 {
    margin: 28px 0 10px;
    font-size: 22px;
}

.detail-card p {
    margin: 0;
    color: #475569;
    font-size: 17px;
    line-height: 1.9;
}

.share-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0 4px;
}

.share-row button,
.share-row a {
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    color: #0f172a;
    background: #f1f5f9;
    cursor: pointer;
    font-weight: 800;
}

.share-row button:hover,
.share-row a:hover {
    color: var(--sky-dark);
    background: #e0f2fe;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-tags a {
    padding: 8px 12px;
    border-radius: 999px;
    color: #0369a1;
    background: #e0f2fe;
    font-weight: 750;
}

.sidebar-card {
    padding: 22px;
}

.sticky-card {
    position: sticky;
    top: 90px;
}

.related-list {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.related-row {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.poster-mini {
    aspect-ratio: 16 / 10;
    border-radius: 14px;
}

.related-row strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.35;
}

.related-row em {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-style: normal;
    font-size: 12px;
}

.related-row:hover strong {
    color: var(--sky);
}

.prose-card {
    padding: 28px;
}

.prose-card p {
    color: #475569;
    font-size: 17px;
}

.site-footer {
    margin-top: 40px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 28px;
    padding: 44px 0;
}

.site-footer h3 {
    margin: 0 0 12px;
    font-size: 18px;
}

.site-footer p,
.site-footer a,
.site-footer li {
    color: #64748b;
    font-size: 14px;
}

.site-footer ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer a:hover {
    color: var(--sky);
}

.footer-bottom {
    padding: 18px 16px;
    border-top: 1px solid var(--line);
    color: #64748b;
    text-align: center;
    font-size: 14px;
}

.hidden-card {
    display: none !important;
}

@media (max-width: 1100px) {
    .desktop-nav,
    .header-search {
        display: none;
    }

    .mobile-menu-button {
        display: inline-flex;
    }

    .hero-grid,
    .two-column-section,
    .detail-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-slider {
        min-height: 360px;
    }

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

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

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

@media (max-width: 760px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        min-height: auto;
        padding: 40px 0;
    }

    .hero-slide {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
    }

    .hero-info h2 {
        font-size: 20px;
    }

    .hero-info p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .featured-grid,
    .compact-grid,
    .full-grid,
    .card-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .list-card {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .movie-card h3 {
        font-size: 16px;
    }

    .movie-card p {
        min-height: 0;
    }

    .filter-selects,
    .big-search,
    .mobile-panel form {
        flex-direction: column;
    }

    .detail-card,
    .table-card,
    .prose-card,
    .sidebar-card,
    .ranking-panel {
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 19px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .featured-grid,
    .compact-grid,
    .full-grid,
    .card-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        position: relative;
        min-height: 0;
    }

    .hero-slider {
        min-height: auto;
    }

    .hero-slide:not(.active) {
        display: none;
    }

    .hero-dots {
        position: static;
        margin-top: 14px;
    }
}
