:root {
    --bg: #070709;
    --panel: #111116;
    --panel-2: #18181f;
    --text: #f5f5f7;
    --muted: #92929e;
    --accent: #b21cff;
    --accent-2: #6f00ff;
    --border: #25252e;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top, rgba(111,0,255,.12), transparent 35%),
        var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 34px;
    background: rgba(7,7,9,.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.logo {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
}

.brand-sub {
    color: var(--muted);
    font-size: 13px;
    margin-top: 3px;
}

nav {
    display: flex;
    gap: 24px;
    color: #d7d7dc;
    font-size: 14px;
}

nav a:hover {
    color: var(--accent);
}

.container {
    width: min(1400px, calc(100% - 40px));
    margin: auto;
}

.hero {
    padding: 60px 0 36px;
}

.hero-label {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: 700;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 78px);
    line-height: .98;
    margin: 12px 0;
}

.hero p {
    color: var(--muted);
    max-width: 700px;
    font-size: 18px;
    line-height: 1.6;
}

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin: 18px 0 22px;
}

.section-title h2 {
    margin: 0;
    font-size: 25px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
    gap: 26px 18px;
}

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

.thumb-wrap {
    position: relative;
    overflow: hidden;
    background: var(--panel);
    border-radius: 10px;
    aspect-ratio: 3 / 2;
}

.thumb-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .25s ease;
}

.video-card:hover img {
    transform: scale(1.04);
}

.play-icon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    background: rgba(0,0,0,.25);
    transition: opacity .2s ease;
}

.video-card:hover .play-icon {
    opacity: 1;
}

.play-icon span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    font-size: 22px;
}

.video-title {
    margin: 11px 0 5px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.video-meta {
    color: var(--muted);
    font-size: 12px;
}

.watch-page {
    padding-top: 38px;
}

.back-link {
    display: inline-block;
    color: var(--muted);
    margin-bottom: 18px;
}

.back-link:hover {
    color: var(--text);
}

.player-shell {
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.player-shell iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}

.watch-title {
    font-size: clamp(26px, 4vw, 42px);
    margin-bottom: 8px;
}

.watch-description {
    color: var(--muted);
    line-height: 1.7;
    max-width: 900px;
}

.site-footer {
    border-top: 1px solid var(--border);
    margin-top: 80px;
    padding: 36px 0;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 700px) {
    .site-header {
        padding: 15px 20px;
    }

    nav {
        display: none;
    }

    .container {
        width: min(100% - 24px, 1400px);
    }

    .hero {
        padding-top: 38px;
    }

    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 10px;
    }
}
