@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;700;900&display=swap");

:root {
    --sunrise-50: #fff7ed;
    --sunrise-100: #ffedd5;
    --sunrise-200: #fed7aa;
    --sunrise-300: #fdba74;
    --sunrise-400: #fb923c;
    --sunrise-500: #f97316;
    --sunrise-600: #ea580c;
    --morning-400: #f59e0b;
    --morning-500: #d97706;
    --dawn-50: #fffaf0;
    --ink-900: #111827;
    --ink-800: #1f2937;
    --ink-700: #374151;
    --ink-600: #4b5563;
    --ink-500: #6b7280;
    --line: #e5e7eb;
    --paper: #ffffff;
    --soft: #f9fafb;
    --radius-xl: 24px;
    --radius-lg: 18px;
    --shadow-soft: 0 18px 45px rgba(17, 24, 39, 0.12);
    --shadow-card: 0 12px 28px rgba(17, 24, 39, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink-900);
    background: linear-gradient(180deg, var(--dawn-50) 0%, #ffffff 38%, #f8fafc 100%);
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.85);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--sunrise-500), var(--morning-400));
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.35);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.desktop-nav::-webkit-scrollbar {
    display: none;
}

.desktop-nav a,
.mobile-nav a {
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--ink-700);
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--sunrise-600);
    background: var(--sunrise-50);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: var(--sunrise-50);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: var(--sunrise-600);
}

.mobile-nav {
    display: none;
    padding: 0 20px 16px;
    flex-wrap: wrap;
    gap: 6px;
}

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

.hero {
    position: relative;
    height: 70vh;
    min-height: 520px;
    overflow: hidden;
    background: #111827;
}

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

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(3, 7, 18, 0.94) 0%, rgba(17, 24, 39, 0.56) 46%, rgba(17, 24, 39, 0.24) 100%);
}

.hero-copy {
    position: absolute;
    left: max(24px, calc((100vw - 1280px) / 2 + 20px));
    right: 24px;
    bottom: 64px;
    max-width: 760px;
    color: #ffffff;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.92);
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.25);
}

.hero h1 {
    margin: 0 0 16px;
    font-size: clamp(40px, 7vw, 76px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.06em;
    text-shadow: 0 8px 32px rgba(0, 0, 0, 0.36);
}

.hero-copy p {
    margin: 0 0 26px;
    max-width: 680px;
    color: #e5e7eb;
    font-size: clamp(17px, 2.1vw, 23px);
    line-height: 1.7;
}

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

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

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--sunrise-500), var(--morning-400));
    box-shadow: 0 16px 32px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px) scale(1.02);
}

.btn-secondary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    font-weight: 700;
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
    cursor: pointer;
    font-size: 26px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
    background: rgba(0, 0, 0, 0.58);
    transform: translateY(-1px);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
    width: 34px;
    background: var(--sunrise-500);
}

.main-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 54px 20px 72px;
}

.main-wrap.wide {
    max-width: 1360px;
}

.section-block {
    margin: 0 0 70px;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.section-icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--sunrise-500), var(--morning-400));
    box-shadow: 0 12px 26px rgba(249, 115, 22, 0.28);
}

.section-more {
    margin-left: auto;
    color: var(--sunrise-600);
    font-weight: 800;
}

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

.video-grid.dense {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

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

.video-card {
    min-width: 0;
}

.video-card-link,
.category-card,
.ranking-row {
    display: block;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.video-card-link:hover,
.category-card:hover,
.ranking-row:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.poster-wrap {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #111827;
}

.poster-wrap img,
.large-card-media img,
.compact-card img,
.detail-poster img,
.ranking-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card-link:hover img,
.large-card-link:hover img,
.compact-card a:hover img,
.ranking-row:hover img {
    transform: scale(1.08);
}

.poster-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--sunrise-500);
    font-size: 12px;
    font-weight: 900;
}

.video-card-body {
    padding: 16px;
}

.video-card h3 {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 900;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 46px;
}

.video-card-link:hover h3,
.large-card-link:hover h3,
.compact-card a:hover strong {
    color: var(--sunrise-600);
}

.meta-line {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--ink-500);
    font-size: 13px;
    font-weight: 700;
}

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

.tag-line {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.tag-line span,
.detail-tags span,
.pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    color: var(--sunrise-700, #c2410c);
    background: var(--sunrise-50);
    font-size: 12px;
    font-weight: 800;
}

.large-card-link {
    display: block;
}

.large-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #111827;
    box-shadow: var(--shadow-card);
}

.media-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.16));
}

.large-card-copy {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    color: #ffffff;
}

.pill-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.pill.hot {
    color: #ffffff;
    background: var(--sunrise-500);
}

.pill.glass {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.large-card-copy h3 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 900;
}

.large-card-copy p {
    margin: 0;
    color: #e5e7eb;
    font-size: 14px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tinted-band {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 60px max(20px, calc((100vw - 1280px) / 2 + 20px));
    background: linear-gradient(90deg, var(--sunrise-50), var(--dawn-50));
}

.horizontal-scroll {
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-color: var(--sunrise-300) transparent;
}

.horizontal-row {
    display: flex;
    gap: 18px;
}

.horizontal-row .video-card {
    flex: 0 0 210px;
}

.search-panel {
    margin: 0 0 34px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(229, 231, 235, 0.86);
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-xl);
}

.search-panel input {
    width: 100%;
    height: 54px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 20px;
    outline: none;
    color: var(--ink-900);
    background: #ffffff;
}

.search-panel input:focus {
    border-color: var(--sunrise-400);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.quick-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.quick-filters button {
    border: 0;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--ink-700);
    background: var(--sunrise-50);
    cursor: pointer;
    font-weight: 800;
}

.quick-filters button:hover {
    color: #ffffff;
    background: var(--sunrise-500);
}

.page-hero {
    padding: 70px 20px 46px;
    background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.20), transparent 32%), linear-gradient(135deg, #111827, #1f2937 58%, #451a03);
    color: #ffffff;
}

.page-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.breadcrumbs {
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
}

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

.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.page-hero p {
    margin: 0;
    max-width: 820px;
    color: #e5e7eb;
    font-size: 18px;
    line-height: 1.8;
}

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

.category-card {
    padding: 26px;
    min-height: 210px;
    position: relative;
}

.category-card h2 {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 900;
}

.category-card p {
    margin: 0 0 20px;
    color: var(--ink-600);
    line-height: 1.8;
}

.category-card strong {
    color: var(--sunrise-600);
}

.ranking-list {
    display: grid;
    gap: 14px;
}

.ranking-row {
    display: grid;
    grid-template-columns: 72px 105px minmax(0, 1fr) 110px;
    align-items: center;
    gap: 18px;
    padding: 14px;
}

.ranking-index {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--sunrise-500), var(--morning-400));
    font-size: 21px;
    font-weight: 900;
}

.ranking-poster {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 14px;
    background: #111827;
}

.ranking-copy h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 900;
}

.ranking-copy p {
    margin: 0;
    color: var(--ink-600);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ranking-score {
    justify-self: end;
    color: var(--sunrise-600);
    font-size: 24px;
    font-weight: 900;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
    align-items: start;
}

.player-card,
.detail-card,
.side-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.player-stage {
    position: relative;
    background: #05070d;
    aspect-ratio: 16 / 9;
}

.player-stage video {
    width: 100%;
    height: 100%;
    display: block;
    background: #05070d;
}

.play-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.26), rgba(0, 0, 0, 0.62));
    border: 0;
    cursor: pointer;
    z-index: 2;
}

.play-layer.hidden {
    display: none;
}

.play-layer span {
    width: 88px;
    height: 88px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--sunrise-500), var(--morning-400));
    box-shadow: 0 20px 45px rgba(249, 115, 22, 0.42);
    font-size: 34px;
    padding-left: 6px;
}

.player-meta {
    padding: 24px;
}

.player-meta h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.detail-tags,
.info-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.info-list {
    margin-top: 16px;
}

.info-list span {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--ink-700);
    background: #f3f4f6;
    font-weight: 800;
    font-size: 13px;
}

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

.detail-card h2,
.side-card h2 {
    margin: 0 0 18px;
    font-size: 25px;
    font-weight: 900;
}

.detail-card p {
    color: var(--ink-700);
    font-size: 16px;
    line-height: 2;
}

.side-card {
    padding: 18px;
}

.detail-poster {
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: #111827;
    margin-bottom: 18px;
}

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

.compact-card a {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 8px;
    border-radius: 16px;
    transition: background 0.2s ease;
}

.compact-card a:hover {
    background: var(--soft);
}

.compact-card img {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    background: #111827;
}

.compact-card strong {
    display: block;
    margin: 4px 0 6px;
    font-size: 15px;
    line-height: 1.38;
    font-weight: 900;
}

.compact-card em {
    color: var(--ink-500);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}

.site-footer {
    background: #111827;
    color: #d1d5db;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 36px;
}

.site-footer h2,
.site-footer h3 {
    color: #ffffff;
    margin: 0 0 16px;
}

.site-footer p {
    margin: 0;
    line-height: 1.85;
    color: #9ca3af;
}

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

.site-footer a {
    color: #9ca3af;
}

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

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 22px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    color: #9ca3af;
    text-align: center;
    font-size: 14px;
}

.empty-state {
    display: none;
    padding: 24px;
    color: var(--ink-600);
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

@media (max-width: 1100px) {
    .video-grid,
    .video-grid.dense,
    .large-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .side-card {
        order: 2;
    }
}

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

    .mobile-toggle {
        display: inline-flex;
    }

    .hero {
        min-height: 560px;
        height: 74vh;
    }

    .hero-copy {
        left: 20px;
        bottom: 76px;
    }

    .hero-control {
        display: none;
    }

    .video-grid,
    .video-grid.dense,
    .large-grid,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .ranking-row {
        grid-template-columns: 52px 82px minmax(0, 1fr);
    }

    .ranking-score {
        grid-column: 3;
        justify-self: start;
        font-size: 18px;
    }

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

@media (max-width: 560px) {
    .header-inner {
        padding: 12px 16px;
    }

    .main-wrap {
        padding: 40px 16px 58px;
    }

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

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

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

    .section-more {
        margin-left: 0;
    }

    .video-grid,
    .video-grid.dense,
    .large-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .horizontal-row .video-card {
        flex-basis: 176px;
    }

    .ranking-row {
        grid-template-columns: 46px 78px minmax(0, 1fr);
        gap: 10px;
    }

    .ranking-index {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        font-size: 17px;
    }

    .ranking-copy h3 {
        font-size: 16px;
    }

    .ranking-copy p {
        display: none;
    }

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