/* Game District — lobby (home) */
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 140px; }
body.gd { margin: 0; min-height: 100vh; background: transparent; color: var(--text); font-family: var(--gd-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.gd *, body.gd *::before, body.gd *::after { box-sizing: border-box; }
body.gd a { color: inherit; text-decoration: none; }
body.gd img { display: block; max-width: 100%; }
body.gd button { font: inherit; color: inherit; }
body.gd :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.gd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gd-btn--lg { height: 52px; padding: 0 24px; border-radius: 15px; font-size: 15px; }

/* ================= intro ================= */
.gd-intro { display: none; }
html.gd-intro-lock, html.gd-intro-lock body { overflow: hidden; }
html.gd-intro-on .gd-intro {
  position: fixed; inset: 0; z-index: 10001;
  display: grid; place-items: center;
  overflow: hidden; cursor: pointer;
  background: radial-gradient(60% 50% at 50% 50%, #0b2219 0%, #030806 70%);
  clip-path: polygon(0 0, 130% 0, 130% 100%, -15% 100%);
  animation: gdIntroWipe 0.6s cubic-bezier(0.7, 0, 0.3, 1) 1.75s forwards;
}
html.gd-intro-on .gd-intro::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(255, 236, 170, 0.9), rgba(240, 194, 75, 0.35) 30%, transparent 60%); opacity: 0; animation: gdIntroFlash 0.5s ease-out 0.5s both; pointer-events: none; }
@keyframes gdIntroWipe { to { clip-path: polygon(130% 0, 130% 0, 130% 100%, 115% 100%); visibility: hidden; } }
@keyframes gdIntroFlash { 0% { opacity: 0.85; } 100% { opacity: 0; } }

.gd-intro__grid { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 60%; background-image: linear-gradient(rgba(31, 209, 143, 0.35) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 209, 143, 0.35) 1px, transparent 1px); background-size: 60px 60px; transform: perspective(500px) rotateX(62deg); transform-origin: 50% 0; mask-image: linear-gradient(180deg, transparent, #000 40%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); opacity: 0; animation: gdIntroGrid 1.8s ease-out 0.05s both; }
@keyframes gdIntroGrid { 0% { opacity: 0; background-position: 0 0; } 30% { opacity: 0.6; } 100% { opacity: 0.45; background-position: 0 120px; } }
.gd-intro__beam { position: absolute; left: 50%; top: -10%; width: 3px; height: 120%; margin-left: -1.5px; background: linear-gradient(180deg, transparent, #fff3c4 40%, var(--gold) 60%, transparent); box-shadow: 0 0 30px 6px rgba(240, 194, 75, 0.6); transform: scaleY(0); transform-origin: 50% 0; animation: gdIntroBeam 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes gdIntroBeam { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1) scaleX(30); opacity: 0; } }
.gd-intro__ring { position: absolute; left: 50%; top: 50%; width: 220px; height: 220px; margin: -110px 0 0 -110px; border: 3px solid var(--gold); border-radius: 50%; box-shadow: 0 0 40px rgba(240, 194, 75, 0.8), inset 0 0 40px rgba(240, 194, 75, 0.6); opacity: 0; animation: gdIntroRing 0.9s cubic-bezier(0.1, 0.7, 0.3, 1) 0.52s both; }
.gd-intro__ring--2 { border-color: var(--em); box-shadow: 0 0 40px rgba(31, 209, 143, 0.8), inset 0 0 40px rgba(31, 209, 143, 0.6); animation-delay: 0.66s; }
@keyframes gdIntroRing { 0% { opacity: 1; transform: scale(0.3); } 100% { opacity: 0; transform: scale(7); border-width: 1px; } }
.gd-intro__core { position: relative; display: grid; justify-items: center; gap: 10px; animation: gdIntroShake 0.32s linear 0.52s both; }
@keyframes gdIntroShake { 0%, 100% { transform: none; } 20% { transform: translate(-8px, 4px); } 40% { transform: translate(7px, -5px); } 60% { transform: translate(-5px, -3px); } 80% { transform: translate(4px, 3px); } }
.gd-intro__mark { width: clamp(150px, 20vw, 230px); filter: drop-shadow(0 0 40px rgba(31, 209, 143, 0.55)) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8)); animation: gdIntroSlam 0.55s cubic-bezier(0.5, 0, 0.75, 0) 0.05s both, gdIntroSettle 0.35s var(--gd-ease) 0.6s both; }
@keyframes gdIntroSlam { 0% { opacity: 0; transform: scale(3.4) rotate(-8deg); filter: blur(14px); } 100% { opacity: 1; transform: scale(0.9); filter: blur(0) drop-shadow(0 0 40px rgba(31, 209, 143, 0.55)); } }
@keyframes gdIntroSettle { from { transform: scale(0.9); } to { transform: scale(1); } }
.gd-intro__wordwrap { position: relative; display: block; width: clamp(240px, 34vw, 440px); clip-path: inset(-40% 100% -40% -10%); animation: gdIntroWord 0.55s cubic-bezier(0.7, 0, 0.2, 1) 0.68s forwards; }
.gd-intro__word { width: 100%; filter: drop-shadow(0 6px 24px rgba(240, 194, 75, 0.35)); }
@keyframes gdIntroWord { to { clip-path: inset(-40% -10% -40% -10%); } }
.gd-intro__wordwrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 252, 235, 0.95) 50%, transparent 65%) no-repeat; background-size: 60% 100%; background-position: -80% 0; -webkit-mask: url('/landing/gd-logo-word.png') center / 100% 100% no-repeat; mask: url('/landing/gd-logo-word.png') center / 100% 100% no-repeat; animation: gdIntroSweep 0.75s ease-in-out 1.1s both; pointer-events: none; }
@keyframes gdIntroSweep { to { background-position: 180% 0; } }
.gd-intro__load { position: absolute; left: 50%; bottom: clamp(60px, 12vh, 110px); display: grid; justify-items: center; gap: 10px; width: min(320px, 70vw); transform: translateX(-50%); }
.gd-intro__load i { display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.gd-intro__load i::before { content: ""; display: block; height: 100%; background: linear-gradient(90deg, var(--em), var(--gold), #fff3c4); box-shadow: 0 0 14px var(--gold); transform: scaleX(0); transform-origin: 0 50%; animation: gdIntroLoad 1.45s cubic-bezier(0.6, 0.1, 0.3, 1) 0.15s forwards; }
@keyframes gdIntroLoad { to { transform: scaleX(1); } }
.gd-intro__load small { font: 800 10.5px/1 var(--gd-body); letter-spacing: 0.42em; text-transform: uppercase; color: #9fc9b5; animation: gdIntroBlink 0.9s steps(2) infinite; }
@keyframes gdIntroBlink { 50% { opacity: 0.45; } }
.gd-intro__wipe { position: absolute; top: -10%; bottom: -10%; left: 0; width: 26px; background: linear-gradient(90deg, transparent, var(--gold) 40%, #fff3c4 50%, var(--gold) 60%, transparent); box-shadow: 0 0 40px 10px rgba(240, 194, 75, 0.5); transform: translateX(-60px) skewX(-8deg); opacity: 0; animation: gdIntroBar 0.6s cubic-bezier(0.7, 0, 0.3, 1) 1.75s forwards; }
@keyframes gdIntroBar { 0% { opacity: 1; transform: translateX(-60px) skewX(-8deg); } 100% { opacity: 1; transform: translateX(110vw) skewX(-8deg); } }
.gd-intro__skip { position: absolute; right: 18px; bottom: 18px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 10px; font: 700 11px/1 var(--gd-body); letter-spacing: 0.12em; text-transform: uppercase; color: #9fb4aa; opacity: 0; animation: gdFadeIn 0.4s ease 0.4s forwards; }
@keyframes gdFadeIn { to { opacity: 1; } }
html.gd-intro-skip .gd-intro { animation: gdIntroGone 0.28s ease forwards !important; }
@keyframes gdIntroGone { to { opacity: 0; visibility: hidden; } }

/* page content waits for the intro */
html { --intro-d: 0s; }
html.gd-intro-on { --intro-d: 1.9s; }
.gd-slider.is-moved :is(.gd-slider__track, .gd-slider__ui) { --intro-d: 0s; }

/* ================= lobby frame ================= */
.gd-lobby { width: 100%; max-width: 1440px; margin: 0 auto; padding: clamp(14px, 2vw, 26px) clamp(14px, 2.4vw, 30px) 0; }

/* ================= promo slider ================= */
.gd-slider {
  position: relative; isolation: isolate; overflow: hidden;
  height: clamp(320px, 33vw, 460px);
  border: 1px solid rgba(240, 194, 75, 0.28); border-radius: 26px;
  background: #050c09;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 246, 214, 0.08);
  animation: gdLobbyIn 0.9s var(--gd-ease) var(--intro-d) both;
  touch-action: pan-y;
  container-type: inline-size;
}
@keyframes gdLobbyIn { from { opacity: 0; transform: translateY(18px) scale(0.985); } }
.gd-slider::after { content: ""; position: absolute; z-index: 3; left: 8%; right: 8%; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--em), var(--gold), transparent); box-shadow: 0 0 18px var(--em); pointer-events: none; }
.gd-slider__track { position: absolute; inset: 0; }
.gd-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.7s var(--gd-ease), visibility 0s linear 0.7s; }
.gd-slide.is-on { opacity: 1; visibility: visible; z-index: 1; transition: opacity 0.7s var(--gd-ease), visibility 0s; }
.gd-slide__art { position: absolute; inset: 0; z-index: 0; }
.gd-slide__art img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; transform: scale(1.12); transition: transform 7s cubic-bezier(0.2, 0.6, 0.3, 1); user-select: none; -webkit-user-select: none; }
.gd-slide.is-on .gd-slide__art img { transform: scale(1.01); }
.gd-slide__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(3, 8, 6, 0.96) 0%, rgba(3, 8, 6, 0.82) 30%, rgba(3, 8, 6, 0.2) 62%, transparent 80%), linear-gradient(0deg, rgba(3, 8, 6, 0.6), transparent 35%); }
.gd-slide__shade::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(240, 194, 75, 0.035) 0 2px, transparent 2px 14px); mask-image: linear-gradient(90deg, #000 0%, transparent 50%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 50%); }
.gd-slide__in { position: relative; z-index: 2; display: grid; justify-items: start; gap: clamp(10px, 1.4cqi, 16px); max-width: min(680px, 64%); padding: 0 clamp(24px, 4.4cqi, 60px) 30px; }
.gd-slide__in > * { opacity: 0; transform: translateX(-34px); }
.gd-slide.is-on .gd-slide__in > * { animation: gdSlideIn 0.75s var(--gd-ease) both; animation-delay: calc(var(--intro-d) + 0.12s); }
.gd-slide.is-on .gd-slide__in > :nth-child(2) { animation-delay: calc(var(--intro-d) + 0.2s); }
.gd-slide.is-on .gd-slide__in > :nth-child(3) { animation-delay: calc(var(--intro-d) + 0.3s); }
.gd-slide.is-on .gd-slide__in > :nth-child(4) { animation-delay: calc(var(--intro-d) + 0.4s); }
@keyframes gdSlideIn { from { opacity: 0; transform: translateX(-34px); } to { opacity: 1; transform: none; } }
.gd-slide__k { display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px 7px 10px; border: 1px solid rgba(31, 209, 143, 0.4); border-radius: 8px; background: rgba(16, 185, 129, 0.12); font: 800 11px/1 var(--gd-body); letter-spacing: 0.2em; text-transform: uppercase; color: #9ff3cf; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); padding-right: 20px; }
.gd-slide__k i { width: 7px; height: 7px; border-radius: 50%; background: var(--em); box-shadow: 0 0 10px var(--em); }
.gd-slide__t { margin: 0; display: grid; font: 900 clamp(28px, 5.2cqi, 66px)/0.92 var(--gd-display); letter-spacing: -0.03em; text-transform: uppercase; color: var(--cream); transform-origin: 0 100%; }
.gd-slide__t span { text-shadow: 0 6px 30px rgba(0, 0, 0, 0.7); }
.gd-slide__t b { display: block; padding: 0.04em 0.08em 0.06em 0; font-weight: inherit; background: var(--gold-grad); background-size: 100% 220%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 24px rgba(240, 194, 75, 0.45)); animation: gdSheen 5s ease-in-out infinite; }
.gd-slide__t :is(span, b) { white-space: nowrap; }
.gd-slide__p { margin: 0; max-width: 44ch; color: #c7d6ce; font-size: clamp(13.5px, 1.6cqi, 16px); line-height: 1.55; }
.gd-slide__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

.gd-slider__ui { position: absolute; z-index: 4; right: clamp(16px, 2.4vw, 30px); bottom: 20px; display: flex; align-items: center; gap: 8px; }
.gd-slider__dots { display: flex; gap: 6px; margin-right: 8px; }
.gd-dot { position: relative; width: 34px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
.gd-dot i { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.gd-dot i::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold), #fff3c4); transform: scaleX(0); transform-origin: 0 50%; }
.gd-dot.is-on { width: 56px; }
.gd-dot.is-on i::before { animation: gdDotFill var(--slide-ms, 6500ms) linear both; animation-delay: var(--intro-d); }
.gd-slider.is-paused .gd-dot.is-on i::before { animation-play-state: paused; }
.gd-slider.is-static .gd-dot.is-on i::before { animation: none; transform: none; }
@keyframes gdDotFill { to { transform: scaleX(1); } }
.gd-slider__btn { width: 40px; height: 40px; border-radius: 12px; background: rgba(4, 10, 7, 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gd-slider__btn .gd-i { font-size: 18px; }

/* ================= quick access ================= */
.gd-quick { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.gd-quick__i { position: relative; overflow: hidden; display: grid; justify-items: center; align-content: center; gap: 9px; min-height: 96px; padding: 14px 6px; border: 1px solid rgba(240, 194, 75, 0.32); border-radius: 18px; background: radial-gradient(120% 90% at 50% 0%, rgba(240, 194, 75, 0.2), transparent 60%), linear-gradient(180deg, rgba(16, 185, 129, 0.08), transparent), rgba(9, 20, 15, 0.86); text-align: center; animation: gdLobbyIn 0.7s var(--gd-ease) both; animation-delay: calc(var(--intro-d) + 0.1s + var(--d, 0) * 40ms); transition: transform 0.4s var(--gd-ease), border-color 0.3s, box-shadow 0.4s var(--gd-ease); }
.gd-quick__i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 246, 214, 0.22) 50%, transparent 65%); transform: translateX(-110%); transition: transform 0.8s var(--gd-ease); pointer-events: none; }
.gd-quick__i:hover { transform: translateY(-4px); border-color: rgba(240, 194, 75, 0.75); box-shadow: 0 18px 34px -18px rgba(0, 0, 0, 0.9), 0 0 26px -8px rgba(240, 194, 75, 0.55); }
.gd-quick__i:hover::after { transform: translateX(110%); }
.gd-quick__i .gd-i { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--gold-btn); color: #1a1204; stroke-width: 1.9; box-shadow: 0 10px 22px -10px rgba(240, 194, 75, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.gd-quick__i span { font: 800 12.5px/1.15 var(--gd-body); color: var(--cream); }
.gd-quick__i em { position: absolute; top: 8px; right: 8px; padding: 3px 6px; border-radius: 6px; background: #ff4d5e; font: 900 9px/1 var(--gd-body); font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; box-shadow: 0 0 12px rgba(255, 77, 94, 0.6); }

/* ================= sports strip ================= */
.gd-sportbar { display: grid; grid-auto-flow: column; grid-auto-columns: 98px; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 0 16px; padding: 2px 2px 4px; }
.gd-sportbar::-webkit-scrollbar { display: none; }
.gd-sportbar__i { display: grid; justify-items: center; align-content: center; gap: 8px; height: 86px; padding: 8px 4px; border: 1px solid rgba(31, 209, 143, 0.28); border-radius: 16px; background: linear-gradient(180deg, rgba(31, 209, 143, 0.12), rgba(9, 20, 15, 0.86)); cursor: pointer; transition: transform 0.35s var(--gd-ease), border-color 0.3s; }
.gd-sportbar__i:hover { transform: translateY(-3px); border-color: rgba(240, 194, 75, 0.6); }
.gd-sportbar__i .gd-i { width: 30px; height: 30px; color: var(--gold-2); }
.gd-sportbar__i span { font-size: 12px; font-weight: 800; color: #d7e4dd; white-space: nowrap; }

/* ================= member status / guest perks ================= */
.gd-status { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 14px; margin-top: 16px; animation: gdLobbyIn 0.8s var(--gd-ease) calc(var(--intro-d) + 0.15s) both; }
.gd-stat { position: relative; display: grid; align-content: start; gap: 10px; min-width: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(150deg, rgba(16, 185, 129, 0.1), transparent 45%), rgba(9, 20, 15, 0.78); overflow: hidden; transition: border-color 0.3s, transform 0.4s var(--gd-ease); }
a.gd-stat:hover { border-color: rgba(240, 194, 75, 0.5); transform: translateY(-3px); }
.gd-stat__k { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.gd-stat__k .gd-i { font-size: 16px; color: var(--gold); }
.gd-stat__big { font: 900 clamp(26px, 2.6vw, 34px)/1 var(--gd-display); color: var(--cream); letter-spacing: -0.02em; }
.gd-stat__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.gd-stat--vip { grid-template-columns: auto 1fr; align-items: center; gap: 16px; }
.gd-stat__txt { display: grid; gap: 8px; color: #c2d2c9; font-size: 14px; line-height: 1.45; }
.gd-stat__txt b { color: var(--gold-2); }
.gd-ring { position: relative; display: grid; place-items: center; width: 92px; height: 92px; }
.gd-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.gd-ring__track { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 9; }
.gd-ring__bar { fill: none; stroke: url(#gdRing); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; transition: stroke-dashoffset 1.6s var(--gd-ease); filter: drop-shadow(0 0 6px rgba(240, 194, 75, 0.5)); }
.gd-ring__in b { font: 900 19px/1 var(--gd-display); color: var(--cream); }
.gd-code { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border: 1px dashed rgba(240, 194, 75, 0.45); border-radius: 14px; background: rgba(240, 194, 75, 0.05); }
.gd-code b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font: 800 16px/1 var(--gd-display); letter-spacing: 0.06em; color: var(--gold-2); }
.gd-code .gd-icon { width: 38px; height: 38px; border-radius: 11px; }
.gd-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; color: var(--gold-2); }
.gd-link .gd-i { transition: transform 0.3s var(--gd-ease); }
.gd-link:hover .gd-i, a:hover > .gd-promo__in .gd-link .gd-i { transform: translateX(4px); }

.gd-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; animation: gdLobbyIn 0.8s var(--gd-ease) calc(var(--intro-d) + 0.15s) both; }
.gd-perks li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 16px; background: rgba(9, 20, 15, 0.7); }
.gd-perks .gd-i { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: linear-gradient(160deg, rgba(240, 194, 75, 0.2), rgba(240, 194, 75, 0.04)); color: var(--gold-2); }
.gd-perks span { display: grid; gap: 2px; min-width: 0; }
.gd-perks b { font-size: 14px; color: var(--cream); }
.gd-perks small { font-size: 12px; color: var(--muted); }

/* ================= filter bar ================= */
.gd-filter { position: sticky; top: calc(var(--top-h, 68px) - 1px); z-index: 40; display: flex; align-items: center; gap: 12px; margin: 22px calc(-1 * clamp(14px, 2.4vw, 30px)) 0; padding: 12px clamp(14px, 2.4vw, 30px); background: linear-gradient(180deg, rgba(4, 10, 7, 0.96), rgba(4, 10, 7, 0.86)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.gd-search--lobby { display: none !important; flex: 1; }
.gd-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.gd-chips::-webkit-scrollbar { display: none; }
.gd-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; background: rgba(255, 255, 255, 0.04); font-weight: 800 !important; font-size: 13.5px !important; color: #b8c8bf !important; cursor: pointer; transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s; }
.gd-chip .gd-i { font-size: 17px; color: #7b9587; transition: color 0.25s; }
.gd-chip:hover { border-color: rgba(240, 194, 75, 0.4); color: var(--cream) !important; }
.gd-chip.is-on { border-color: transparent; background: var(--gold-btn); color: #1a1204 !important; box-shadow: 0 8px 22px -10px rgba(240, 194, 75, 0.8); }
.gd-chip.is-on .gd-i { color: #1a1204; }

/* ================= game rows ================= */
.gd-rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 12px; }
.gd-row[hidden], .gd-tile[hidden] { display: none !important; }
.gd-row__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.gd-row__t, .gd-sec__t { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: 900 clamp(17px, 1.7vw, 22px)/1 var(--gd-display); letter-spacing: 0.01em; text-transform: uppercase; color: var(--cream); }
.gd-row__t .gd-i, .gd-sec__t .gd-i { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: linear-gradient(160deg, rgba(240, 194, 75, 0.24), rgba(240, 194, 75, 0.05)); color: var(--gold-2); box-shadow: inset 0 0 0 1px rgba(240, 194, 75, 0.25); }
.gd-row__n { padding: 5px 9px; border-radius: 7px; background: rgba(31, 209, 143, 0.12); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #7ff0c4; }
.gd-row__nav { display: flex; gap: 6px; margin-left: auto; }
.gd-row__nav .gd-icon { width: 36px; height: 36px; border-radius: 10px; }
.gd-row__nav .gd-icon:disabled { opacity: 0.35; cursor: default; }
.gd-row.no-scroll .gd-row__nav { visibility: hidden; }
.gd-row__track { --gap: 14px; --tw: clamp(140px, 15vw, 200px); display: grid; grid-auto-flow: column; grid-auto-columns: var(--tw); gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 2px 14px; margin: -6px -2px -14px; }
.gd-row__track::-webkit-scrollbar { display: none; }

.gd-tile { position: relative; isolation: isolate; display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px; background: #07120d; text-align: left; cursor: pointer; scroll-snap-align: start; transition: transform 0.45s var(--gd-ease), border-color 0.3s, box-shadow 0.45s var(--gd-ease); }
.gd-tile__art { position: absolute; inset: 0; z-index: 0; }
.gd-tile__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--gd-ease), filter 0.5s; }
.gd-tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(3, 8, 6, 0.95) 0%, rgba(3, 8, 6, 0.35) 40%, transparent 65%); }
.gd-tile::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(115deg, transparent 35%, rgba(255, 246, 214, 0.28) 50%, transparent 65%); transform: translateX(-110%); transition: transform 0.8s var(--gd-ease); pointer-events: none; }
.gd-tile:hover, .gd-tile:focus-visible { transform: translateY(-6px); border-color: rgba(240, 194, 75, 0.7); box-shadow: 0 22px 40px -18px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(240, 194, 75, 0.3), 0 0 34px -6px rgba(240, 194, 75, 0.45); }
.gd-tile:hover::after { transform: translateX(110%); }
.gd-tile:hover .gd-tile__art img { transform: scale(1.08); filter: saturate(1.15) brightness(1.08); }
.gd-tile__soon, .gd-tile__cap, .gd-tile__play { z-index: 3; }
.gd-tile__soon { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 7px; background: rgba(3, 8, 6, 0.78); border: 1px solid rgba(240, 194, 75, 0.4); font: 800 10px/1 var(--gd-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gd-tile__soon .gd-i { font-size: 11px; }
.gd-tile__cap { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; gap: 3px; }
.gd-tile__cap b { font: 900 clamp(14px, 1.25vw, 17px)/1.1 var(--gd-display); text-transform: uppercase; letter-spacing: 0.01em; color: var(--cream); }
.gd-tile__cap small { font-size: 12px; font-weight: 600; color: #a9bdb2; }
.gd-tile__play { position: absolute; left: 50%; top: 42%; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--gold-btn); color: #1a1204; box-shadow: 0 0 0 6px rgba(240, 194, 75, 0.2), 0 12px 30px -6px rgba(240, 194, 75, 0.8); transform: translate(-50%, -50%) scale(0.6); opacity: 0; transition: transform 0.4s var(--gd-ease), opacity 0.3s; }
.gd-tile__play .gd-i { font-size: 22px; margin-left: 3px; fill: currentColor; }
.gd-tile:hover .gd-tile__play, .gd-tile:focus-visible .gd-tile__play { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.gd-tile__soon.gd-tile__live { border-color: rgba(31, 209, 143, 0.6); color: #8ff5cd; }
.gd-tile__live i { width: 6px; height: 6px; border-radius: 50%; background: #2ef0a6; box-shadow: 0 0 0 0 rgba(46, 240, 166, 0.6); animation: gd-live-dot 1.8s ease-out infinite; }
@keyframes gd-live-dot { 0% { box-shadow: 0 0 0 0 rgba(46, 240, 166, 0.6); } 70%, 100% { box-shadow: 0 0 0 6px rgba(46, 240, 166, 0); } }
.gd-row--live .gd-tile__soon, .gd-row--sports .gd-tile__soon { border-color: rgba(31, 209, 143, 0.45); color: #8ff5cd; }
.gd-empty { margin: 0; padding: 30px; border: 1px dashed var(--line); border-radius: 18px; text-align: center; color: var(--muted); }
.gd-empty b { color: var(--gold-2); }

@media (min-width: 1200px) {
  .gd-rows { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 26px; }
  .gd-row--crash, .gd-row--color, .gd-row--originals, .gd-row--spribe, .gd-empty, .gd-rows.is-one .gd-row { grid-column: 1 / -1; }
  .gd-row--crash .gd-row__track, .gd-row--color .gd-row__track, .gd-row--originals .gd-row__track, .gd-row--spribe .gd-row__track { --tw: calc((100% - 5 * var(--gap)) / 6); }
  .gd-row--live .gd-row__track, .gd-row--sports .gd-row__track { --tw: min(calc((100% - 2 * var(--gap)) / 3), 230px); }
}

/* ================= sections ================= */
.gd-sec { margin-top: clamp(40px, 5vw, 64px); }
.gd-sec__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.gd-panel { position: relative; overflow: hidden; padding: clamp(20px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(160deg, rgba(16, 185, 129, 0.08), transparent 40%), rgba(9, 20, 15, 0.8); }
.gd-h3 { display: block; margin: 10px 0 0; font: 900 clamp(19px, 1.9vw, 25px)/1.15 var(--gd-display); text-transform: uppercase; color: var(--cream); }
.gd-fine { margin: 0; color: var(--muted); font-size: 12.5px; }

.gd-promos { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.gd-bars { display: flex; align-items: flex-end; gap: clamp(8px, 1.4vw, 16px); height: 170px; margin-top: 20px; }
.gd-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; height: 100%; }
.gd-bar b { font: 900 clamp(12px, 1.2vw, 15px)/1 var(--gd-display); color: var(--gold-2); }
.gd-bar i { display: block; width: 100%; max-width: 90px; height: var(--h); border-radius: 10px 10px 3px 3px; background: linear-gradient(180deg, #ffe9a3, #e9ae3a 55%, #8a5a12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 26px -4px rgba(240, 194, 75, 0.5); transform-origin: 50% 100%; animation: gdBarUp 1s var(--gd-ease) both; animation-delay: calc(var(--d, 0) * 100ms + 0.2s); animation-play-state: paused; }
.gd-offer.is-in .gd-bar i { animation-play-state: running; }
@keyframes gdBarUp { from { transform: scaleY(0.05); } }
.gd-bar small { color: var(--muted); font-weight: 700; font-size: clamp(10px, 0.85vw, 11.5px); white-space: nowrap; }
.gd-offer__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }

.gd-promo { position: relative; display: block; min-height: 340px; padding: 0; isolation: isolate; overflow: hidden; transition: border-color 0.3s, transform 0.45s var(--gd-ease); }
.gd-promo > img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; opacity: 0.7; transition: transform 0.8s var(--gd-ease), opacity 0.4s; }
.gd-promo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(3, 8, 6, 0.97) 30%, rgba(3, 8, 6, 0.4) 75%, rgba(3, 8, 6, 0.2)); }
.gd-promo:hover { border-color: rgba(240, 194, 75, 0.55); transform: translateY(-4px); }
.gd-promo:hover > img { transform: scale(1.06); opacity: 0.85; }
.gd-promo__in { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: grid; justify-items: start; gap: 10px; padding: clamp(18px, 2vw, 24px); }
.gd-promo__in .gd-h3 { margin: 0; }
.gd-tiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; width: 100%; margin: 4px 0 0; padding: 0; list-style: none; }
.gd-tiers li { display: grid; gap: 3px; padding: 8px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; background: rgba(3, 8, 6, 0.6); }
.gd-tiers li.is-on { border-color: rgba(240, 194, 75, 0.55); background: rgba(240, 194, 75, 0.1); }
.gd-tiers b { font: 900 11px/1.1 var(--gd-display); text-transform: uppercase; color: var(--cream); }
.gd-tiers small { font-size: 10.5px; line-height: 1.3; color: var(--muted); }

.gd-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.gd-step { position: relative; overflow: hidden; padding: 24px 22px; border: 1px solid var(--line); border-radius: 20px; background: rgba(9, 20, 15, 0.78); transition: border-color 0.3s, transform 0.45s var(--gd-ease); }
.gd-step:hover { border-color: rgba(240, 194, 75, 0.5); transform: translateY(-4px); }
.gd-step__n { position: absolute; right: 16px; top: 8px; font: 900 64px/1 var(--gd-display); color: rgba(240, 194, 75, 0.08); }
.gd-step__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--gold-btn); color: #1a1204; font-size: 22px; box-shadow: 0 10px 26px -10px rgba(240, 194, 75, 0.8); }
.gd-step b { display: block; margin-top: 16px; font: 900 16px/1.25 var(--gd-display); text-transform: uppercase; color: var(--cream); }
.gd-step p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.gd-faq__list { display: grid; gap: 8px; }
.gd-faq details { border: 1px solid var(--line-soft); border-radius: 14px; background: rgba(9, 20, 15, 0.7); transition: border-color 0.3s; }
.gd-faq details[open] { border-color: rgba(240, 194, 75, 0.4); }
.gd-faq summary { position: relative; padding: 16px 48px 16px 18px; font-weight: 800; color: var(--cream); cursor: pointer; list-style: none; }
.gd-faq summary::-webkit-details-marker { display: none; }
.gd-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 700 22px/1 var(--gd-body); color: var(--gold); transition: transform 0.3s; }
.gd-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.gd-faq details p { margin: 0; padding: 0 18px 16px; color: var(--muted); line-height: 1.55; }

/* ================= payments + footer ================= */
.gd-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: clamp(40px, 5vw, 60px); padding: 18px 20px; border: 1px solid var(--line-soft); border-radius: 18px; background: rgba(9, 20, 15, 0.6); }
.gd-pay__k { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.gd-pay ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gd-pay li { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; background: rgba(255, 255, 255, 0.03); font: 800 12.5px/1 var(--gd-display); letter-spacing: 0.04em; color: #cfdcd4; }
.gd-foot--big { grid-template-columns: 1.2fr 2fr; max-width: none; margin: 30px 0 0; padding: 34px 0 calc(30px + env(safe-area-inset-bottom)); }
.gd-foot__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1399px) { .gd-foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; } }
.gd-apps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.gd-app { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px 0 12px; border: 1px solid rgba(240, 194, 75, 0.35); border-radius: 14px; background: rgba(9, 20, 15, 0.8); cursor: pointer; transition: border-color 0.3s, transform 0.35s var(--gd-ease); }
.gd-app:hover { border-color: rgba(240, 194, 75, 0.75); transform: translateY(-2px); }
.gd-app .gd-i { width: 26px; height: 26px; color: var(--gold-2); }
.gd-app span { display: grid; gap: 2px; text-align: left; }
.gd-app small { font-size: 10.5px; font-weight: 700; color: var(--muted); }
.gd-app b { font: 900 14px/1 var(--gd-display); color: var(--cream); }
.gd-seo { grid-column: 1 / -1; display: grid; gap: 8px; }
.gd-seo details { border: 1px solid var(--line-soft); border-radius: 14px; background: rgba(9, 20, 15, 0.55); }
.gd-seo details[open] { border-color: rgba(240, 194, 75, 0.35); }
.gd-seo summary { position: relative; padding: 14px 44px 14px 16px; font-weight: 800; font-size: 14px; color: var(--cream); cursor: pointer; list-style: none; }
.gd-seo summary::-webkit-details-marker { display: none; }
.gd-seo summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform 0.3s; }
.gd-seo details[open] summary::after { margin-top: -2px; transform: rotate(-135deg); }
.gd-seo p { margin: 0; padding: 0 16px 14px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.gd-seo a { color: var(--gold-2); font-weight: 700; }
.gd-foot__cols div { display: grid; align-content: start; gap: 10px; }
.gd-foot__cols b { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.gd-foot__cols a { color: #b9c9c0; font-weight: 600; font-size: 14px; }
.gd-foot__cols a:hover { color: var(--gold-2); }

/* ================= guest bar, toast ================= */
.gd-guestbar { display: none; }
.gd-toast { position: fixed; z-index: 10000; left: 50%; bottom: 110px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(9, 20, 15, 0.96); color: var(--cream); font-weight: 700; font-size: 14px; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.4s var(--gd-ease); }
.gd-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 1100px) { .gd-toast { left: calc(50% + var(--side-w) / 2); bottom: 40px; } }

/* ================= responsive ================= */
@media (max-width: 1099px) {
  .gd-status { grid-template-columns: 1fr 1fr; }
  .gd-stat--wallet { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; }
  .gd-stat--wallet .gd-stat__k { grid-column: 1 / -1; }
  .gd-promos { grid-template-columns: 1fr 1fr; }
  .gd-offer { grid-column: 1 / -1; }
  .gd-perks { grid-template-columns: 1fr 1fr; }
  .gd-quick { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .gd-search--lobby { display: flex !important; }
  .gd-filter { flex-direction: column; align-items: stretch; gap: 10px; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 170px; }
  .gd-lobby { padding-top: 12px; }
  .gd-slider { height: auto; min-height: 470px; border-radius: 22px; }
  .gd-slide { align-items: flex-end; }
  .gd-slide__art img { object-position: 50% 30%; }
  .gd-slide__shade { background: linear-gradient(0deg, rgba(3, 8, 6, 0.98) 30%, rgba(3, 8, 6, 0.6) 55%, rgba(3, 8, 6, 0.05) 80%); }
  .gd-slide__in { max-width: none; gap: 10px; padding: 0 18px 66px; }
  .gd-slide__t { font-size: clamp(26px, 8.6cqi, 40px); }
  .gd-slide__p { font-size: 13.5px; }
  .gd-slide__cta .gd-btn { height: 46px; padding: 0 18px; font-size: 14px; }
  .gd-slider__ui { left: 18px; right: 18px; bottom: 16px; }
  .gd-slider__dots { margin-right: auto; }
  .gd-slider__btn { width: 36px; height: 36px; }

  .gd-status { grid-template-columns: 1fr; gap: 10px; }
  .gd-stat--wallet { grid-template-columns: 1fr; }
  .gd-perks { gap: 8px; }
  .gd-perks li { padding: 12px; gap: 10px; }
  .gd-perks .gd-i { width: 34px; height: 34px; padding: 8px; }
  .gd-perks b { font-size: 13px; }
  .gd-perks small { font-size: 11px; }

  .gd-filter { margin-top: 16px; padding-top: 10px; padding-bottom: 10px; }
  .gd-chip { height: 38px; padding: 0 13px; font-size: 13px !important; }
  .gd-rows { gap: 24px; }
  .gd-row__nav { display: none; }
  .gd-row__track { --tw: 40vw; --gap: 10px; }
  .gd-row--live .gd-row__track, .gd-row--sports .gd-row__track { --tw: 40vw; }

  .gd-promos { grid-template-columns: 1fr; }
  .gd-promo { min-height: 250px; }
  .gd-steps { grid-template-columns: 1fr; }
  .gd-foot--big { grid-template-columns: 1fr; }
  .gd-foot__cols { grid-template-columns: 1fr 1fr; }
  .gd-quick { gap: 8px; margin-top: 12px; }
  .gd-quick__i { min-height: 84px; gap: 7px; padding: 10px 4px; border-radius: 15px; }
  .gd-quick__i .gd-i { width: 38px; height: 38px; padding: 8px; border-radius: 12px; }
  .gd-quick__i span { font-size: 11.5px; }
  .gd-sportbar { grid-auto-columns: 84px; gap: 8px; }
  .gd-sportbar__i { height: 78px; }
  .gd-app { flex: 1; min-width: 140px; }

  body.gd--guest { padding-bottom: 76px; }
  .gd-guestbar { position: fixed; z-index: 50; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: rgba(5, 12, 9, 0.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.85); transform: translateY(140%); transition: transform 0.45s var(--gd-ease); }
  .gd-guestbar.is-on { transform: none; }
  .gd-guestbar .gd-btn { height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gd-intro { display: none !important; }
  .gd-slider, .gd-status, .gd-perks, .gd-quick__i, .gd-slide.is-on .gd-slide__in > *, .gd-slide__t b, .gd-bar i { animation: none !important; }
  .gd-slide__in > * { opacity: 1; transform: none; }
  .gd-slide__art img { transition: none; transform: none; }
  .gd-dot.is-on i::before { animation: none; transform: none; }
}
