* {
    box-sizing: border-box;
}

:root {
    --bg: #0e1116;
    --panel: #151a22;
    --panel-2: #1b212c;
    --card: #ffffff;
    --text: #111827;
    --muted: #667085;
    --white: #ffffff;
    --orange: #f26a21;
    --orange-dark: #d95a17;
    --line: rgba(255,255,255,0.08);
    --shadow: 0 18px 50px rgba(0,0,0,0.18);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fa;
    color: var(--text);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

.container {
    width: min(1220px, 92%);
    margin: 0 auto;
}

.hero {
    background:
        linear-gradient(135deg, rgba(12,16,22,0.96), rgba(25,31,41,0.94)),
        radial-gradient(circle at top right, rgba(242,106,33,0.24), transparent 36%);
    color: var(--white);
    padding: 72px 0 54px;
}

.hero-inner {
    max-width: 820px;
}

.eyebrow,
.section-kicker,
.video-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
}

.hero h1 {
    margin: 14px 0 16px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1;
}

.hero-copy {
    margin: 0;
    max-width: 720px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.82);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.main-content {
    padding: 42px 0 72px;
}

.section-heading {
    margin-bottom: 22px;
}

.section-heading h2 {
    margin: 8px 0 0;
    font-size: 32px;
    color: #111827;
}

.featured-section {
    margin-bottom: 44px;
}

.featured-card {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 0;
    overflow: hidden;
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.featured-thumb {
    position: relative;
    min-height: 360px;
    background: #dfe5eb;
}

.featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content h3 {
    margin: 12px 0 14px;
    font-size: 32px;
    line-height: 1.15;
}

.featured-content p {
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 16px;
}

.play-badge,
.play-chip {
    position: absolute;
    background: rgba(17,24,39,0.82);
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
}

.play-badge {
    left: 24px;
    bottom: 24px;
    padding: 12px 18px;
}

.play-chip {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    font-size: 18px;
}

.library-section {
    margin-top: 22px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
    gap: 24px;
}

.video-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(16, 24, 40, 0.12);
}

.video-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: #d9dee5;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-card-body {
    padding: 20px;
}

.video-card-body h3 {
    margin: 10px 0 10px;
    font-size: 22px;
    line-height: 1.2;
}

.video-card-body p {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.7;
}

.text-link {
    color: var(--orange);
    font-weight: 700;
}

.fallback-thumb {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #4b5563;
    background: linear-gradient(135deg, #d7dde5, #eef2f7);
    font-size: 24px;
    font-weight: 700;
}

.fallback-thumb.small {
    font-size: 20px;
}

.empty-state {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
}

.empty-state h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 26px;
}

.empty-state p {
    margin: 0;
    line-height: 1.8;
    color: var(--muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.18s ease;
}

.btn-primary {
    background: var(--orange);
    color: #fff;
}

.btn-primary:hover {
    background: var(--orange-dark);
}

.btn-secondary {
    background: #fff;
    color: #111827;
    border: 1px solid rgba(17,24,39,0.1);
}

.btn-secondary:hover {
    background: #f7f8fa;
}

.player-header {
    background: #111827;
    border-bottom: 1px solid var(--line);
}

.player-header-inner {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    padding: 18px 0;
}

.back-link {
    color: #ffffff;
    font-weight: 700;
}

.player-main {
    padding: 34px 0 72px;
}

.player-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 28px;
    align-items: start;
}

.player-shell {
    background: #000;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.player-shell video {
    width: 100%;
    display: block;
    background: #000;
}

.video-meta-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
}

.video-meta-card h1 {
    margin: 12px 0 14px;
    font-size: 34px;
    line-height: 1.12;
}

.video-description {
    margin: 0 0 22px;
    color: var(--muted);
    line-height: 1.8;
}

.meta-block {
    display: grid;
    gap: 10px;
    padding: 18px 0 8px;
    color: #344054;
    border-top: 1px solid #e5e7eb;
    margin-top: 18px;
}

.player-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

@media (max-width: 980px) {
    .featured-card,
    .player-layout {
        grid-template-columns: 1fr;
    }

    .featured-thumb {
        min-height: 280px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 56px 0 40px;
    }

    .hero-copy {
        font-size: 16px;
    }

    .featured-content,
    .video-meta-card {
        padding: 22px;
    }

    .section-heading h2,
    .featured-content h3,
    .video-meta-card h1 {
        font-size: 28px;
    }
}
/* HEADER */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.logo-wrap img {
    height: 42px;
}

.header-nav {
    display: flex;
    gap: 24px;
}

.header-nav a {
    text-decoration: none;
    font-weight: 600;
    color: #111827;
}

.header-nav a:hover {
    color: #f26a21;
}