:root {
  --bg: #08102a;
  --bg-soft: #0f1b3f;
  --panel: #15234e;
  --panel-light: #ffffff;
  --text: #ffffff;
  --muted: #b8c3df;
  --ink: #152035;
  --gold: #ffd85a;
  --orange: #ff8a1c;
  --cyan: #36d6ff;
  --green: #31d17b;
  --line: rgba(255, 255, 255, 0.15);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 216, 90, 0.2), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(54, 214, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #07102b 0%, #101a3a 44%, #f3f6fb 44%, #f3f6fb 100%);
}

body.lobby-body {
  color: #202833;
  background: #eef2f7;
}

a {
  color: inherit;
  text-decoration: none;
}

.lobby-shell {
  position: relative;
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 78px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    repeating-linear-gradient(45deg, rgba(16, 130, 83, 0.05) 0 8px, rgba(255, 163, 0, 0.04) 8px 16px);
  box-shadow: 0 0 44px rgba(13, 30, 61, 0.18);
}

.bonus-bar {
  display: grid;
  grid-template-columns: 24px 34px minmax(0, 1fr) 84px;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 8px;
  color: #121212;
  background: #ffa300;
}

.bonus-bar img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.bonus-bar strong {
  min-width: 0;
  font-size: 16px;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bonus-bar b {
  color: #ff1f95;
}

.bonus-bar a {
  display: grid;
  min-height: 28px;
  place-items: center;
  padding: 2px 10px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  background: #0fb557;
  border-radius: 8px;
}

.close-mark {
  display: grid;
  place-items: center;
  color: #0b8f4a;
  font-size: 20px;
}

.lobby-header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 8px 12px;
  color: #ffffff;
  background:
    linear-gradient(rgba(0, 120, 63, 0.88), rgba(0, 120, 63, 0.88)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 10px, transparent 10px 20px);
}

.menu-lines {
  display: grid;
  gap: 5px;
  width: 26px;
}

.menu-lines span {
  display: block;
  height: 3px;
  background: #ffffff;
  border-radius: 99px;
}

.lobby-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.lobby-logo img {
  width: 42px;
  height: 42px;
  margin-right: 6px;
  border-radius: 10px;
}

.lobby-logo strong {
  color: #ffe05a;
  font-size: 27px;
  font-weight: 1000;
  text-shadow: 0 2px 0 #0b652e, 0 2px 8px rgba(0, 0, 0, 0.28);
}

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-buttons a {
  display: grid;
  min-width: 74px;
  min-height: 44px;
  place-items: center;
  padding: 0 14px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  border-radius: 999px;
}

.login-btn {
  color: #173200;
  background: linear-gradient(180deg, #ffe868, #ffb21c);
  border: 2px solid #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.26);
}

.register-btn {
  color: #07833f;
  background: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  padding: 12px 8px 8px;
  background: #ffffff;
}

.quick-actions a {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
}

.quick-actions span {
  display: grid;
  width: 54px;
  height: 42px;
  place-items: center;
  overflow: hidden;
}

.quick-actions img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.quick-actions b {
  max-width: 100%;
  padding: 2px 5px;
  color: #ffffff;
  font-size: 11px;
  line-height: 1.1;
  background: linear-gradient(90deg, #ff5ee0, #2e8cff);
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.promo-banner {
  display: block;
  margin: 8px 16px;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 7px 18px rgba(0, 65, 37, 0.22);
}

.promo-banner img {
  display: block;
  width: 100%;
  aspect-ratio: 487 / 153;
  object-fit: cover;
}

.ticker {
  display: grid;
  grid-template-columns: 28px auto minmax(0, 1fr) 34px;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  margin: 0 16px 10px;
  padding: 0 10px;
  color: #777;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(20, 40, 70, 0.08);
}

.ticker span {
  color: #159c64;
  font-size: 11px;
  font-weight: 900;
}

.ticker strong {
  color: #ff4634;
  font-size: 15px;
  white-space: nowrap;
}

.ticker p {
  margin: 0;
  color: #858585;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker b {
  display: grid;
  min-width: 34px;
  min-height: 28px;
  place-items: center;
  color: #ffffff;
  font-size: 12px;
  background: #ff263f;
  border-radius: 8px;
}

.sport-tabs,
.game-filter {
  display: flex;
  gap: 18px;
  padding: 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.sport-tabs {
  min-height: 78px;
  align-items: end;
  color: #888;
  background: rgba(255, 255, 255, 0.74);
  border-bottom: 1px solid #e0e5e8;
}

.sport-tabs a {
  position: relative;
  display: grid;
  min-width: 74px;
  justify-items: center;
  gap: 4px;
  padding: 12px 0 10px;
  font-size: 18px;
}

.sport-tabs small {
  color: #666;
  font-size: 12px;
}

.sport-tabs .active {
  color: #0e9a5b;
}

.sport-tabs .active::after,
.game-filter .active::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 0;
  left: 10px;
  height: 2px;
  background: #0e9a5b;
  border-radius: 99px;
}

.game-filter {
  position: relative;
  min-height: 46px;
  align-items: center;
  color: #419f78;
  font-size: 19px;
}

.game-filter a {
  position: relative;
  flex: 0 0 auto;
}

.game-zone {
  padding: 0 16px 18px;
}

.zone-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 4px 0 12px;
}

.zone-title h1 {
  margin: 0;
  color: #666;
  font-size: 23px;
  line-height: 1.1;
}

.zone-title a {
  flex: 0 0 auto;
  padding: 9px 12px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  background: linear-gradient(135deg, #ff9d00, #ff3d35);
  border-radius: 999px;
  box-shadow: 0 5px 12px rgba(255, 92, 0, 0.28);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.game-grid a {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(20, 40, 70, 0.18);
}

.game-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 142 / 187;
  object-fit: cover;
}

.seo-hub {
  margin: 10px 16px 18px;
  padding: 18px;
  color: #213047;
  background: #ffffff;
  border: 1px solid #dfe6f2;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(20, 40, 70, 0.1);
}

.seo-hub h2 {
  margin-bottom: 8px;
  color: #152035;
  font-size: 22px;
  line-height: 1.18;
}

.seo-hub p {
  color: #60708f;
  font-size: 14px;
  line-height: 1.6;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.seo-grid a {
  display: grid;
  min-height: 40px;
  place-items: center;
  padding: 8px;
  color: #0b8f4a;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  background: #eefaf4;
  border: 1px solid #cfeedd;
  border-radius: 10px;
}

.article-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 30px;
}

.article-list a {
  display: block;
  padding: 18px;
  color: #213047;
  background: #f8fbff;
  border: 1px solid #dfe6f2;
  border-radius: 8px;
}

.article-list strong,
.article-list span {
  display: block;
}

.article-list strong {
  margin-bottom: 8px;
  color: #152035;
  font-size: 18px;
}

.article-list span {
  color: #60708f;
  line-height: 1.5;
}

.bottom-nav {
  position: fixed;
  right: 50%;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(100%, 520px);
  min-height: 64px;
  transform: translateX(50%);
  color: #858585;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #dfe5e8;
  box-shadow: 0 -8px 20px rgba(20, 40, 70, 0.1);
}

.bottom-nav a {
  display: grid;
  place-items: center;
  padding: 8px 3px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.bottom-nav .active {
  color: #0e9a5b;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(8, 16, 42, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(8, 16, 42, 0.96);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 164px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #1f1600;
  font-size: 15px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(255, 138, 28, 0.28);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 34px);
  color: #dbe4ff;
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--gold);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  color: #1d1600;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  border-radius: 999px;
  box-shadow: 0 16px 32px rgba(255, 138, 28, 0.28);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 680px;
  padding: 72px clamp(18px, 5vw, 72px) 92px;
}

.page-hero {
  min-height: 430px;
  padding: 72px clamp(18px, 5vw, 72px) 82px;
}

.page-hero h1 {
  max-width: 980px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumbs a {
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 26px;
}

.button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  box-shadow: none;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 9px 12px;
  color: #edf3ff;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero-panel {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(100%, 380px);
  padding: 16px;
  background: linear-gradient(160deg, #1b2d66, #0a1029);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 34px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.phone-top {
  width: 88px;
  height: 8px;
  margin: 4px auto 18px;
  background: rgba(255, 255, 255, 0.24);
  border-radius: 99px;
}

.app-card {
  padding: 24px;
  border-radius: 24px;
}

.app-card-main {
  min-height: 240px;
  background:
    linear-gradient(rgba(8, 16, 42, 0.18), rgba(8, 16, 42, 0.28)),
    url("app-icon.png") center / 120px no-repeat,
    linear-gradient(135deg, #ffd85a, #ff8a1c 48%, #24b8ff);
}

.badge {
  display: inline-flex;
  padding: 7px 10px;
  color: #1d1600;
  font-size: 12px;
  font-weight: 900;
  background: #ffffff;
  border-radius: 999px;
}

.app-card h2 {
  margin-top: 88px;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 28px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.app-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.5;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.mini-grid div {
  min-height: 82px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.mini-grid strong,
.mini-grid span {
  display: block;
}

.mini-grid span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.notice,
.section,
.download-band,
.register-strip,
.footer {
  margin: 0 clamp(18px, 5vw, 72px);
}

.notice {
  max-width: 1160px;
  padding: 18px 22px;
  color: #33405f;
  background: #fff7d6;
  border: 1px solid #f0d36a;
  border-radius: 8px;
}

.register-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 1160px;
  margin-top: 18px;
  padding: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, #182a62, #111d45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(27, 42, 78, 0.12);
}

.register-strip h2 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0;
}

.register-strip p:last-child {
  margin-bottom: 0;
  color: #c7d1ec;
}

.section {
  padding: 72px 0;
  color: var(--ink);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 28px;
}

.section h2,
.download-band h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section p,
.download-band p {
  color: #60708f;
  font-size: 16px;
  line-height: 1.7;
}

.steps,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step,
.feature-card,
.faq details {
  background: #ffffff;
  border: 1px solid #dfe6f2;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(27, 42, 78, 0.08);
}

.step,
.feature-card {
  padding: 24px;
}

.step span {
  color: var(--orange);
  font-weight: 900;
}

.step h3,
.feature-card h3 {
  margin: 12px 0 10px;
  font-size: 21px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.25fr);
  gap: 28px;
  align-items: start;
}

.content-panel,
.sidebar-panel {
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #dfe6f2;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(27, 42, 78, 0.08);
}

.content-panel {
  padding: clamp(24px, 4vw, 42px);
}

.content-panel h2 {
  margin-top: 34px;
}

.content-panel h2:first-child {
  margin-top: 0;
}

.content-panel ul,
.content-panel ol {
  color: #60708f;
  line-height: 1.8;
  padding-left: 22px;
}

.sidebar-panel {
  padding: 22px;
  position: sticky;
  top: 92px;
}

.sidebar-panel h3 {
  margin-bottom: 14px;
}

.sidebar-panel a {
  display: block;
  padding: 12px 0;
  color: #263a7b;
  font-weight: 900;
  border-bottom: 1px solid #e9eef7;
}

.sidebar-panel a:last-child {
  border-bottom: 0;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.check-list div {
  padding: 16px;
  color: #33405f;
  background: #f8fbff;
  border: 1px solid #dfe6f2;
  border-radius: 8px;
}

.download-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
  gap: 34px;
  align-items: center;
  padding: 42px;
  color: #ffffff;
  background: linear-gradient(135deg, #111d45, #263a7b);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.download-band p {
  color: #c7d1ec;
}

.download-cards {
  display: grid;
  gap: 14px;
}

.download-card {
  display: block;
  min-height: 92px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.download-card:hover {
  border-color: rgba(255, 216, 90, 0.72);
}

.download-card strong,
.download-card span {
  display: block;
}

.download-card span {
  margin-top: 8px;
  color: #c7d1ec;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 46px;
  align-items: start;
}

.keyword-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #dfe6f2;
  border-radius: 8px;
}

.keyword-box span {
  padding: 10px 12px;
  color: #263a7b;
  font-weight: 900;
  background: #eef4ff;
  border-radius: 999px;
}

.faq {
  padding-top: 32px;
}

.faq details {
  margin-bottom: 12px;
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  color: #152035;
  font-weight: 900;
}

.faq details p {
  margin: 14px 0 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 0 44px;
  color: #60708f;
  border-top: 1px solid #dfe6f2;
}

.footer strong {
  color: #152035;
}

.footer p {
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: #263a7b;
  font-weight: 900;
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero,
  .download-band,
  .register-strip,
  .two-column,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .register-strip {
    display: grid;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .steps,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-panel {
    position: static;
  }
}

@media (max-width: 560px) {
  .nav-cta {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .download-band {
    padding: 26px;
  }

  .footer {
    flex-direction: column;
  }
}
