:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-850: #111827;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --cyan-600: #0891b2;
    --cyan-500: #06b6d4;
    --cyan-400: #22d3ee;
    --blue-700: #1d4ed8;
    --blue-600: #2563eb;
    --white: #ffffff;
    --radius-xl: 24px;
    --radius-lg: 18px;
    --shadow-soft: 0 24px 70px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--slate-900);
    background: linear-gradient(180deg, var(--slate-50), var(--white));
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: linear-gradient(90deg, var(--slate-950), var(--slate-900), #082f49);
    color: var(--white);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 20px 55px rgba(2, 6, 23, 0.36);
}

.nav-shell {
    width: min(1180px, calc(100% - 32px));
    height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 210px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--slate-950);
    font-weight: 900;
    background: linear-gradient(135deg, var(--cyan-400), #60a5fa);
    box-shadow: 0 0 28px rgba(34, 211, 238, 0.42);
}

.brand-text {
    display: grid;
    gap: 2px;
}

.brand-text strong {
    font-size: 21px;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.brand-text small {
    color: var(--cyan-400);
    font-size: 12px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.nav-link {
    color: #cbd5e1;
    font-weight: 650;
    transition: color 0.2s ease;
}

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

.nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.84);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 14px;
    padding: 6px;
}

.nav-search input {
    width: 210px;
    border: 0;
    outline: 0;
    color: var(--white);
    background: transparent;
    padding: 8px 10px;
}

.nav-search input::placeholder {
    color: #94a3b8;
}

.nav-search button {
    border: 0;
    color: var(--white);
    cursor: pointer;
    border-radius: 10px;
    padding: 8px 14px;
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-600));
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 12px;
    cursor: pointer;
    background: rgba(15, 23, 42, 0.76);
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--white);
}

.mobile-nav {
    display: none;
    padding: 0 20px 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    background: var(--slate-900);
}

.mobile-nav.is-open {
    display: grid;
    gap: 10px;
}

.mobile-nav a,
.mobile-nav input {
    width: 100%;
    color: #dbeafe;
    border-radius: 12px;
    padding: 12px 14px;
    background: rgba(30, 41, 59, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.hero-carousel {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    color: var(--white);
    background: var(--slate-950);
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.7s ease, transform 1.1s ease;
    pointer-events: none;
}

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 22%, rgba(34, 211, 238, 0.32), transparent 32%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.72) 48%, rgba(8, 47, 73, 0.28)),
        linear-gradient(0deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.08) 46%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    min-height: 650px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0 110px;
}

.eyebrow,
.section-heading span,
.page-hero span {
    display: inline-flex;
    width: fit-content;
    color: var(--cyan-400);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 14px;
}

.hero-content h1 {
    max-width: 760px;
    margin: 0 0 20px;
    font-size: clamp(40px, 7vw, 78px);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.hero-content p {
    max-width: 680px;
    margin: 0 0 24px;
    color: #cffafe;
    font-size: clamp(17px, 2.2vw, 23px);
}

.hero-tags,
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.tag-list span {
    color: #ecfeff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(8, 145, 178, 0.34);
    border: 1px solid rgba(103, 232, 249, 0.24);
    backdrop-filter: blur(10px);
}

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

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

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

.btn.primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-600));
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.34);
}

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

.hero-controls {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.58);
    border: 1px solid rgba(148, 163, 184, 0.2);
    backdrop-filter: blur(18px);
}

.hero-controls button {
    border: 0;
    cursor: pointer;
}

.hero-controls > button {
    width: 36px;
    height: 36px;
    color: var(--white);
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
    background: rgba(255, 255, 255, 0.12);
}

.hero-dots {
    display: flex;
    gap: 9px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    background: rgba(203, 213, 225, 0.45);
}

.hero-dot.is-active {
    width: 28px;
    background: var(--cyan-400);
}

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

.section-white {
    background: var(--white);
}

.section-soft {
    width: 100%;
    padding-left: max(16px, calc((100% - 1180px) / 2));
    padding-right: max(16px, calc((100% - 1180px) / 2));
    background: linear-gradient(180deg, var(--white), var(--slate-50));
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-heading.align-left {
    margin-left: 0;
    text-align: left;
}

.section-heading h2,
.page-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.section-heading p,
.page-hero p {
    margin: 0;
    color: var(--slate-600);
    font-size: 18px;
}

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

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

.category-tile {
    position: relative;
    min-height: 245px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    color: var(--white);
    background: var(--slate-900);
    box-shadow: var(--shadow-card);
    isolation: isolate;
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.9)), linear-gradient(135deg, rgba(6, 182, 212, 0.52), rgba(37, 99, 235, 0.28));
}

.category-tile:hover img {
    transform: scale(1.08);
}

.tile-glow {
    position: absolute;
    z-index: 2;
    width: 120px;
    height: 120px;
    right: -30px;
    top: -30px;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.35);
    filter: blur(16px);
}

.category-tile div {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.category-tile h2 {
    margin: 0 0 10px;
    font-size: 25px;
}

.category-tile p {
    margin: 0 0 16px;
    color: #dbeafe;
    font-size: 14px;
}

.category-tile strong {
    color: var(--cyan-400);
}

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

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

.mini-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.movie-card {
    min-width: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-card);
    transform: translateY(0);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
}

.card-link {
    display: grid;
    height: 100%;
}

.poster-wrap {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--slate-800);
}

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

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

.poster-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.04), rgba(2, 6, 23, 0.78));
    transition: opacity 0.25s ease;
}

.movie-card:hover .poster-wrap::after {
    opacity: 1;
}

.card-region,
.card-year,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 9px;
}

.card-region {
    top: 10px;
    right: 10px;
    color: var(--white);
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-600));
}

.card-year {
    left: 10px;
    bottom: 10px;
    color: var(--white);
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(12px);
}

.rank-badge {
    left: 10px;
    top: 10px;
    color: var(--slate-950);
    background: linear-gradient(135deg, #fde68a, #f97316);
}

.play-float {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
    border-radius: 50%;
    color: var(--white);
    background: var(--cyan-500);
    box-shadow: 0 18px 40px rgba(8, 145, 178, 0.45);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-body {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.card-body h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.28;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.card-body p {
    min-height: 44px;
    margin: 0;
    color: var(--slate-600);
    font-size: 13px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--slate-500);
    font-size: 12px;
}

.card-meta span:last-child {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.center-action {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 32px;
}

.split-column {
    min-width: 0;
}

.rank-panel {
    padding: 28px;
    border-radius: var(--radius-xl);
    color: var(--white);
    background: linear-gradient(145deg, var(--slate-950), #083344);
    box-shadow: var(--shadow-soft);
}

.rank-panel .section-heading p {
    color: #bfdbfe;
}

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

.compact-card {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    overflow: hidden;
    border-radius: 18px;
    padding: 12px;
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.rank-panel .compact-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.compact-card img {
    width: 128px;
    height: 86px;
    object-fit: cover;
    border-radius: 14px;
}

.compact-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 17px;
}

.compact-card span {
    display: block;
    color: var(--slate-500);
    font-size: 13px;
}

.rank-panel .compact-card span,
.rank-panel .compact-card p {
    color: #bfdbfe;
}

.compact-card p {
    margin: 6px 0 0;
    color: var(--slate-600);
    font-size: 13px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.compact-rank {
    display: inline-flex !important;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    margin-bottom: 7px;
    color: var(--slate-950) !important;
    font-weight: 900;
    border-radius: 50%;
    background: linear-gradient(135deg, #fef3c7, #fb923c);
}

.text-link {
    display: inline-flex;
    margin-top: 24px;
    color: var(--cyan-400);
    font-weight: 800;
}

.page-hero {
    position: relative;
    min-height: 360px;
    color: var(--white);
    background: linear-gradient(135deg, var(--slate-950), #0e7490);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 18%, rgba(34, 211, 238, 0.26), transparent 30%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.44), rgba(2, 6, 23, 0.04));
}

.page-hero > div {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    min-height: 360px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 0;
}

.page-hero p {
    max-width: 700px;
    color: #dbeafe;
}

.compact-hero {
    min-height: 310px;
}

.compact-hero > div {
    min-height: 310px;
}

.filter-bar {
    display: grid;
    grid-template-columns: 1fr 180px 180px;
    gap: 16px;
    margin: 0 0 28px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-card);
}

.filter-bar label {
    display: grid;
    gap: 7px;
    color: var(--slate-600);
    font-size: 13px;
    font-weight: 800;
}

.filter-bar input,
.filter-bar select {
    width: 100%;
    border: 1px solid var(--slate-200);
    outline: 0;
    border-radius: 12px;
    padding: 12px 13px;
    color: var(--slate-900);
    background: var(--white);
}

.filter-bar input:focus,
.filter-bar select:focus {
    border-color: var(--cyan-500);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.16);
}

.breadcrumb {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--slate-500);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--cyan-600);
    font-weight: 800;
}

.detail-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 42px;
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 34px;
    padding: 34px;
    border-radius: var(--radius-xl);
    color: var(--white);
    background:
        radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.2), transparent 35%),
        linear-gradient(135deg, var(--slate-950), #0f385e 58%, #075985);
    box-shadow: var(--shadow-soft);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 28px 60px rgba(2, 6, 23, 0.42);
}

.detail-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-info h1 {
    margin: 0 0 16px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.detail-line {
    max-width: 760px;
    margin: 0 0 18px;
    color: #cffafe;
    font-size: 19px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.detail-meta span {
    border-radius: 999px;
    padding: 8px 12px;
    color: #e0f2fe;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.detail-info .btn {
    width: fit-content;
    margin-top: 28px;
}

.detail-section {
    padding-top: 0;
}

.player-shell {
    position: relative;
    width: min(980px, 100%);
    margin: 0 auto 34px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--slate-950);
    box-shadow: 0 32px 90px rgba(2, 6, 23, 0.35);
}

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

.player-mask {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    color: var(--white);
    background:
        radial-gradient(circle, rgba(6, 182, 212, 0.24), rgba(2, 6, 23, 0.5)),
        linear-gradient(0deg, rgba(2, 6, 23, 0.62), rgba(2, 6, 23, 0.18));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-mask span {
    width: 86px;
    height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 42px;
    padding-left: 6px;
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-600));
    box-shadow: 0 24px 55px rgba(6, 182, 212, 0.38);
}

.player-mask.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.detail-copy {
    width: min(980px, 100%);
    margin: 0 auto;
    padding: 30px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.detail-copy h2 {
    margin: 0 0 12px;
    font-size: 27px;
    letter-spacing: -0.03em;
}

.detail-copy h2:not(:first-child) {
    margin-top: 28px;
}

.detail-copy p {
    margin: 0;
    color: var(--slate-600);
    font-size: 17px;
}

.movie-card.is-hidden {
    display: none;
}

@media (max-width: 1080px) {
    .nav-search {
        display: none;
    }

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

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

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

@media (max-width: 860px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .brand {
        min-width: 0;
    }

    .hero-carousel,
    .hero-content {
        min-height: 580px;
    }

    .split-section,
    .detail-hero {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        max-width: 320px;
    }

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

@media (max-width: 640px) {
    .nav-shell {
        width: min(100% - 24px, 1180px);
        height: 70px;
    }

    .brand-text strong {
        font-size: 18px;
    }

    .brand-text small {
        display: none;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p,
    .detail-line {
        font-size: 16px;
    }

    .hero-controls {
        gap: 10px;
    }

    .section {
        padding: 50px 0;
    }

    .section-soft {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .category-grid,
    .category-grid.wide,
    .movie-grid,
    .library-grid,
    .mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .category-tile {
        min-height: 210px;
    }

    .category-tile div {
        padding: 18px;
    }

    .card-body {
        padding: 12px;
    }

    .card-body p {
        min-height: 39px;
    }

    .compact-card {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 12px;
    }

    .compact-card img {
        width: 92px;
        height: 76px;
    }

    .detail-hero {
        padding: 20px;
    }

    .detail-copy {
        padding: 22px;
    }

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

.site-footer {
    color: #cbd5e1;
    background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.footer-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 28px;
}

.footer-brand {
    margin-bottom: 12px;
    color: var(--white);
    font-size: 24px;
    font-weight: 900;
}

.site-footer p {
    margin: 0;
    max-width: 420px;
    color: #94a3b8;
}

.site-footer h3 {
    margin: 0 0 12px;
    color: var(--white);
    font-size: 17px;
}

.site-footer a {
    display: block;
    width: fit-content;
    margin: 8px 0;
    color: #94a3b8;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding: 18px 0;
    text-align: center;
    color: #64748b;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}
