@font-face { font-family: Nunito; src: url('assets/nunito.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: Rajdhani; src: url('assets/rajdhani-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #07111b;
  --surface: #0c1d2c;
  --surface-2: #10283a;
  --line: rgba(152, 190, 216, .16);
  --text: #f6f8fa;
  --muted: #a9bac7;
  --blue: #3181d7;
  --cyan: #42e6ca;
  --red: #ff5d67;
  --radius: 24px;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: Nunito, system-ui, sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: Rajdhani, Nunito, sans-serif; line-height: .98; letter-spacing: -.02em; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 16px; background: white; color: #07111b; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 10; padding: 20px 0; }
.header-inner, .header-actions, .brand { display: flex; align-items: center; }
.header-inner { justify-content: space-between; }
.brand { gap: 11px; font-family: Rajdhani, sans-serif; font-size: 23px; font-weight: 700; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.header-actions { gap: 28px; }
.nav-link { color: #dce6ec; font-size: 15px; }
.nav-link:hover { color: white; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 54px; padding: 0 26px; border: 1px solid transparent; border-radius: 14px; font-weight: 800; transition: transform .18s ease, background-color .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .nav-link:focus-visible, .brand:focus-visible { outline: 3px solid rgba(66, 230, 202, .52); outline-offset: 4px; }
.button-small { min-height: 42px; padding: 0 20px; border-color: rgba(255,255,255,.28); background: rgba(7,17,27,.55); }
.button-primary { background: var(--blue); box-shadow: 0 14px 34px rgba(49,129,215,.28); }
.button-primary:hover { background: #3f90e7; }
.button-outline { border-color: rgba(255,255,255,.22); background: transparent; }
.button-outline:hover { border-color: rgba(255,255,255,.55); }

.hero { position: relative; overflow: hidden; min-height: 760px; padding: 144px 0 96px; background: radial-gradient(circle at 78% 35%, rgba(36,121,151,.23), transparent 35%); }
.hero::before { content: ''; position: absolute; inset: 0; opacity: .24; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right, transparent 20%, black); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .88fr) minmax(460px, 1.12fr); align-items: center; gap: 34px; }
.hero-copy { position: relative; z-index: 2; max-width: 590px; }
.eyebrow { margin-bottom: 18px; color: var(--cyan); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(66,230,202,.12); }
h1 { max-width: 680px; font-size: clamp(54px, 6.5vw, 86px); }
.hero-text { max-width: 560px; margin-top: 28px; color: #c6d2da; font-size: clamp(18px, 2vw, 21px); line-height: 1.55; }
.hero-action { margin-top: 38px; }
.hero-action p { margin-top: 14px; color: var(--muted); font-size: 13px; }
.hero-action p span { margin: 0 7px; color: var(--cyan); }
.championship-facts { display: flex; gap: 12px; margin-top: 28px; }
.championship-facts > div { min-width: 168px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(12,29,44,.82); }
.championship-facts span, .championship-facts strong { display: block; }
.championship-facts span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.championship-facts strong { margin-top: 2px; font-family: Rajdhani, sans-serif; font-size: 29px; line-height: 1.1; }
.championship-facts > div:first-child strong { color: #ffcf66; }

.champion-visual { position: relative; min-height: 520px; overflow: hidden; border-radius: 42% 22% 30% 28%; background: #08131f; isolation: isolate; }
.champion-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0, transparent 23%), linear-gradient(0deg, var(--bg), transparent 22%); pointer-events: none; }
.champion-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.event-stamp { position: absolute; right: 7%; top: 8%; z-index: 2; padding: 10px 13px; border-left: 2px solid #ffcf66; color: white; text-align: right; text-transform: uppercase; }
.event-stamp span, .event-stamp strong { display: block; }
.event-stamp span { color: #ffcf66; font-size: 9px; font-weight: 900; letter-spacing: .23em; }
.event-stamp strong { font-family: Rajdhani, sans-serif; font-size: 18px; letter-spacing: .06em; }

.game-visual { position: relative; height: 530px; }
.table-glow { position: absolute; inset: 13% 0; border-radius: 50%; background: rgba(66,230,202,.16); filter: blur(60px); }
.table { position: absolute; inset: 5% 4% 4%; border: 1px solid rgba(112,255,225,.34); border-radius: 47% / 18%; background: linear-gradient(145deg, #183f43, #0d282e 70%); box-shadow: inset 0 0 0 12px #15232a, inset 0 0 0 14px rgba(255,255,255,.13), 0 35px 80px rgba(0,0,0,.42); transform: perspective(850px) rotateX(10deg) rotateZ(-3deg); }
.real-table { position: absolute; inset: -8% auto auto 50%; width: 95%; height: 116%; opacity: .28; object-fit: fill; transform: translateX(-50%) rotate(90deg); pointer-events: none; }
.opponent { position: absolute; top: 8%; left: 50%; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 22px; background: rgba(3,10,15,.8); color: #dbe7ec; font-size: 12px; transform: translateX(-50%); }
.avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); font-weight: 800; }
.deck { position: absolute; right: 13%; top: 44%; width: 70px; height: 104px; }
.deck img { position: relative; z-index: 2; width: 100%; height: 100%; filter: drop-shadow(7px 9px 7px rgba(0,0,0,.35)); }
.deck::after { content: ''; position: absolute; inset: 7px -6px -7px 6px; border-radius: 7px; background: #eef2ed; }
.trump { position: absolute; right: -28px; bottom: 5px; display: grid; place-items: center; width: 44px; height: 62px; border-radius: 5px; background: white; color: #12181d; font-size: 25px; transform: rotate(90deg); }
.played-cards { position: absolute; inset: 43% auto auto 47%; }
.playing-card { display: block; width: 76px; height: 114px; border-radius: 7px; background-image: url('assets/cards.webp'); background-size: 684px 456px; background-repeat: no-repeat; box-shadow: 0 10px 18px rgba(0,0,0,.3); }
.played-cards .playing-card { position: absolute; }
.played-cards .playing-card:first-child { transform: translate(-75%, -50%) rotate(-7deg); }
.played-cards .playing-card:last-child { transform: translate(-18%, -30%) rotate(10deg); }
.card-6c { background-position: -76px 0; } .card-10c { background-position: -380px 0; } .card-kc { background-position: -608px 0; }
.card-6h { background-position: -76px -114px; } .card-10h { background-position: -380px -114px; } .card-qh { background-position: -532px -114px; }
.card-as { background-position: 0 -228px; } .card-ks { background-position: -608px -228px; }
.card-ad { background-position: 0 -342px; } .card-qd { background-position: -532px -342px; }
.hand { position: absolute; left: 50%; bottom: -1%; display: flex; transform: translateX(-50%); }
.hand .playing-card { margin-left: -28px; transform-origin: 50% 130%; }
.hand .playing-card:first-child { margin-left: 0; transform: rotate(-10deg); }
.hand .playing-card:nth-child(2) { transform: rotate(-3deg) translateY(-7px); }
.hand .playing-card:nth-child(3) { transform: rotate(4deg) translateY(-7px); }
.hand .playing-card:nth-child(4) { transform: rotate(11deg); }
.turn-label { position: absolute; left: 11%; bottom: 14%; display: flex; align-items: center; gap: 8px; color: #c8d5db; font-size: 12px; }
.turn-label span { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }

.benefits { padding: 0 0 112px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.benefit-card { position: relative; min-height: 210px; padding: 40px 34px; border-right: 1px solid var(--line); }
.benefit-card:last-child { border: 0; }
.benefit-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 24px; border: 1px solid rgba(66,230,202,.28); border-radius: 12px; background: rgba(66,230,202,.08); color: var(--cyan); font-size: 21px; }
.red-suit { color: var(--red); border-color: rgba(255,93,103,.26); background: rgba(255,93,103,.07); }
.benefit-card h2 { margin-bottom: 11px; font-size: 25px; }
.benefit-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }

.section { padding: 112px 0; }
.split-section { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 92px; }
.section-copy h2 { max-width: 540px; font-size: clamp(42px, 5vw, 64px); }
.section-copy > p:not(.eyebrow) { max-width: 540px; margin: 24px 0 34px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.tournament-section { background: #0a1824; border-block: 1px solid rgba(255,255,255,.05); }
.bracket { position: relative; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; min-height: 320px; }
.bracket::before { content: ''; position: absolute; inset: 0; border-radius: var(--radius); background: radial-gradient(circle at 50%, rgba(49,129,215,.16), transparent 65%); }
.round-card { position: relative; min-height: 154px; padding: 22px 17px; border: 1px solid var(--line); border-radius: 18px; background: #0c1e2d; box-shadow: 0 20px 40px rgba(0,0,0,.17); }
.round-card.current { border-color: rgba(66,230,202,.4); transform: translateY(26px); }
.round-card.final-round { border-color: rgba(49,129,215,.45); transform: translateY(-26px); }
.round-card span { color: var(--cyan); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.round-card strong, .round-card small { display: block; }
.round-card strong { margin-top: 18px; font-family: Rajdhani; font-size: 20px; line-height: 1.1; }
.round-card small { margin-top: 8px; color: var(--muted); font-size: 12px; }
.round-arrow { position: relative; color: #5b7990; }

.game-section-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.cards-fan { position: relative; min-height: 410px; border-radius: var(--radius); background: radial-gradient(circle, rgba(66,230,202,.13), transparent 62%); }
.cards-fan .playing-card { position: absolute; left: 50%; top: 50%; width: 112px; height: 168px; border-radius: 10px; background-size: 1008px 672px; }
.cards-fan .card-6c { background-position: -112px 0; transform: translate(-150%, -43%) rotate(-20deg); }
.cards-fan .card-10h { background-position: -560px -168px; transform: translate(-85%, -57%) rotate(-7deg); }
.cards-fan .card-ks { background-position: -896px -336px; transform: translate(-15%, -57%) rotate(7deg); }
.cards-fan .card-ad { background-position: 0 -504px; transform: translate(50%, -43%) rotate(20deg); }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 10px; color: #dbe5eb; }
.check-list span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(66,230,202,.12); color: var(--cyan); font-size: 13px; font-weight: 900; }

.telegram-section { padding-top: 40px; }
.telegram-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 70px; padding: 60px 72px; border: 1px solid rgba(49,129,215,.26); border-radius: 30px; background: #0c1d2c; }
.telegram-copy { display: flex; align-items: flex-start; gap: 28px; }
.telegram-copy h2 { font-size: clamp(38px, 4vw, 56px); }
.telegram-copy p:not(.eyebrow) { max-width: 600px; margin: 20px 0 30px; color: var(--muted); font-size: 17px; }
.telegram-mark { flex: 0 0 auto; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; background: #2aabee; }
.telegram-mark svg { width: 32px; fill: white; }
.telegram-qr { display: block; flex: 0 0 auto; width: 184px; height: 184px; padding: 8px; overflow: hidden; border-radius: 18px; background: white; box-shadow: 0 18px 42px rgba(0,0,0,.22); transition: transform .18s ease; }
.telegram-qr:hover { transform: translateY(-3px); }
.telegram-qr:focus-visible { outline: 3px solid rgba(66,230,202,.52); outline-offset: 4px; }
.telegram-qr img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }

.final-cta { padding: 88px 0; background: var(--blue); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.final-cta h2 { font-size: clamp(46px, 5vw, 66px); }
.final-cta p { margin-top: 11px; color: rgba(255,255,255,.82); font-size: 18px; }
.button-light { flex: 0 0 auto; background: white; color: #102034; box-shadow: 0 16px 38px rgba(0,0,0,.18); }

footer { padding: 30px 0; background: #050c13; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #7f939f; font-size: 13px; }
.footer-brand { color: #dbe5eb; font-size: 17px; }
.footer-brand img { width: 26px; height: 26px; }

@media (max-width: 980px) {
  .hero { min-height: auto; padding-bottom: 78px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { max-width: 720px; }
  .champion-visual { width: 100%; min-height: 0; aspect-ratio: 16 / 9; }
  .split-section { grid-template-columns: 1fr; gap: 50px; }
  .bracket { max-width: 680px; }
  .game-section-grid { gap: 40px; }
  .telegram-card { padding: 50px 44px; }
  .telegram-copy { display: block; }
  .telegram-mark { margin-bottom: 24px; }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .site-header { padding: 16px 0; }
  .brand { font-size: 18px; }
  .brand img { width: 29px; height: 29px; }
  .header-actions { gap: 15px; }
  .nav-link { font-size: 14px; }
  .button-small { min-height: 38px; padding: 0 15px; border-radius: 11px; font-size: 14px; }
  .hero { padding: 126px 0 70px; }
  h1 { font-size: clamp(48px, 15vw, 68px); }
  .hero-text { margin-top: 20px; font-size: 17px; }
  .hero-action { margin-top: 28px; }
  .hero-action .button { width: 100%; }
  .hero-action p { text-align: center; }
  .championship-facts > div { flex: 1; min-width: 0; padding: 13px 12px; }
  .championship-facts strong { font-size: 25px; }
  .champion-visual { width: auto; min-height: 0; height: auto; margin-inline: -8px; aspect-ratio: auto; border-radius: 28px; }
  .champion-visual::after { background: linear-gradient(0deg, var(--bg), transparent 22%); }
  .champion-visual img { position: relative; inset: auto; width: 100%; height: auto; object-fit: contain; object-position: center; }
  .table { inset: 5% 1% 4%; }
  .playing-card { width: 55px; height: 83px; background-size: 495px 332px; }
  .card-6c { background-position: -55px 0; } .card-10c { background-position: -275px 0; } .card-kc { background-position: -440px 0; }
  .card-6h { background-position: -55px -83px; } .card-qh { background-position: -385px -83px; }
  .card-as { background-position: 0 -166px; } .card-qd { background-position: -385px -249px; }
  .deck { width: 52px; height: 78px; }
  .trump { right: -21px; width: 33px; height: 47px; font-size: 20px; }
  .benefits { padding-bottom: 70px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-card { min-height: 0; padding: 28px 4px; border-right: 0; border-bottom: 1px solid var(--line); }
  .benefit-card:last-child { border-bottom: 0; }
  .benefit-icon { margin-bottom: 17px; }
  .section { padding: 76px 0; }
  .section-copy h2 { font-size: 43px; }
  .section-copy > p:not(.eyebrow) { margin: 20px 0 29px; font-size: 16px; }
  .section-copy .button { width: 100%; }
  .bracket { grid-template-columns: 1fr; min-height: 0; gap: 10px; }
  .round-card { min-height: 0; padding: 20px; }
  .round-card.current, .round-card.final-round { transform: none; }
  .round-card strong { margin-top: 8px; }
  .round-arrow { text-align: center; transform: rotate(90deg); }
  .game-section-grid { display: flex; flex-direction: column-reverse; gap: 30px; }
  .game-section-grid > * { width: 100%; }
  .cards-fan { min-height: 310px; }
  .cards-fan .playing-card { width: 82px; height: 123px; background-size: 738px 492px; }
  .cards-fan .card-6c { background-position: -82px 0; }
  .cards-fan .card-10h { background-position: -410px -123px; }
  .cards-fan .card-ks { background-position: -656px -246px; }
  .cards-fan .card-ad { background-position: 0 -369px; }
  .check-list { grid-template-columns: 1fr; }
  .telegram-section { padding-top: 18px; }
  .telegram-card { grid-template-columns: 1fr; padding: 34px 24px; }
  .telegram-qr { display: none; }
  .telegram-copy .button { width: 100%; }
  .final-cta { padding: 68px 0; text-align: center; }
  .final-cta-inner { flex-direction: column; }
  .final-cta .button { width: 100%; }
  .footer-inner { flex-direction: column; gap: 14px; }
}

@media (max-width: 390px) {
  .shell { width: min(calc(100% - 24px), var(--shell)); }
  .brand { gap: 6px; font-size: 14px; }
  .brand img { width: 25px; height: 25px; }
  .header-actions { gap: 9px; }
  .button-small { padding-inline: 12px; }
  .champion-visual { min-height: 0; height: auto; }
  .turn-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
