:root {
    --bg: #090b10;
    --panel: #121621;
    --panel-soft: #181d2a;
    --text: #f4f7fb;
    --muted: #a8b0c2;
    --line: rgba(255,255,255,.1);
    --accent: #8ab4ff;
}

@font-face {
    font-family: "Garamond";
    src: url("EBGaramond-Regular.ttf");
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
   font-family: "Garamond", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(80,120,255,.18), transparent 35%),
        linear-gradient(180deg, #090b10 0%, #0d111a 100%);
    color: var(--text);
    min-height: 100vh;
}

.no-access {
    min-height: 100vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 2rem;
}

.no-access div {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 3rem;
    max-width: 520px;
}

.page {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0 32px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 28px;
}

h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: -0.05em;
}

.header-image,
.footer-image {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: var(--panel-soft);
}

.intro {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.12rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.video-list {
    display: grid;
    gap: 22px;
}

.video-card {
    display: grid;
    grid-template-columns: 1fr minmax(320px, 46%);
    gap: 28px;
    padding: 24px;
    background: rgba(18,22,33,.82);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: 0 24px 80px rgba(0,0,0,.28);
    backdrop-filter: blur(18px);
}

.video-meta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.video-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
}

h2 {
    margin: 0;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.rainbow {
    height: 48px;
    width: auto;
}

.year {
    color: var(--accent);
    font-weight: 700;
}

.video-text {
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

.length {
    color: var(--text);
    font-size: .9rem;
    opacity: .75;
}

video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 22px;
    background: #000;
    border: 1px solid var(--line);
    box-shadow: 0 16px 44px rgba(0,0,0,.35);
}

.misfits {
    display: flex;
    justify-content: flex-start;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

@media (max-width: 780px) {
    header {
        align-items: flex-start;
    }

    .video-card {
        grid-template-columns: 1fr;
    }

    .header-image,
    .footer-image {
        width: 72px;
        height: 72px;
    }
}