* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #06131f;
    --panel: rgba(255, 255, 255, 0.08);
    --panel-strong: rgba(255, 255, 255, 0.14);
    --text: #f8fafc;
    --muted: #9fb3c8;
    --blue: #38bdf8;
    --green: #34d399;
    --orange: #f59e0b;
    --border: rgba(255, 255, 255, 0.16);
}

html,
body {
    min-height: 100%;
}

body {
    background:
        radial-gradient(circle at 18% 15%, rgba(56, 189, 248, 0.22), transparent 34%),
        radial-gradient(circle at 84% 24%, rgba(245, 158, 11, 0.2), transparent 32%),
        linear-gradient(135deg, #020617 0%, var(--bg) 52%, #04111d 100%);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
}

.copa-shell {
    min-height: 100vh;
    padding: 28px;
}

.topbar {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1180px;
}

.brand,
.nav-link,
.btn {
    color: inherit;
    text-decoration: none;
}

.brand {
    align-items: center;
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 800;
    gap: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand svg {
    height: 26px;
    width: 26px;
}

.nav-link {
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    padding: 9px 16px;
}

.hero {
    align-items: center;
    display: grid;
    gap: 42px;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
    margin: 64px auto 0;
    max-width: 1180px;
}

.hero-copy {
    max-width: 520px;
}

.eyebrow {
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(4.2rem, 11vw, 8.5rem);
    letter-spacing: -0.08em;
    line-height: 0.78;
    margin-bottom: 26px;
}

.lead {
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.55;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.btn {
    border-radius: 18px;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    padding: 14px 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--green));
    color: #02111d;
}

.btn-secondary {
    background: var(--panel);
    border: 1px solid var(--border);
}

.video-card {
    background: linear-gradient(180deg, var(--panel-strong), rgba(255, 255, 255, 0.04));
    border: 1px solid var(--border);
    border-radius: 30px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    padding: 14px;
}

.video-frame {
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
}

.video-link {
    color: var(--text);
    display: block;
    text-decoration: none;
}

.video-link img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    opacity: 0.72;
    position: absolute;
    transition: transform 0.35s ease, opacity 0.35s ease;
    width: 100%;
}

.video-link::after {
    background: linear-gradient(180deg, transparent 20%, rgba(2, 6, 23, 0.9));
    content: "";
    inset: 0;
    position: absolute;
}

.video-link:hover img {
    opacity: 0.9;
    transform: scale(1.04);
}

.play-pill {
    align-items: center;
    background: rgba(248, 250, 252, 0.94);
    border-radius: 999px;
    color: #020617;
    display: inline-flex;
    font-weight: 900;
    gap: 10px;
    left: 50%;
    padding: 14px 20px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.play-icon {
    border-bottom: 8px solid transparent;
    border-left: 13px solid currentColor;
    border-top: 8px solid transparent;
    display: block;
    height: 0;
    width: 0;
}

.embed-warning {
    bottom: 20px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
    left: 20px;
    position: absolute;
    right: 20px;
    text-align: center;
    z-index: 2;
}

.video-meta {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 14px 6px 2px;
}

.video-meta span {
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.video-meta code {
    color: var(--muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.78rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 860px) {
    .copa-shell {
        padding: 20px;
    }

    .hero {
        grid-template-columns: 1fr;
        margin-top: 46px;
    }

    .video-meta {
        align-items: flex-start;
        flex-direction: column;
    }
}
