:root {
    --bg: #0b0d10;
    --text: #e8ebef;
    --muted: #8a93a0;
    --accent: #22c55e;
    --green: #34d399;
    --blue: #22d3ee;
    --brand-grad: linear-gradient(135deg, #10b981 0%, #0891b2 100%);
    --brand-grad-hover: linear-gradient(135deg, #34d399 0%, #06b6d4 100%);
    --brand-text: linear-gradient(90deg, #4ade80 0%, #22d3ee 100%);
    --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

body.site {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
    overflow-x: hidden;
}

/* Two soft blobs of the brand colours drifting slowly behind the page.
   Fixed, blurred and behind everything; still on "reduce motion". */
body.site::before,
body.site::after {
    content: "";
    position: fixed;
    z-index: 0;
    width: 60vmax;
    height: 60vmax;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .28;
    pointer-events: none;
    will-change: transform;
}
body.site::before {
    top: -30vmax;
    left: -20vmax;
    background: radial-gradient(circle at 40% 40%, #10b981, transparent 65%);
    animation: drift-a 22s ease-in-out infinite alternate;
}
body.site::after {
    bottom: -32vmax;
    right: -22vmax;
    background: radial-gradient(circle at 60% 60%, #0891b2, transparent 65%);
    animation: drift-b 26s ease-in-out infinite alternate;
}
body.site > :not(.adbar) { position: relative; z-index: 1; }

@keyframes drift-a {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(14vmax, 10vmax) scale(1.15); }
}
@keyframes drift-b {
    from { transform: translate(0, 0) scale(1.1); }
    to   { transform: translate(-16vmax, -12vmax) scale(.95); }
}

@media (prefers-reduced-motion: reduce) {
    body.site::before, body.site::after { animation: none; }
    h1 .grad, .brand-name { animation: none; }
}

.hero {
    flex: 1;
    max-width: 640px;
    margin: 0 auto;
    padding: 64px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand { font-weight: 700; margin-bottom: 32px; display: flex; align-items: center; gap: 8px; }
.brand-name {
    background: var(--brand-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.mark { width: 32px; height: 32px; display: block; }

h1 { font-size: clamp(32px, 7vw, 52px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -.5px; }
/* Under the headline: who makes the picks (two quiet grey labels), then the smaller second line */
.h1-tags { display: flex; align-items: center; gap: 8px; margin: 10px 0 8px; }
.h1-tags .tag {
    display: inline-block; padding: 2px 9px; border: 1px solid #2a3139; border-radius: 6px;
    font-family: var(--mono); font-size: .34em; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #9aa4b2; line-height: 1.6;
}
.h1-tags .plus { font-size: .4em; font-weight: 500; color: #5c6673; }
.h1-small { display: block; font-size: .64em; font-weight: 600; color: #c9d0d9; letter-spacing: -.2px; }
/* The headline's gradient slides slowly from green to blue and back */
h1 .grad {
    background: linear-gradient(90deg, #4ade80 0%, #22d3ee 50%, #4ade80 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 9s ease-in-out infinite;
}
@keyframes shimmer {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.sub { font-family: var(--mono); color: var(--muted); margin: 0 0 32px; }
/* The quiet line under the button: where the picks come from */
.note { margin: 18px 0 0; max-width: 46ch; color: #5c6673; font-size: 13px; line-height: 1.5; }
.sub .sport { white-space: nowrap; }
.sub .is-soon { color: #5c6673; }
.sub .soon {
    display: inline-block;
    vertical-align: 1px;
    margin-left: 4px;
    padding: 1px 5px;
    border: 1px solid #2a313a;
    border-radius: 4px;
    font-size: 10px;
    letter-spacing: .08em;
    color: #6b7684;
    background: rgba(255, 255, 255, .03);
}

.cta {
    align-self: flex-start;
    background: var(--accent);
    color: #04130a;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 22px;
    border-radius: 12px;
}
.fine { color: var(--muted); font-size: 14px; margin-top: 14px; }

.foot {
    padding: 20px 16px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    border-top: 1px solid #1d2228;
}
.badge {
    font-family: var(--mono);
    border: 1px solid var(--muted);
    border-radius: 4px;
    padding: 0 4px;
    margin-right: 6px;
}

/* Telegram button: Telegram's own blue and paper plane */
.cta-telegram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(42, 171, 238, .30);
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.cta-telegram:hover,
.cta-telegram:focus-visible { background: linear-gradient(135deg, #3db6f2 0%, #2aabee 100%); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(42, 171, 238, .38); }
.cta-telegram:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.cta-icon { width: 20px; height: 20px; flex-shrink: 0; }


/* The banner fixed at the bottom of the page (an iframe from the ad server), on computers and phones */
.adbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; width: 100%; z-index: 50; background: #0b0d10; }
/* Sticky-footer creative: 110px on phones, 140px on wider screens (its tall layout) */
.adbar iframe { display: block; width: 100%; height: 110px; border: 0; }
.has-adbar body.site { padding-bottom: 110px; }
@media (min-width: 768px) {
    .adbar iframe { height: 140px; }
    .has-adbar body.site { padding-bottom: 140px; }
}
@media print { .adbar { display: none; } .has-adbar body.site { padding-bottom: 0; } }

/* The banner in the page, under the button, as wide as the column: 230px tall on phones, on computers
   as tall as the screen allows so the whole page still fits without a vertical scroll */
.adinline { width: 100%; height: 230px; margin: 24px 0 0; border-radius: 12px; overflow: hidden; background: #0b0d10; }
.adinline iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Computers: one screen, no scroll. The page is exactly the window's height; the hero is tighter and the
   banner takes what is left (between 160 and 260px) */
@media (min-width: 641px) {
    body.site { min-height: 100vh; min-height: 100dvh; }
    .hero { padding: clamp(20px, 4vh, 48px) 16px; }
    .brand { margin-bottom: clamp(14px, 3vh, 28px); }
    .sub { margin-bottom: clamp(18px, 3vh, 28px); }
    .adinline { height: clamp(160px, calc(100vh - 560px), 260px); margin-top: clamp(16px, 2.6vh, 24px); }
    .note { margin-top: clamp(10px, 1.8vh, 18px); }
    .foot { padding: 14px 16px; }
}
/* Short laptop screens: a slightly smaller headline buys room for the banner */
@media (min-width: 641px) and (max-height: 820px) {
    h1 { font-size: 44px; margin-bottom: 12px; }
    .h1-tags { margin: 6px 0 4px; }
}

/* Phones: everything centred, the sports line wraps cleanly, the button full width */
@media (max-width: 640px) {
    .hero { padding: 28px 20px 24px; text-align: center; align-items: center; }
    .brand { justify-content: center; margin-bottom: 18px; }
    .h1-tags { justify-content: center; }
    h1 { font-size: clamp(30px, 9vw, 40px); }
    .sub { line-height: 2; }
    .sub .sep { display: none; }
    .sub .sport { display: inline-block; margin: 0 7px; }
    .cta { align-self: stretch; justify-content: center; width: 100%; }
    .foot { padding: 16px 20px; }
    .note { max-width: none; }
}

/* ------------------------------------------------------------------
   Premium pick page (/pick/<token>): purple instead of green, the card in the middle,
   the message under it, then Back to Telegram and the banner. Same column as the landing.
   ------------------------------------------------------------------ */
body.site-premium::before { background: radial-gradient(circle at 40% 40%, #7c3aed, transparent 65%); }
body.site-premium::after { background: radial-gradient(circle at 60% 60%, #4f46e5, transparent 65%); }
.pick { max-width: 482px; width: 100%; justify-content: flex-start; }   /* 450px of content + the 16px gutters */
.pick-title { display: flex; align-items: center; gap: 14px; font-size: clamp(30px, 6vw, 44px); margin: 0 0 18px; }
.pick-grad {
    background: linear-gradient(90deg, #e9d5ff 0%, #a78bfa 50%, #e9d5ff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 9s ease-in-out infinite;
}
.pick-dia { width: 13px; height: 13px; flex: none; transform: rotate(45deg); border-radius: 2px; background: linear-gradient(135deg, #f3e8ff, #8b5cf6); box-shadow: 0 0 14px rgba(139, 92, 246, .6); }
.pick-card { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(139, 92, 246, .35); box-shadow: 0 20px 60px rgba(76, 29, 149, .35), 0 0 0 1px rgba(0, 0, 0, .3); background: #0d0a17; }
.pick-card img { display: block; width: 100%; height: auto; }
.pick-msg { margin: 16px 0 22px; padding: 14px 16px; border-radius: 14px; background: rgba(24, 37, 51, .72); border: 1px solid rgba(255, 255, 255, .06); text-align: left; }
.pick-msg-head { font-weight: 700; margin-bottom: 6px; letter-spacing: .02em; }
.pick-msg-body { white-space: pre-wrap; word-break: break-word; font-size: 15px; line-height: 1.5; color: #dfe5ec; }
.pick-lost { color: var(--muted); margin: 0 0 24px; max-width: 46ch; }
@media (prefers-reduced-motion: reduce) { .pick-grad { animation: none; } }
/* Computers: the page may scroll here (the card is tall); the banner keeps its height */
@media (min-width: 641px) {
    .pick { padding-top: 40px; padding-bottom: 40px; }
    .pick .adinline { height: 230px; }
}
@media (max-width: 640px) {
    .pick-title { justify-content: center; gap: 10px; }
    .pick-msg { width: 100%; }
}

/* Brand cards of a landing (panel -> Landings): after the pick's text, or under the home page's Telegram button */
.offers { display: flex; flex-direction: column; gap: 12px; align-self: stretch; margin: -8px 0 22px; }
.offers .offer { margin: 0; }
.site:not(.site-premium) .offers { width: 100%; max-width: 460px; margin: 18px auto 0; }
.offer { display: flex; align-self: stretch; text-align: left; align-items: center; justify-content: space-between; gap: 14px; margin: -8px 0 22px; padding: 16px 18px; border-radius: 16px;
    background: linear-gradient(135deg, #1d2346 0%, #161b36 100%); border: 1px solid rgba(129, 140, 248, .22); color: inherit; text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .35); transition: transform .15s ease, border-color .15s ease; }
.offer:hover, .offer:focus-visible { transform: translateY(-1px); border-color: rgba(129, 140, 248, .45); }
.offer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-width: 0; }
.offer-logo { display: block; height: 32px; width: auto; max-width: 100%; }
.offer-tag { font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #b4bcdc; white-space: nowrap; }
.offer-btn { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 12px 22px; border-radius: 11px; font-weight: 700; font-size: 15px; color: #fff;
    background: linear-gradient(135deg, #1d8ff2 0%, #0b6fd4 100%); box-shadow: 0 8px 22px rgba(11, 111, 212, .4); }
@media (max-width: 640px) {
    .offer { padding: 14px 14px; }
    .offer-logo { height: 28px; }
    .offer-tag { font-size: 9px; letter-spacing: .2em; }
    .offer-btn { padding: 11px 18px; font-size: 14px; }
}
