@font-face {
    font-family: "RalewayLocal";
    src: url("./raleway-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "SourceSansLocal";
    src: url("./source-sans-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #07111b;
    --surface: rgba(10, 19, 31, 0.96);
    --surface-soft: rgba(14, 29, 43, 0.9);
    --line: rgba(255, 255, 255, 0.08);
    --text: #f2f7fd;
    --muted: #bfccda;
    --orange: #ffb768;
    --blue: #6fd4ff;
    --shadow: 0 30px 72px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; }
body {
    margin: 0;
    color: var(--text);
    font-family: "SourceSansLocal", sans-serif;
    line-height: 1.55;
    background:
        radial-gradient(circle at 15% 12%, rgba(255, 183, 104, 0.14), transparent 22%),
        radial-gradient(circle at 84% 14%, rgba(111, 212, 255, 0.14), transparent 22%),
        linear-gradient(180deg, #07111b, #0a1521 50%, #06101a);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1300px, calc(100% - 28px)); margin: 0 auto; }
.page-shell { padding: 18px 0 40px; }

.topline, .dashboard__hero, .side-panel, .promo-box, .slot-card, .content-card, .content-note, .footer {
    border: 1px solid var(--line); box-shadow: var(--shadow);
}
.topline {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 14px 18px; border-radius: 24px; background: rgba(8, 14, 22, 0.82);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__cube {
    width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    background: linear-gradient(135deg, #ffc98b, #5ac8ff); color: #07131f; font: 700 1rem/1 "RalewayLocal", sans-serif;
}
.brand__text strong { display: block; font: 700 1.48rem/1 "RalewayLocal", sans-serif; letter-spacing: 0.18em; }
.brand__text span { display: block; margin-top: 2px; color: var(--muted); font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; }
.topline__controls { display: flex; gap: 10px; flex-wrap: wrap; }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font-weight: 700;
}
.btn-primary { color: #0c1b28; background: linear-gradient(135deg, #ffe0b1, #ffb768 60%, #ff9256); }
.btn-secondary { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); }

.dashboard {
    display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; margin-top: 18px; align-items: start;
}
.dashboard__hero {
    position: relative; overflow: hidden; min-height: 620px; border-radius: 32px; background: #08111b;
}
.dashboard__media {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 11, 18, 0.16), rgba(7, 11, 18, 0.78)),
        linear-gradient(90deg, rgba(7, 11, 18, 0.82), rgba(7, 11, 18, 0.22), rgba(7, 11, 18, 0.74)),
        url("./v22-hero.png") center/cover no-repeat;
}
.dashboard__layer {
    position: relative; z-index: 2; min-height: 620px; padding: 22px;
    display: grid; grid-template-rows: auto 1fr;
}
.dashboard__nav {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
}
.dashboard__tags { display: flex; gap: 10px; flex-wrap: wrap; }
.dashboard__tags span {
    padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-dropdown { position: relative; z-index: 80; width: min(220px, 100%); }
.nav-dropdown__check { position: absolute; opacity: 0; pointer-events: none; }
.nav-dropdown__toggle {
    display: block; padding: 13px 15px; border-radius: 15px; background: rgba(8, 14, 22, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.1); font: 700 0.9rem/1 "RalewayLocal", sans-serif; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer;
}
.nav-dropdown ul {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 120;
    display: grid; gap: 8px; margin: 0; padding: 10px; list-style: none;
    border-radius: 16px; border: 1px solid var(--line); background: rgba(7, 12, 20, 0.98);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: 0.18s ease;
}
.nav-dropdown__check:checked + .nav-dropdown__toggle + ul { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown ul > *, .nav-dropdown ul a { display: block; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); }

.dashboard__copy { align-self: end; max-width: 760px; }
.eyebrow { color: var(--blue); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem; }
.dashboard__copy h2 { margin: 14px 0 16px; font: 700 clamp(2.2rem, 4.7vw, 4.1rem)/0.97 "RalewayLocal", sans-serif; }
.dashboard__copy p, .promo-box p, .slot-card p, .content-note p, .footer span { margin: 0; color: var(--muted); }
.dashboard__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

.dashboard__side { display: grid; gap: 18px; }
.side-panel, .promo-box, .slot-card, .content-card, .content-note, .footer {
    border-radius: 24px; background: var(--surface);
}
.side-panel { padding: 20px; }
.side-panel__label {
    color: var(--orange); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.76rem;
}
.wins-list { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.wins-list li { display: flex; justify-content: space-between; gap: 10px; }
.side-panel--poster { padding: 10px; }
.side-panel--poster img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }

.promo-strip, .content-layout {
    display: grid; gap: 18px; margin-top: 18px;
}
.promo-strip { grid-template-columns: 1.2fr 0.8fr; }
.promo-box { padding: 20px; }
.promo-box h2, .content-note h2 { margin: 0 0 10px; font: 700 1.6rem/1.08 "RalewayLocal", sans-serif; }
.promo-box h3 { margin: 0 0 10px; font: 700 1.2rem/1.08 "RalewayLocal", sans-serif; }

.slots-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px;
}
.slot-card { overflow: hidden; background: var(--surface-soft); }
.slot-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.slot-card__body { padding: 16px; }
.slot-card__body h3 { margin: 0 0 8px; font: 700 1.15rem/1.08 "RalewayLocal", sans-serif; }

.content-layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
.content-card, .content-note { padding: 22px; }
.content-stack { display: grid; gap: 18px; }
.footer {
    margin-top: 18px; padding: 22px;
    display: flex; justify-content: space-between; gap: 18px; align-items: center;
}
.footer strong { display: block; margin-bottom: 6px; font: 700 1.28rem/1 "RalewayLocal", sans-serif; }

@media (max-width: 1040px) {
    .dashboard, .promo-strip, .content-layout { grid-template-columns: 1fr; }
    .slots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer, .dashboard__nav { flex-direction: column; align-items: stretch; }
}
@media (max-width: 680px) {
    .slots-grid { grid-template-columns: 1fr; }
}
