:root {
  --bg: #07060a;
  --bg-soft: #0f0b10;
  --panel: #151016;
  --panel-2: #1c1218;
  --red: #e3b23b;
  --red-dark: #966214;
  --red-deep: #4d2d08;
  --gold: #c52439;
  --gold-soft: #ff6676;
  --text: #fff8fb;
  --muted: #a99ba2;
  --line: rgba(255, 255, 255, 0.09);
  --line-red: rgba(227, 178, 59, 0.34);
  --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; }
.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-header { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; width:100%; }
.countdown-label { margin-bottom: 4px; color: #d5c8cd; font-weight: 800; font-size: 14px; letter-spacing: .03em; }
.countdown-meta { margin-bottom: 12px; color:#fff; font-weight:900; font-size:13px; line-height:1.35; text-align:center; }
.countdown-meta strong { color:#fff; font-weight:900; }
.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); }
.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); }
  .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; }
  .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; }
}

/* MGM v3.0 Final — one MGM with 24 daily sessions */
.market-schedule-group{width:min(1180px,100%);margin:0 auto 34px;padding:24px;border:1px solid var(--line);border-radius:24px;background:rgba(255,255,255,.018)}.market-schedule-title{margin:0 0 18px;color:#fff;font-size:23px;letter-spacing:-.03em}.schedule-grid-24{width:100%;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.schedule-grid-24 .schedule-card{padding:17px 18px;border-radius:16px}.schedule-grid-24 .schedule-card-code{font-size:13px}.schedule-grid-24 .schedule-card-name{margin-top:2px;font-size:9px}.schedule-grid-24 .schedule-card-time{font-size:20px}.filter-grid-markets{grid-template-columns:repeat(4,minmax(0,1fr)) auto}.timezone-note{width:min(1180px,100%);margin:18px auto 0;text-align:center}
@media(max-width:1050px){.schedule-grid-24{grid-template-columns:repeat(3,minmax(0,1fr))}.filter-grid-markets{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-grid-markets .filter-actions{grid-column:1/-1}}
@media(max-width:720px){.market-schedule-group{padding:16px}.schedule-grid-24{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-grid-markets{grid-template-columns:1fr}.filter-grid-markets .filter-actions{grid-column:auto}.schedule-grid-24 .schedule-card{padding:15px}.schedule-grid-24 .schedule-card-code{font-size:11px}.schedule-grid-24 .schedule-card-time{font-size:18px}}
@media(max-width:430px){.schedule-grid-24{grid-template-columns:1fr}}


/* MGM v3.0 single-schedule refinements */
.single-schedule-group{background:radial-gradient(circle at 92% 8%,rgba(237,32,56,.12),transparent 27%),rgba(255,255,255,.018)}
.filter-grid-single{grid-template-columns:repeat(3,minmax(0,1fr)) auto}
@media(max-width:980px){.filter-grid-single{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-grid-single .filter-actions{grid-column:1/-1}}
@media(max-width:620px){.filter-grid-single{grid-template-columns:1fr}.filter-grid-single .filter-actions{grid-column:auto}}

/* ================================================================
   MGM LOTTERY v1.1 — original black, gold, and ruby interface
   ================================================================ */
:root{
  --mgm-gold:#e7b53b;
  --mgm-gold-light:#fff0a0;
  --mgm-gold-dark:#8d5910;
  --mgm-ruby:#c3263b;
  --mgm-ruby-dark:#690914;
}
body{
  background:
    radial-gradient(circle at 72% 5%,rgba(231,181,59,.13),transparent 29%),
    radial-gradient(circle at 3% 35%,rgba(195,38,59,.08),transparent 24%),
    var(--bg);
}
.top-strip{position:relative;z-index:52;border-bottom:1px solid rgba(255,255,255,.07);background:#050506;color:#a79da2;font-size:11px;letter-spacing:.03em}
.top-strip-inner{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.server-clock,.latest-mini{display:flex;align-items:center;gap:9px;min-width:0}
.server-clock strong{color:#fff;font-variant-numeric:tabular-nums;font-size:12px}.server-clock [data-live-date]{white-space:nowrap}.clock-dot{width:7px;height:7px;border-radius:50%;background:#39d98a;box-shadow:0 0 12px rgba(57,217,138,.75)}
.timezone-chip{padding:3px 7px;border:1px solid rgba(231,181,59,.22);border-radius:999px;color:#d9b65b;background:rgba(231,181,59,.06);font-size:8px;font-weight:900;letter-spacing:.13em}
.latest-mini>span{color:#6f666b;text-transform:uppercase;font-size:8px;font-weight:900;letter-spacing:.13em}.latest-mini>strong{color:#e4d9dd;font-size:10px;white-space:nowrap}.mini-digits{display:flex;gap:3px}.mini-digits i{display:grid;place-items:center;width:22px;height:25px;border-radius:6px;background:linear-gradient(145deg,#2a2326,#111012);border:1px solid rgba(231,181,59,.2);color:#fff2b0;font-style:normal;font-size:12px;font-weight:950;box-shadow:inset 0 1px rgba(255,255,255,.05)}
.site-header{background:rgba(7,7,8,.84)}.site-header.scrolled{background:rgba(7,7,8,.96)}
.brand{width:min(315px,38vw)}.brand img{filter:drop-shadow(0 8px 18px rgba(231,181,59,.15))}
.main-nav>a::after{background:linear-gradient(90deg,var(--mgm-gold),var(--mgm-ruby))}
.main-nav>a:hover,.main-nav>a.active{color:#fff7d1}
.section-kicker{color:var(--mgm-gold)}
.button-primary{background:linear-gradient(135deg,var(--mgm-gold-light),var(--mgm-gold) 52%,var(--mgm-gold-dark));color:#171008;box-shadow:0 16px 34px rgba(231,181,59,.20),inset 0 1px rgba(255,255,255,.45)}
.button-primary:hover{filter:brightness(1.08)}
.hero::before{background:radial-gradient(circle at 75% 49%,rgba(231,181,59,.17),transparent 37%),linear-gradient(90deg,rgba(7,7,8,.97) 0%,rgba(7,7,8,.82) 48%,rgba(7,7,8,.1) 100%)}
.hero-orb.one{background:radial-gradient(circle,rgba(231,181,59,.26),transparent 67%)}.hero-orb.two{background:radial-gradient(circle,rgba(195,38,59,.16),transparent 69%)}
.hero-title .gold-text{margin-top:10px;color:var(--mgm-gold);text-shadow:0 18px 46px rgba(231,181,59,.22)}
.decorative{filter:drop-shadow(0 8px 18px rgba(231,181,59,.22))}
.hero-proof{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:28px}.hero-proof span{padding:8px 11px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:rgba(255,255,255,.025);color:#877d82;font-size:10px}.hero-proof b{color:#f5d56e;font-size:12px}
.countdown-unit{border-color:rgba(231,181,59,.14)}.countdown.complete .countdown-value{color:var(--mgm-gold)}

.draw-identifiers{display:flex;align-items:flex-start;justify-content:flex-end;gap:22px}.result-stage-three{width:min(980px,100%)}
.prize-showcase{display:grid;gap:17px;margin-top:34px}.prize-line{display:grid;grid-template-columns:125px 1fr;align-items:center;gap:22px;padding:18px 22px;border:1px solid rgba(255,255,255,.07);border-radius:21px;background:rgba(255,255,255,.018)}.prize-line.primary{border-color:rgba(231,181,59,.24);background:radial-gradient(circle at 80% 10%,rgba(231,181,59,.09),transparent 40%),rgba(255,255,255,.023)}
.prize-rank{color:#8f858a;font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.15em}.prize-line.primary .prize-rank{color:#e4bd57}
.prize-line .winner-digits{margin:0;justify-content:center}.prize-line:not(.primary) .winner-digit{width:68px;height:77px;font-size:38px;border-radius:15px}.prize-line.primary .winner-digit{border-color:rgba(231,181,59,.26)}
.prize-line.primary .winner-digit::before{background:linear-gradient(135deg,rgba(231,181,59,.08),transparent 50%)}

.recent-results-section{position:relative;padding:115px 0;background:linear-gradient(180deg,rgba(255,255,255,.012),transparent 35%);border-top:1px solid rgba(255,255,255,.045)}
.recent-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.result-card{position:relative;overflow:hidden;padding:22px;border:1px solid var(--line);border-radius:21px;background:linear-gradient(145deg,rgba(26,23,25,.96),rgba(10,10,11,.98));box-shadow:0 22px 50px rgba(0,0,0,.26);transition:transform .2s ease,border-color .2s ease}.result-card:hover{transform:translateY(-4px);border-color:rgba(231,181,59,.26)}.result-card::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 100% 0,rgba(231,181,59,.08),transparent 30%);pointer-events:none}.result-card header,.result-card footer{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px}.result-card header div span{display:block;color:#71686d;font-size:8px;font-weight:900;letter-spacing:.15em;text-transform:uppercase}.result-card header div strong{display:block;color:#fff;font-size:18px}.result-card header>b{color:#d6b761;font-size:10px}.result-card-prizes{position:relative;display:grid;gap:8px;margin:18px 0}.result-card-prize{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:10px;padding:10px;border-radius:13px;background:rgba(255,255,255,.026);border:1px solid rgba(255,255,255,.055)}.result-card-prize>span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:rgba(231,181,59,.1);color:#ddb94f;font-size:8px;font-weight:950}.result-card-prize>div{display:flex;justify-content:flex-end;gap:5px}.result-card-prize i{display:grid;place-items:center;width:34px;height:39px;border-radius:9px;background:linear-gradient(145deg,#282226,#111012);border:1px solid rgba(255,255,255,.08);color:#fff;font-style:normal;font-weight:950;font-size:20px;box-shadow:inset 0 1px rgba(255,255,255,.05)}.result-card footer{padding-top:15px;border-top:1px solid rgba(255,255,255,.06);color:#756c71;font-size:9px}.result-card footer strong{color:#b5a9ae;font-size:9px}.section-cta{display:flex;justify-content:center;margin-top:38px}.full-grid{grid-column:1/-1}

.trust-row{display:flex;align-items:center;justify-content:center;gap:42px;min-height:105px}.trust-item{text-align:center;min-width:180px}.trust-item>span{display:block;color:var(--mgm-gold);font-size:28px;font-weight:950;line-height:1}.trust-item strong{display:block;margin-top:7px;font-size:13px}.trust-item small{display:block;margin-top:3px;color:#6f666b;font-size:9px}.trust-separator{width:1px;height:48px;background:var(--line)}

.history-filter-grid{grid-template-columns:1.5fr repeat(3,minmax(150px,1fr)) auto}.filter-search-wide{min-width:0}.history-summary{display:flex;align-items:baseline;justify-content:center;gap:8px;margin:28px 0;color:#756c71}.history-summary strong{color:#e8c45f;font-size:30px}.history-summary span{font-size:11px}.history-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.history-result-card{padding:22px;border:1px solid var(--line);border-radius:21px;background:linear-gradient(145deg,rgba(25,22,24,.96),rgba(9,9,10,.98));box-shadow:0 20px 48px rgba(0,0,0,.25)}.history-result-card header{display:flex;justify-content:space-between;align-items:center}.history-result-card header>div:first-child span{display:block;color:#746a70;font-size:8px;text-transform:uppercase;letter-spacing:.13em;font-weight:900}.history-result-card header>div:first-child strong{display:block;font-size:18px}.history-session-badge{padding:7px 10px;border:1px solid rgba(231,181,59,.2);border-radius:999px;background:rgba(231,181,59,.06);color:#e6c561;font-size:9px;font-weight:950}.history-card-meta{display:flex;justify-content:space-between;gap:10px;margin:15px 0;padding-bottom:13px;border-bottom:1px solid rgba(255,255,255,.06);color:#766d72;font-size:9px}.history-card-meta b{color:#aaa0a5}.history-prizes{display:grid;gap:8px}.history-prize-row{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:10px}.history-prize-row>span{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:rgba(195,38,59,.1);color:#e96676;font-size:8px;font-weight:950}.history-prize-row>div{display:flex;justify-content:flex-end;gap:5px}.history-prize-row i{display:grid;place-items:center;width:36px;height:41px;border-radius:9px;background:#171417;border:1px solid rgba(255,255,255,.08);font-style:normal;font-size:20px;font-weight:950}.history-result-card footer{display:flex;justify-content:space-between;gap:10px;margin-top:15px;padding-top:13px;border-top:1px solid rgba(255,255,255,.06);color:#6f666b;font-size:8px;text-transform:uppercase;letter-spacing:.1em}.history-result-card footer strong{color:#a99fa4;text-transform:none;letter-spacing:0;overflow-wrap:anywhere}
.month-nav{grid-template-columns:repeat(13,minmax(0,1fr))}

.live-three-prizes{min-width:0}.live-prize-stack{display:grid;gap:13px;margin:24px 0}.live-prize-row{padding:13px;border:1px solid rgba(255,255,255,.07);border-radius:16px;background:rgba(255,255,255,.02)}.live-prize-row>span{display:block;margin-bottom:8px;color:#7d7378;font-size:8px;font-weight:950;text-transform:uppercase;letter-spacing:.14em}.live-prize-row.primary{border-color:rgba(231,181,59,.22);background:rgba(231,181,59,.035)}.live-prize-row.primary>span{color:#dfbb55}.live-prize-row .winner-digits{margin:0;gap:6px}.live-prize-row .winner-digit{width:52px;height:61px;border-radius:13px;font-size:31px}.live-prize-row.primary .winner-digit{width:60px;height:70px;font-size:36px}
.single-schedule-group{background:radial-gradient(circle at 92% 8%,rgba(231,181,59,.11),transparent 27%),rgba(255,255,255,.018)}

@media(max-width:1120px){.recent-result-grid,.history-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.history-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-search-wide{grid-column:1/-1}.history-filter-grid .filter-actions{grid-column:1/-1}.month-nav{grid-template-columns:repeat(7,minmax(0,1fr))}}
@media(max-width:980px){.top-strip-inner{min-height:38px}.server-clock [data-live-date]{display:none}.brand{width:min(285px,58vw)}.main-nav>a.active,.main-nav>a:hover{background:rgba(231,181,59,.1)}.hero-proof{justify-content:center}.draw-identifiers{gap:12px}.trust-row{gap:25px}.trust-item{min-width:145px}}
@media(max-width:720px){
  .top-strip{font-size:9px}.top-strip-inner{width:min(calc(100% - 20px),var(--container));gap:8px}.server-clock{gap:6px}.timezone-chip{display:none}.latest-mini>span{display:none}.latest-mini>strong{font-size:8px}.mini-digits i{width:18px;height:21px;font-size:10px}.brand{width:235px}
  .hero-proof{gap:6px}.hero-proof span{padding:6px 8px;font-size:8px}.hero-countdown-wrap{left:50%;right:auto;transform:translateX(-50%);text-align:center;width:min(100% - 24px,560px)}.countdown-label{width:100%;text-align:center;margin-inline:auto;white-space:normal}.countdown{width:100%;justify-content:center;margin-inline:auto}
  .result-meta{display:grid;gap:15px}.draw-identifiers{justify-content:space-between;width:100%}.prize-line{grid-template-columns:1fr;gap:11px;padding:15px}.prize-rank{text-align:center}.prize-line:not(.primary) .winner-digit{width:19vw;max-width:65px;height:70px;font-size:34px}.prize-line.primary .winner-digit{width:20vw;max-width:72px;height:82px;font-size:42px}
  .recent-result-grid,.history-card-grid{grid-template-columns:1fr}.recent-results-section{padding:80px 0}.result-card-prize i,.history-prize-row i{width:min(13vw,40px)}
  .trust-row{flex-direction:column;gap:20px}.trust-separator{width:150px;height:1px}.trust-item{min-width:0}
  .history-filter-grid{grid-template-columns:1fr}.filter-search-wide,.history-filter-grid .filter-actions{grid-column:auto}.month-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.history-result-card{padding:18px}
  .live-prize-row .winner-digits{justify-content:center}.live-prize-row .winner-digit,.live-prize-row.primary .winner-digit{width:19vw;max-width:58px;height:64px;font-size:33px}
}
@media(max-width:430px){.latest-mini>strong{display:none}.top-strip-inner{justify-content:space-between}.server-clock strong{font-size:10px}.brand{width:218px}.prize-line{padding:13px 9px}.result-card{padding:18px}.month-nav{grid-template-columns:repeat(3,minmax(0,1fr))}}


/* MGM LOTTERY v1.3.3 — supplied MGM Casino logo sizing */
.brand{width:min(295px,38vw)}
.brand img{width:100%;height:auto;object-fit:contain;object-position:left center;filter:drop-shadow(0 8px 18px rgba(231,181,59,.18))}
.site-header.scrolled .brand{width:min(255px,34vw)}
@media(max-width:980px){.brand{width:min(265px,56vw)}.site-header.scrolled .brand{width:min(235px,52vw)}}
@media(max-width:720px){.brand{width:210px}.site-header.scrolled .brand{width:190px}}
@media(max-width:430px){.brand{width:196px}.site-header.scrolled .brand{width:178px}}


/* MGM LOTTERY v1.3.4 — mobile hero centering refinement */
@media (max-width: 720px){
  .hero-content{justify-items:center;align-items:center;row-gap:18px;text-align:center}
  .hero-copy{width:100%;max-width:340px;margin-inline:auto;display:flex;flex-direction:column;align-items:center}
  .section-kicker,.hero-title,.hero-description{width:100%;text-align:center;margin-inline:auto}
  .hero-description{max-width:320px}
  .hero-actions{width:min(330px,100%);margin-inline:auto;justify-content:center;align-items:center}
  .hero-actions .button{width:100%;justify-content:center}
  .hero-proof{width:100%;justify-content:center;align-items:center;margin-inline:auto}
  .hero-visual{width:100%;justify-self:center;margin-inline:auto;min-height:320px;margin-top:-12px}
  .hero-illustration{display:block;width:min(94vw,520px);max-width:520px;margin-inline:auto;transform:none}
}
@media (max-width: 430px){
  .hero-copy{max-width:320px}
  .hero-visual{min-height:285px;margin-top:-4px}
  .hero-illustration{width:min(95vw,500px)}
}

/* MGM LOTTERY v1.3.5 — compact premium mobile hero rhythm */
@media (max-width: 720px){
  .hero{align-items:flex-start}
  .hero::after{height:118px}
  .hero-content{
    padding:30px 0 34px;
    row-gap:0;
  }
  .hero.hero-has-countdown .hero-content{padding-bottom:108px}
  .hero-copy{padding-top:0}
  .hero-copy .section-kicker{
    margin:0 0 11px;
    font-size:10px;
    line-height:1.35;
    letter-spacing:.20em;
  }
  .hero-title{
    margin:0;
    line-height:.94;
  }
  .hero-title .gold-text{margin-top:6px}
  .hero-description{
    margin-top:18px;
    max-width:318px;
    font-size:13.5px;
    line-height:1.68;
  }
  .hero-actions{
    gap:9px;
    margin-top:22px;
  }
  .hero-actions .button{
    min-height:49px;
    padding-inline:20px;
  }
  .hero-proof{
    gap:6px;
    margin-top:18px;
  }
  .hero-proof span{
    padding:6px 8px;
    line-height:1.15;
  }
  .hero-visual{
    min-height:270px;
    margin-top:-15px;
  }
  .hero-illustration{width:min(92vw,500px)}
  .decorative-one{top:24%}
  .decorative-two{bottom:20%}
  .hero-dot-grid{top:12%;transform:scale(.88)}
  .hero-countdown-wrap{bottom:10px}
  .countdown-label{
    margin-bottom:9px;
    font-size:12px;
    line-height:1.4;
  }
  .countdown-unit{
    padding:9px 5px 8px;
    border-radius:13px;
  }
  .countdown-value{font-size:23px}
  .countdown-name{
    margin-top:5px;
    font-size:7.5px;
    letter-spacing:.12em;
  }
}
@media (max-width: 430px){
  .hero-content{padding-top:24px;padding-bottom:28px}
  .hero.hero-has-countdown .hero-content{padding-bottom:101px}
  .hero-copy .section-kicker{margin-bottom:9px;font-size:9px}
  .hero-title{font-size:44px}
  .hero-title .gold-text{margin-top:5px}
  .hero-description{
    max-width:306px;
    margin-top:15px;
    font-size:13px;
    line-height:1.62;
  }
  .hero-actions{margin-top:19px;gap:8px}
  .hero-actions .button{min-height:47px;font-size:13px}
  .hero-proof{margin-top:15px;gap:5px}
  .hero-proof span{padding:5px 7px;font-size:7.5px}
  .hero-proof b{font-size:11px}
  .hero-visual{min-height:250px;margin-top:-17px}
  .hero-illustration{width:min(94vw,480px)}
  .countdown-label{font-size:11px;margin-bottom:8px}
  .countdown{gap:6px}
  .countdown-unit{padding:8px 4px 7px}
  .countdown-value{font-size:21px}
}



/* MGM LOTTERY v1.3.6 — mobile countdown label true centering */
@media (max-width: 720px){
  .hero-countdown-wrap{
    left:50%;
    right:auto;
    transform:translateX(-50%);
    width:calc(100% - 24px);
    max-width:360px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    margin-inline:auto;
  }
  .countdown-label{
    width:100%;
    padding-inline:8px;
    text-align:center;
    margin-inline:auto;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    white-space:normal;
  }
  .countdown-label strong{
    display:block;
    width:100%;
    text-align:center;
    line-height:1.35;
  }
  .countdown{
    width:100%;
    justify-content:center;
    margin-inline:auto;
  }
}
@media (max-width: 430px){
  .hero-countdown-wrap{max-width:348px}
  .countdown-label{font-size:11px;line-height:1.35;padding-inline:10px}
  .countdown-label strong{font-size:11px}
}


/* MGM LOTTERY v1.3.7 — split next draw header for perfect mobile centering */
@media (max-width: 720px){
  .hero-countdown-wrap{
    left:50%;
    right:auto;
    transform:translateX(-50%);
    width:calc(100% - 24px);
    max-width:360px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
  }
  .countdown-header,
  .countdown-label,
  .countdown-meta{
    width:100%;
    text-align:center;
    margin-inline:auto;
    align-items:center;
    justify-content:center;
  }
  .countdown-label{margin-bottom:2px;padding-inline:10px;line-height:1.35}
  .countdown-meta{margin-bottom:8px;padding-inline:10px;font-size:11px;line-height:1.35}
  .countdown{width:100%;justify-content:center;margin-inline:auto}
}
@media (max-width: 430px){
  .hero-countdown-wrap{max-width:348px}
  .countdown-label{font-size:11px}
  .countdown-meta{font-size:10px;margin-bottom:7px}
}


/* MGM LOTTERY v1.3.8 — FINAL mobile Next Draw centering
   Centering no longer depends on translateX(), so reveal transforms cannot shift it right. */
.hero .hero-countdown-wrap{
  left:0;
  right:0;
  width:min(720px,calc(100% - 36px));
  max-width:720px;
  margin-left:auto;
  margin-right:auto;
  transform:none;
  box-sizing:border-box;
  text-align:center;
}
.hero .hero-countdown-wrap .countdown-header,
.hero .hero-countdown-wrap .countdown-label,
.hero .hero-countdown-wrap .countdown-meta{
  width:100%;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}
.hero .hero-countdown-wrap .countdown{
  width:100%;
  margin-left:auto;
  margin-right:auto;
  justify-content:center;
}
@media (max-width:720px){
  .hero .hero-countdown-wrap{
    left:12px;
    right:12px;
    width:auto;
    max-width:360px;
    margin-left:auto;
    margin-right:auto;
    transform:none;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    overflow:visible;
  }
  .hero .hero-countdown-wrap .countdown-header{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
  }
  .hero .hero-countdown-wrap .countdown-label,
  .hero .hero-countdown-wrap .countdown-meta{
    display:block;
    padding-left:8px;
    padding-right:8px;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  .hero .hero-countdown-wrap .countdown{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:7px;
  }
  .hero .hero-countdown-wrap .countdown-unit{
    width:auto;
    min-width:0;
    max-width:none;
  }
}
@media (max-width:430px){
  .hero .hero-countdown-wrap{
    left:10px;
    right:10px;
    max-width:348px;
  }
  .hero .hero-countdown-wrap .countdown{
    gap:6px;
  }
}


/* MGM LOTTERY v1.3.8 FINAL — mobile countdown in normal flow and centered */
@media screen and (max-width:720px){
  .hero.hero-has-countdown{display:block!important;min-height:0!important;overflow:hidden!important}
  .hero.hero-has-countdown .hero-content{padding-bottom:0!important}
  .hero.hero-has-countdown .hero-countdown-wrap{position:relative!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important;min-width:0!important;margin:-10px auto 0!important;padding:0 14px 18px!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;overflow:visible!important;z-index:6!important}
  .hero.hero-has-countdown .countdown-header{width:100%!important;max-width:360px!important;margin:0 auto 8px!important;padding:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;box-sizing:border-box!important}
  .hero.hero-has-countdown .countdown-label,.hero.hero-has-countdown .countdown-meta,.hero.hero-has-countdown .countdown-label strong{display:block!important;width:100%!important;max-width:100%!important;margin:0 auto!important;padding:0 8px!important;box-sizing:border-box!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.35!important}
  .hero.hero-has-countdown .countdown-label{font-size:12px!important}.hero.hero-has-countdown .countdown-meta{margin-top:2px!important;font-size:11px!important}
  .hero.hero-has-countdown .countdown{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:stretch!important;justify-content:center!important;width:min(100%,360px)!important;max-width:360px!important;min-width:0!important;margin:0 auto!important;padding:0!important;gap:6px!important;box-sizing:border-box!important}
  .hero.hero-has-countdown .countdown-unit{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:9px 3px 8px!important;box-sizing:border-box!important}.hero.hero-has-countdown .countdown-value{font-size:22px!important}.hero.hero-has-countdown .countdown-name{font-size:7px!important;letter-spacing:.08em!important}
  .hero.hero-has-countdown + .latest-section{padding-top:76px!important}
}
@media screen and (max-width:390px){.hero.hero-has-countdown .hero-countdown-wrap{margin-top:-6px!important;padding-inline:10px!important}.hero.hero-has-countdown .countdown-header,.hero.hero-has-countdown .countdown{max-width:342px!important}.hero.hero-has-countdown .countdown-label{font-size:11px!important}.hero.hero-has-countdown .countdown-meta{font-size:10px!important}.hero.hero-has-countdown .countdown-value{font-size:21px!important}}


/* MGM LOTTERY v1.4.0 — mobile hero background fit */
@media screen and (max-width:720px){
  .hero[style*="background-image"]{
    background-size:contain !important;
    background-repeat:no-repeat !important;
    background-position:center 26px !important;
  }
}
@media screen and (max-width:430px){
  .hero[style*="background-image"]{
    background-size:contain !important;
    background-position:center 34px !important;
  }
}
