:root {
  --bg: #07060a;
  --bg-soft: #0f0b10;
  --panel: #151016;
  --panel-2: #1c1218;
  --red: #ed2038;
  --red-dark: #97101e;
  --red-deep: #5c0912;
  --gold: #ffb727;
  --gold-soft: #ffd06c;
  --text: #fff8fb;
  --muted: #a99ba2;
  --line: rgba(255, 255, 255, 0.09);
  --line-red: rgba(237, 32, 56, 0.32);
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.48);
  --container: 1180px;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 70% 7%, rgba(116, 11, 25, 0.19), transparent 30%),
    radial-gradient(circle at 4% 33%, rgba(237, 32, 56, 0.07), transparent 24%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 92px;
  border-bottom: 1px solid transparent;
  background: rgba(7, 6, 10, 0.76);
  backdrop-filter: blur(16px);
  transition: height .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  height: 78px;
  background: rgba(7, 6, 10, 0.94);
  border-color: var(--line);
  box-shadow: 0 12px 38px rgba(0,0,0,.32);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { display: inline-flex; align-items: center; width: min(340px, 38vw); position: relative; z-index: 2; }
.brand img { width: 100%; height: auto; filter: drop-shadow(0 8px 15px rgba(230, 31, 53, .18)); }
.main-nav { display: flex; align-items: center; gap: 38px; font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.main-nav > a { position: relative; padding: 14px 0; color: #b5a9ae; transition: color .2s ease; }
.main-nav > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 7px; height: 2px; border-radius: 999px; background: linear-gradient(90deg, var(--red), var(--gold)); transition: right .2s ease; }
.main-nav > a:hover, .main-nav > a.active { color: #fff; }
.main-nav > a:hover::after, .main-nav > a.active::after { right: 0; }
.language-menu { position: relative; }
.language-button { display: flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 12px 0; cursor: pointer; color: #fff; font-weight: 800; }
.language-button svg { width: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s ease; }
.language-menu.open .language-button svg { transform: rotate(180deg); }
.language-dropdown { position: absolute; right: 0; top: calc(100% + 10px); min-width: 150px; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-8px); background: #191118; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); transition: .2s ease; }
.language-menu.open .language-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.language-dropdown a { display: block; padding: 10px 12px; border-radius: 9px; color: var(--muted); font-size: 13px; }
.language-dropdown a:hover, .language-dropdown a.active { color: #fff; background: rgba(237, 32, 56, .15); }
.nav-toggle { display: none; width: 46px; height: 44px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.035); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 999px; transition: .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Shared */
.section-kicker { color: var(--red); font-weight: 900; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
.section-heading { margin: 8px 0 0; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.08; letter-spacing: -.04em; }
.section-copy { max-width: 640px; margin: 18px auto 0; color: var(--muted); }
.section-header { text-align: center; margin-bottom: 48px; }
.button { border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 25px; border-radius: 999px; font-weight: 900; font-size: 14px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.button:hover { transform: translateY(-2px); filter: brightness(1.06); }
.button-primary { background: linear-gradient(135deg, #f32840, #a90e20); color: #fff; box-shadow: 0 16px 34px rgba(222, 26, 49, .28), inset 0 1px rgba(255,255,255,.24); }
.button-secondary { background: rgba(255,255,255,.045); color: #fff; border: 1px solid var(--line); }
.button-icon { width: 18px; height: 18px; }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
.flash { width: min(calc(100% - 40px), 780px); margin: 26px auto 0; padding: 15px 18px; border-radius: 14px; border: 1px solid; }
.flash.success { background: rgba(18, 168, 92, .11); border-color: rgba(35, 217, 122, .32); color: #9ff4c8; }
.flash.error { background: rgba(237, 32, 56, .12); border-color: rgba(237, 32, 56, .34); color: #ffc2ca; }

/* Home hero */
.hero { position: relative; min-height: 710px; display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.055); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 49%, rgba(188, 20, 42, .20), transparent 37%), linear-gradient(90deg, rgba(7,6,10,.96) 0%, rgba(7,6,10,.82) 48%, rgba(7,6,10,.1) 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-noise { position: absolute; inset: 0; opacity: .12; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E"); pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(4px); opacity: .45; }
.hero-orb.one { width: 390px; height: 390px; right: 10%; top: 21%; background: radial-gradient(circle, rgba(237,32,56,.32), transparent 67%); }
.hero-orb.two { width: 230px; height: 230px; right: 37%; top: 58%; background: radial-gradient(circle, rgba(255,183,39,.12), transparent 69%); }
.hero-content { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, .86fr) minmax(480px, 1.14fr); align-items: center; gap: 20px; padding: 62px 0 105px; }
.hero-copy { padding-top: 8px; }
.hero-title { margin: 0; font-size: clamp(53px, 7.3vw, 98px); line-height: .92; letter-spacing: -.065em; font-weight: 950; max-width: 660px; }
.hero-title span { display: block; }
.hero-title .red-text { margin-top: 10px; color: var(--red); text-shadow: 0 18px 46px rgba(237, 32, 56, .25); }
.hero-description { max-width: 530px; margin: 31px 0 0; color: #afa1a7; font-size: 16px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 13px; margin-top: 34px; }
.hero-visual { position: relative; align-self: stretch; min-height: 560px; display: grid; place-items: center; }
.hero-illustration { position: relative; z-index: 2; width: min(650px, 55vw); max-width: none; transform: translate(3%, 1%); filter: drop-shadow(0 35px 48px rgba(0,0,0,.55)); animation: heroFloat 6s ease-in-out infinite; }
.decorative { position: absolute; z-index: 1; filter: drop-shadow(0 8px 18px rgba(237,32,56,.2)); }
.decorative-one { left: 2%; top: 22%; width: 68px; animation: spinFloat 9s linear infinite; }
.decorative-two { right: 2%; bottom: 25%; width: 78px; animation: floatSmall 4.5s ease-in-out infinite; }
.hero-dot-grid { position: absolute; right: 0; top: 9%; width: 105px; height: 105px; opacity: .28; background-image: radial-gradient(rgba(255,255,255,.5) 1px, transparent 1px); background-size: 13px 13px; }
@keyframes heroFloat { 0%,100%{transform:translate(3%,1%)}50%{transform:translate(3%,-1.5%)} }
@keyframes spinFloat { to { transform: rotate(360deg); } }
@keyframes floatSmall { 0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-14px) rotate(4deg)} }

.hero-countdown-wrap { position: absolute; left: 50%; bottom: 5px; z-index: 5; transform: translateX(-50%); width: min(720px, calc(100% - 36px)); text-align: center; }
.countdown-label { margin-bottom: 16px; color: #d5c8cd; font-weight: 800; font-size: 14px; letter-spacing: .03em; }
.countdown-label strong { color: #fff; }
.countdown { display: flex; justify-content: center; gap: 12px; }
.countdown-unit { min-width: 94px; padding: 13px 13px 11px; border-radius: 18px; background: linear-gradient(145deg, rgba(34,23,29,.95), rgba(16,11,15,.94)); border: 1px solid rgba(255,255,255,.09); box-shadow: 0 18px 38px rgba(0,0,0,.34), inset 0 1px rgba(255,255,255,.04); }
.countdown-value { display: block; color: #fff; font-size: 31px; line-height: 1; font-weight: 950; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.countdown-name { display: block; margin-top: 7px; color: #766a70; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .16em; }
.countdown.complete .countdown-value { color: var(--red); }

/* Latest result */
.latest-section { position: relative; padding: 128px 0 120px; overflow: hidden; }
.latest-section::before { content:""; position:absolute; width:580px; height:580px; left:-300px; top:70px; border-radius:50%; background:radial-gradient(circle,rgba(237,32,56,.09),transparent 70%); }
.result-stage { position: relative; width: min(920px, 100%); margin: 0 auto; padding: 48px 50px 44px; border-radius: 30px; background: linear-gradient(145deg, rgba(27,17,23,.97), rgba(12,9,13,.97)); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.result-stage::before { content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; background:linear-gradient(120deg,rgba(255,255,255,.045),transparent 22%,transparent 77%,rgba(237,32,56,.045)); }
.result-stage::after { content:""; position:absolute; left:50%; top:0; width:350px; height:3px; transform:translateX(-50%); background:linear-gradient(90deg,transparent,var(--red),var(--gold),transparent); box-shadow:0 0 18px rgba(237,32,56,.7); }
.result-meta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 27px; border-bottom: 1px solid var(--line); }
.pool-mark { display:flex; align-items:center; gap:13px; }
.pool-icon { width: 43px; height: 43px; border-radius: 14px; display:grid; place-items:center; background:linear-gradient(145deg,#f12840,#95101f); box-shadow:0 10px 24px rgba(237,32,56,.25); font-weight:950; }
.pool-name { color:#fff; font-weight:900; }
.pool-time { color:var(--muted); font-size:13px; }
.period-block { text-align:right; }
.period-block span { display:block; color:#756a70; font-size:10px; font-weight:900; letter-spacing:.14em; text-transform:uppercase; }
.period-block strong { display:block; margin-top:4px; font-size:17px; }
.winner-label { text-align:center; margin:38px 0 24px; color:#aa9da3; font-size:13px; font-weight:900; letter-spacing:.11em; text-transform:uppercase; }
.winner-digits { display:flex; justify-content:center; gap:16px; }
.winner-digit { position:relative; width:112px; height:126px; display:grid; place-items:center; border-radius:22px; color:#fff; font-size:66px; line-height:1; font-weight:950; font-variant-numeric:tabular-nums; background:linear-gradient(155deg,#f52a42 0%,#bb1226 53%,#72101b 100%); border:1px solid rgba(255,255,255,.22); box-shadow:0 22px 35px rgba(0,0,0,.34),0 10px 28px rgba(218,21,45,.20),inset 0 2px 2px rgba(255,255,255,.32),inset 0 -12px 22px rgba(60,0,9,.22); overflow:hidden; }
.winner-digit::before { content:""; position:absolute; left:10%; right:10%; top:5%; height:43%; border-radius:15px; background:linear-gradient(rgba(255,255,255,.22),transparent); }
.winner-digit span { position:relative; z-index:1; text-shadow:0 4px 0 rgba(94,4,16,.55); }
.winner-digits.empty .winner-digit { background:linear-gradient(155deg,#2d2429,#151116); color:#665b61; }
.result-actions { margin-top:35px; display:flex; justify-content:center; align-items:center; gap:14px; }
.result-date { text-align:center; margin-top:20px; color:#746970; font-size:13px; }

/* Schedule */
.schedule-section { padding: 0 0 120px; }
.schedule-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; width:min(850px,100%); margin:0 auto; }
.schedule-card { position:relative; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:25px 27px; border-radius:21px; background:rgba(255,255,255,.027); border:1px solid var(--line); overflow:hidden; transition:.22s ease; }
.schedule-card::after { content:""; position:absolute; width:110px; height:110px; right:-55px; top:-55px; border-radius:50%; background:rgba(237,32,56,.08); }
.schedule-card:hover { transform:translateY(-3px); border-color:rgba(237,32,56,.25); background:rgba(237,32,56,.045); }
.schedule-card-code { color:#fff; font-weight:950; font-size:17px; }
.schedule-card-name { color:var(--muted); font-size:12px; }
.schedule-card-time { position:relative; z-index:1; color:var(--gold-soft); font-size:27px; line-height:1; font-weight:950; font-variant-numeric:tabular-nums; }
.timezone-note { text-align:center; color:#665c61; font-size:12px; margin-top:17px; }

/* Inner page hero */
.inner-hero { position:relative; min-height:360px; display:flex; align-items:center; overflow:hidden; border-bottom:1px solid var(--line); }
.inner-hero::before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 65% 25%,rgba(237,32,56,.17),transparent 36%),linear-gradient(135deg,#08070a,#12090d); }
.inner-hero::after { content:""; position:absolute; inset:0; opacity:.25; background-image:radial-gradient(rgba(255,255,255,.16) 1px,transparent 1px); background-size:28px 28px; mask-image:linear-gradient(90deg,transparent,black,transparent); }
.inner-hero-content { position:relative; z-index:2; padding:70px 0; text-align:center; }
.inner-hero h1 { margin:8px 0 13px; font-size:clamp(43px,6vw,74px); line-height:1; letter-spacing:-.05em; }
.inner-hero p { width:min(630px,100%); margin:0 auto; color:var(--muted); }

/* Live draw */
.live-page-content { padding:85px 0 115px; }
.live-layout { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr); gap:24px; align-items:start; }
.live-screen-card, .live-side-card { border:1px solid var(--line); border-radius:26px; background:linear-gradient(145deg,rgba(26,17,22,.97),rgba(11,8,12,.98)); box-shadow:var(--shadow); overflow:hidden; }
.live-screen-top { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:20px 24px; border-bottom:1px solid var(--line); }
.live-screen-title { display:flex; align-items:center; gap:11px; font-weight:900; }
.live-pulse { width:10px; height:10px; border-radius:50%; background:#ee2940; box-shadow:0 0 0 0 rgba(238,41,64,.5); animation:pulse 1.8s infinite; }
@keyframes pulse { 70%{box-shadow:0 0 0 10px rgba(238,41,64,0)}100%{box-shadow:0 0 0 0 rgba(238,41,64,0)} }
.live-status { padding:7px 11px; border-radius:999px; font-size:10px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.live-status.live { color:#ffd5db; background:rgba(237,32,56,.16); border:1px solid rgba(237,32,56,.3); }
.live-status.finished, .live-status.upcoming { color:#c7bbc1; background:rgba(255,255,255,.05); border:1px solid var(--line); }
.live-frame { position:relative; aspect-ratio:16/9; background:radial-gradient(circle at 50% 50%,#32121c,#07060a 70%); }
.live-frame iframe { width:100%; height:100%; border:0; display:block; }
.live-placeholder { position:absolute; inset:0; display:grid; place-items:center; text-align:center; padding:30px; }
.live-placeholder img { width:min(480px,72%); opacity:.22; filter:grayscale(1); }
.live-placeholder-inner { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:15px; }
.play-ring { width:84px; height:84px; border-radius:50%; display:grid; place-items:center; background:linear-gradient(145deg,#ef2840,#97101f); box-shadow:0 19px 40px rgba(237,32,56,.25); }
.play-ring::before { content:""; width:0; height:0; border-top:12px solid transparent; border-bottom:12px solid transparent; border-left:19px solid #fff; margin-left:5px; }
.live-placeholder strong { font-size:22px; }
.live-placeholder span { color:var(--muted); font-size:13px; }
.live-screen-note { padding:16px 22px; color:#74696f; font-size:12px; text-align:center; border-top:1px solid var(--line); }
.live-side-card { padding:31px 28px; }
.live-side-card h2 { margin:0; font-size:24px; letter-spacing:-.03em; }
.live-side-card .mini-label { margin-top:5px; color:var(--muted); font-size:13px; }
.live-side-card .winner-digits { gap:9px; margin-top:25px; }
.live-side-card .winner-digit { width:66px; height:75px; border-radius:15px; font-size:39px; }
.live-detail-list { display:grid; gap:0; margin-top:28px; border-top:1px solid var(--line); }
.live-detail { display:flex; justify-content:space-between; gap:18px; padding:15px 0; border-bottom:1px solid var(--line); font-size:13px; }
.live-detail span { color:var(--muted); }
.live-detail strong { text-align:right; }
.live-side-countdown { margin-top:26px; padding:19px; border-radius:17px; background:rgba(255,255,255,.028); border:1px solid var(--line); }
.live-side-countdown .countdown-label { text-align:center; margin-bottom:13px; font-size:12px; }
.live-side-countdown .countdown-unit { min-width:0; flex:1; padding:10px 5px; border-radius:12px; }
.live-side-countdown .countdown-value { font-size:22px; }
.live-side-countdown .countdown-name { font-size:7px; }
.live-actions { display:flex; gap:10px; margin-top:22px; }
.live-actions .button { flex:1; padding-inline:14px; }

/* History */
.history-content { padding:78px 0 120px; }
.month-nav { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; margin-bottom:28px; }
.month-nav a { min-height:47px; display:grid; place-items:center; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.025); color:#978b91; font-size:12px; font-weight:850; transition:.2s ease; }
.month-nav a:hover, .month-nav a.active { color:#fff; background:linear-gradient(145deg,rgba(237,32,56,.22),rgba(111,7,19,.15)); border-color:rgba(237,32,56,.32); }
.history-mode-tabs { display:flex; justify-content:center; gap:9px; margin:0 0 28px; }
.history-mode-tabs a { padding:11px 20px; border-radius:999px; border:1px solid var(--line); color:var(--muted); font-size:13px; font-weight:850; }
.history-mode-tabs a.active { background:#fff; color:#100b0e; border-color:#fff; }
.filter-panel { padding:24px; border:1px solid var(--line); border-radius:22px; background:rgba(255,255,255,.025); margin-bottom:29px; }
.filter-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)) auto; gap:12px; align-items:end; }
.form-group label { display:block; margin:0 0 7px; color:#84787e; font-size:10px; font-weight:900; text-transform:uppercase; letter-spacing:.12em; }
.form-control { width:100%; height:48px; padding:0 14px; color:#fff; background:#100c10; border:1px solid var(--line); border-radius:12px; outline:0; transition:border-color .2s ease,box-shadow .2s ease; color-scheme:dark; }
.form-control:focus { border-color:rgba(237,32,56,.62); box-shadow:0 0 0 3px rgba(237,32,56,.09); }
.filter-actions { display:flex; gap:8px; }
.filter-actions .button { min-height:48px; padding-inline:18px; }
.history-list { display:grid; gap:14px; }
.history-row { display:grid; grid-template-columns:1.2fr .8fr .9fr 1.3fr; align-items:center; gap:20px; padding:21px 24px; border:1px solid var(--line); border-radius:18px; background:linear-gradient(120deg,rgba(255,255,255,.025),rgba(255,255,255,.008)); transition:.2s ease; }
.history-row:hover { transform:translateY(-2px); border-color:rgba(237,32,56,.25); }
.history-date strong, .history-pool strong { display:block; }
.history-date span, .history-pool span, .history-period span { display:block; color:#73686e; font-size:11px; margin-top:3px; }
.history-number { display:flex; justify-content:flex-end; gap:7px; }
.history-number span { width:42px; height:46px; display:grid; place-items:center; border-radius:11px; background:linear-gradient(145deg,#ef2941,#991020); font-weight:950; font-size:23px; box-shadow:inset 0 1px rgba(255,255,255,.2); }
.empty-state { padding:65px 25px; text-align:center; border:1px dashed rgba(255,255,255,.13); border-radius:22px; color:var(--muted); }
.pagination { display:flex; justify-content:center; gap:8px; margin-top:30px; }
.pagination a, .pagination span { min-width:42px; height:42px; display:grid; place-items:center; border-radius:12px; border:1px solid var(--line); color:var(--muted); }
.pagination .active { color:#fff; background:var(--red); border-color:var(--red); }

/* About & contact */
.content-section { padding:86px 0 120px; }
.prose-card { width:min(880px,100%); margin:0 auto; padding:clamp(30px,6vw,62px); border:1px solid var(--line); border-radius:28px; background:linear-gradient(145deg,rgba(26,17,22,.94),rgba(10,8,11,.97)); box-shadow:var(--shadow); }
.prose-card h2 { margin:0 0 20px; font-size:clamp(28px,4vw,42px); letter-spacing:-.04em; }
.prose-card p { color:#b1a3a9; line-height:1.9; white-space:pre-line; }
.prose-card p + p { margin-top:22px; }
.about-points { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:34px; }
.about-point { padding:22px; border-radius:17px; background:rgba(255,255,255,.026); border:1px solid var(--line); }
.about-point strong { display:block; font-size:18px; }
.about-point span { display:block; margin-top:7px; color:var(--muted); font-size:12px; }
.contact-layout { display:grid; grid-template-columns:.8fr 1.2fr; gap:24px; width:min(1000px,100%); margin:0 auto; }
.contact-info, .contact-form-card { padding:36px; border:1px solid var(--line); border-radius:25px; background:linear-gradient(145deg,rgba(25,16,21,.95),rgba(10,8,11,.97)); }
.contact-info h2 { margin:0; font-size:31px; letter-spacing:-.04em; }
.contact-info p { color:var(--muted); }
.contact-channel { margin-top:28px; padding-top:24px; border-top:1px solid var(--line); }
.contact-channel span { display:block; color:#756a70; font-size:10px; text-transform:uppercase; letter-spacing:.13em; font-weight:900; }
.contact-channel strong { display:block; margin-top:5px; overflow-wrap:anywhere; }
.contact-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:17px; }
.contact-form .full { grid-column:1/-1; }
.contact-form textarea { height:160px; padding-top:13px; resize:vertical; }
.contact-form .button { justify-self:start; }

/* Footer */
.site-footer { position:relative; padding:64px 0 35px; overflow:hidden; border-top:1px solid rgba(255,255,255,.055); background:#070609; }
.footer-glow { position:absolute; width:400px; height:230px; border-radius:50%; filter:blur(30px); opacity:.11; pointer-events:none; }
.footer-glow-left { left:-210px; bottom:-110px; background:var(--red); }
.footer-glow-right { right:-240px; top:-140px; background:var(--gold); }
.partner-row { display:flex; align-items:center; justify-content:center; gap:38px; min-height:92px; }
.partner-item { display:grid; place-items:center; min-width:150px; opacity:.55; filter:grayscale(1); transition:.2s ease; }
.partner-item:hover { opacity:.9; filter:grayscale(0); }
.partner-item img { max-height:64px; width:auto; }
.partner-item.partner-wide { min-width:275px; }
.partner-separator { width:1px; height:47px; background:var(--line); }
.footer-divider { height:1px; margin:40px 0 25px; background:linear-gradient(90deg,transparent,var(--line),transparent); }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; gap:28px; color:#61575c; font-size:12px; }
.footer-nav { display:flex; align-items:center; gap:25px; color:#8d8187; font-weight:750; }
.footer-nav a:hover { color:#fff; }
.footer-bottom p { margin:0; text-align:right; }

@media (max-width: 980px) {
  .site-header, .site-header.scrolled { height:76px; }
  .brand { width:min(300px,58vw); }
  .nav-toggle { display:flex; }
  .main-nav { position:fixed; left:16px; right:16px; top:86px; display:flex; flex-direction:column; align-items:stretch; gap:2px; padding:16px; border:1px solid var(--line); border-radius:20px; background:rgba(17,12,16,.98); box-shadow:var(--shadow); opacity:0; visibility:hidden; transform:translateY(-15px); transition:.22s ease; }
  .main-nav.open { opacity:1; visibility:visible; transform:translateY(0); }
  .main-nav > a { padding:13px 14px; border-radius:11px; }
  .main-nav > a::after { display:none; }
  .main-nav > a.active, .main-nav > a:hover { background:rgba(237,32,56,.11); }
  .language-menu { border-top:1px solid var(--line); margin-top:6px; padding-top:6px; }
  .language-button { width:100%; justify-content:space-between; padding:13px 14px; }
  .language-dropdown { position:static; min-width:0; display:none; opacity:1; visibility:visible; transform:none; background:transparent; box-shadow:none; border:0; padding:0 8px 8px; }
  .language-menu.open .language-dropdown { display:block; }
  .hero { min-height:auto; }
  .hero-content { grid-template-columns:1fr; padding:65px 0 145px; text-align:center; }
  .hero-title { margin-inline:auto; font-size:clamp(56px,11vw,86px); }
  .hero-description { margin-inline:auto; }
  .hero-actions { justify-content:center; }
  .hero-visual { min-height:460px; margin-top:-55px; }
  .hero-illustration { width:min(610px,78vw); transform:none; }
  @keyframes heroFloat { 0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)} }
  .decorative-one { left:13%; }
  .decorative-two { right:12%; }
  .hero-countdown-wrap { bottom:14px; }
  .live-layout { grid-template-columns:1fr; }
  .filter-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .filter-actions { grid-column:1/-1; }
  .history-row { grid-template-columns:1fr 1fr; }
  .history-number { justify-content:flex-start; }
  .contact-layout { grid-template-columns:1fr; }
}

@media (max-width: 720px) {
  .container { width:min(calc(100% - 28px),var(--container)); }
  .hero-content { padding-top:48px; }
  .hero-title { font-size:clamp(47px,14vw,70px); }
  .hero-description { font-size:14px; line-height:1.75; }
  .hero-actions { flex-direction:column; align-items:stretch; width:min(330px,100%); margin-inline:auto; }
  .hero-visual { min-height:350px; margin-top:-32px; }
  .hero-illustration { width:min(540px,103vw); }
  .decorative-one { width:50px; left:4%; }
  .decorative-two { width:57px; right:2%; }
  .countdown { gap:7px; }
  .countdown-unit { min-width:0; flex:1; padding:11px 5px 9px; border-radius:14px; }
  .countdown-value { font-size:25px; }
  .latest-section { padding:105px 0 85px; }
  .section-header { margin-bottom:33px; }
  .result-stage { padding:30px 16px 31px; border-radius:22px; }
  .result-meta { align-items:flex-start; }
  .pool-icon { width:38px; height:38px; }
  .pool-name { font-size:14px; }
  .period-block strong { font-size:14px; }
  .winner-label { margin-top:29px; }
  .winner-digits { gap:8px; }
  .winner-digit { width:21vw; max-width:83px; height:96px; border-radius:17px; font-size:49px; }
  .result-actions { flex-direction:column; align-items:stretch; }
  .schedule-grid { grid-template-columns:1fr; }
  .schedule-section { padding-bottom:85px; }
  .inner-hero { min-height:300px; }
  .inner-hero-content { padding:55px 0; }
  .live-page-content, .history-content, .content-section { padding:55px 0 85px; }
  .live-screen-top { padding:16px; }
  .live-placeholder strong { font-size:18px; }
  .play-ring { width:66px; height:66px; }
  .live-side-card { padding:26px 17px; }
  .live-side-card .winner-digit { width:20vw; max-width:64px; height:72px; font-size:37px; }
  .month-nav { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .filter-panel { padding:16px; }
  .filter-grid { grid-template-columns:1fr; }
  .filter-actions { grid-column:auto; }
  .filter-actions .button { flex:1; }
  .history-row { grid-template-columns:1fr; gap:13px; padding:19px; }
  .history-number { justify-content:flex-start; }
  .about-points { grid-template-columns:1fr; }
  .contact-info, .contact-form-card { padding:26px 20px; }
  .contact-form { grid-template-columns:1fr; }
  .contact-form .full { grid-column:auto; }
  .partner-row { flex-wrap:wrap; gap:22px; }
  .partner-item, .partner-item.partner-wide { min-width:120px; max-width:220px; }
  .partner-separator { display:none; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .footer-bottom p { text-align:center; }
}

@media (max-width: 420px) {
  .brand { width:235px; }
  .hero-title { font-size:46px; }
  .hero-visual { min-height:300px; }
  .winner-digit { height:82px; font-size:43px; }
  .live-side-card .winner-digit { height:62px; font-size:32px; }
  .history-number span { width:39px; height:43px; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; transition-duration:.01ms !important; }
  [data-reveal] { opacity:1; transform:none; }
}
