:root {
  --bg: #07092b;
  --bg-2: #0b0f3f;
  --panel: rgba(12, 17, 61, 0.82);
  --line: rgba(67, 106, 214, 0.28);
  --muted: #b9c1e2;
  --text: #f5f7ff;
  --cyan: #16cfff;
  --blue: #2d6cff;
  --violet: #6d45ff;
  --pink: #ff54c7;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(18, 215, 255, 0.75) rgba(7, 18, 52, 0.78);
}

html {
  scroll-behavior: smooth;
}

*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

*::-webkit-scrollbar-track {
  background: rgba(7, 18, 52, 0.78);
}

*::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(18, 215, 255, 0.85), rgba(158, 88, 255, 0.82));
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Poppins", sans-serif;
  background:
    radial-gradient(circle at 28% 16%, rgba(45, 108, 255, 0.18), transparent 30%),
    radial-gradient(circle at 74% 70%, rgba(255, 84, 199, 0.08), transparent 34%),
    linear-gradient(180deg, #080929 0%, #0d0e3d 48%, #080929 100%);
}

button,
a {
  font: inherit;
}

button {
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 80px;
  padding: 18px 46px;
  background: rgba(5, 7, 32, 0.82);
  border-bottom: 1px solid rgba(97, 123, 218, 0.24);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cyan);
  background: transparent;
  cursor: pointer;
}

.brand img {
  width: clamp(58px, 4.9vw, 74px);
  height: auto;
  max-height: 48px;
  flex: 0 0 auto;
  object-fit: contain;
  background: transparent;
}

.brand span {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 42px;
}

.site-nav a {
  position: relative;
  color: #e5e7fb;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 2px;
  content: "";
  background: transparent;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--cyan);
}

.site-nav a.active::after {
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(22, 207, 255, 0.85);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-btn,
.menu-btn,
.primary-action,
.ghost-action {
  min-height: 42px;
  border-radius: 5px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.header-btn:hover,
.menu-btn:hover,
.primary-action:hover,
.ghost-action:hover {
  transform: translateY(-1px);
}

.login-btn,
.primary-action {
  background: linear-gradient(110deg, #19c8ff, #375cff 72%);
  box-shadow: 0 0 24px rgba(36, 136, 255, 0.42);
}

.signup-btn,
.ghost-action {
  background: rgba(11, 15, 58, 0.72);
  border: 1px solid rgba(90, 122, 223, 0.42);
  box-shadow: inset 0 0 20px rgba(45, 108, 255, 0.08);
}

.header-btn {
  padding: 0 24px;
}

.menu-btn {
  display: none;
  width: 42px;
  color: #fff;
  font-size: 30px;
  background: transparent;
}

.main-content {
  width: 100%;
  min-height: auto;
  padding: 124px 38px 12px;
}

.home-shell {
  max-width: 1600px;
  margin: 0 auto;
  min-width: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  min-height: 382px;
}

.hero-copy {
  padding: 14px 0 0 28px;
}

.hero-copy h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 43px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  background: linear-gradient(110deg, var(--cyan) 0%, var(--blue) 56%, #9648ff 74%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy h1 span {
  background: linear-gradient(100deg, #b02bff 0%, var(--blue) 46%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  max-width: 340px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.primary-action {
  width: 190px;
  padding: 0 18px;
}

.ghost-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 168px;
  color: #cbd5ff;
}

.ghost-action i {
  color: var(--cyan);
  font-size: 18px;
}

.phase-visual {
  position: relative;
  min-height: 342px;
}

.water-scene {
  position: absolute;
  inset: 26px 72px 10px 0;
  overflow: hidden;
}

.water-line {
  position: absolute;
  left: 0;
  right: 78px;
  top: 142px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(22, 207, 255, 0.8), rgba(22, 207, 255, 0.36), transparent);
  filter: drop-shadow(0 0 9px rgba(22, 207, 255, 0.9));
}

.water-line::before {
  position: absolute;
  inset: -1px 0 0;
  content: "";
  background: repeating-linear-gradient(90deg, transparent 0 38px, rgba(168, 214, 255, 0.42) 39px 40px);
  opacity: 0.4;
}

.water-depth {
  position: absolute;
  left: 0;
  right: 78px;
  top: 144px;
  bottom: 22px;
  background:
    linear-gradient(180deg, rgba(21, 136, 255, 0.3), rgba(16, 58, 147, 0.2) 42%, rgba(6, 17, 62, 0)),
    repeating-linear-gradient(165deg, rgba(90, 180, 255, 0.08) 0 1px, transparent 1px 18px);
  clip-path: polygon(0 0, 100% 0, 94% 100%, 3% 100%);
  border-top: 1px solid rgba(22, 207, 255, 0.25);
}

.water-glow {
  position: absolute;
  top: 135px;
  left: 120px;
  width: 100px;
  height: 12px;
  border: 1px solid rgba(145, 222, 255, 0.82);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 8%, rgba(22, 207, 255, 0.66) 16%, rgba(22, 207, 255, 0) 68%);
  box-shadow: 0 0 32px rgba(22, 207, 255, 0.95);
}

.stone {
  position: absolute;
  z-index: 4;
  width: 36px;
  height: 24px;
  border-radius: 9px 9px 10px 10px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.86), rgba(144, 151, 183, 0.85) 42%, #565d83 76%),
    linear-gradient(45deg, transparent 0 62%, rgba(255, 255, 255, 0.28) 63%);
  box-shadow:
    inset -7px -6px 10px rgba(30, 35, 67, 0.48),
    inset 5px 4px 8px rgba(255, 255, 255, 0.32),
    0 10px 24px rgba(0, 0, 0, 0.42);
  transform: rotate(-12deg) skewX(-7deg);
}

.stone-1 {
  top: 54px;
  left: 160px;
}

.stone-2 {
  top: 118px;
  left: 385px;
}

.stone-3 {
  top: 144px;
  left: 590px;
}

.stone-4 {
  top: 178px;
  left: 765px;
}

.arc {
  position: absolute;
  z-index: 3;
  height: 86px;
  border-top: 1px dashed rgba(100, 176, 255, 0.8);
  border-radius: 50% 50% 0 0;
}

.arc-1 {
  top: 54px;
  left: 195px;
  width: 220px;
  transform: rotate(9deg);
}

.arc-2 {
  top: 90px;
  left: 420px;
  width: 210px;
  transform: rotate(4deg);
}

.arc-3 {
  top: 126px;
  left: 625px;
  width: 210px;
  transform: rotate(7deg);
}

.phase-line {
  position: absolute;
  z-index: 2;
  top: 145px;
  bottom: 20px;
  width: 1px;
  border-left: 1px dashed rgba(49, 151, 255, 0.56);
}

.phase-line-1 { left: 270px; }
.phase-line-2 { left: 485px; }
.phase-line-3 { left: 690px; }
.phase-line-4 { left: 880px; }
.phase-line-5 { left: 1062px; }

.phase-label {
  position: absolute;
  z-index: 5;
  bottom: 38px;
  color: #f3f5ff;
  font-size: 15px;
  font-weight: 500;
}

.phase-label-1 { left: 108px; }
.phase-label-2 { left: 330px; }
.phase-label-3 { left: 540px; }
.phase-label-4 { left: 728px; }
.phase-label-5 { left: 910px; }

.float-scale {
  position: absolute;
  top: 48px;
  right: 0;
  z-index: 8;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 700;
}

.float-scale i {
  font-size: 29px;
  line-height: 0.85;
}

.float-scale i:last-of-type,
.float-scale strong {
  color: var(--pink);
}

.odds-panel,
.feature-strip {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(14, 18, 62, 0.72), rgba(9, 12, 49, 0.68));
  box-shadow: inset 0 0 42px rgba(45, 108, 255, 0.05);
}

.odds-panel {
  margin-top: 20px;
  padding: 22px 26px 18px;
}

.odds-panel h2 {
  margin-bottom: 6px;
  color: #f8f9ff;
  font-size: 18px;
  font-weight: 700;
}

.odds-panel-meta {
  margin: 0 0 14px;
  color: #8ea3df;
  font-size: 13px;
  letter-spacing: 0.01em;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.odds-panel-meta.is-error {
  color: #ff8fb4;
}

.odds-layout {
  display: grid;
  grid-template-columns: 232px 1fr;
  align-items: center;
  gap: 40px;
  min-width: 0;
}

.bet-options {
  display: grid;
  gap: 10px;
}

.bet-option {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  height: 60px;
  padding: 0 22px;
  color: var(--cyan);
  text-align: left;
  background: rgba(8, 12, 49, 0.64);
  border: 1px solid rgba(66, 99, 185, 0.32);
  border-radius: 5px;
  cursor: pointer;
}

.bet-option.active {
  color: var(--pink);
  border-color: var(--pink);
  box-shadow: inset 0 0 22px rgba(255, 84, 199, 0.08);
}

.bet-option i {
  font-size: 22px;
}

.bet-option span {
  font-weight: 700;
}

.odds-table {
  display: grid;
  grid-template-columns: repeat(10, minmax(64px, 1fr));
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(76, 102, 190, 0.32);
  border-radius: 5px;
  background: rgba(9, 12, 50, 0.6);
}

.market-title,
.odd-cell {
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(76, 102, 190, 0.22);
}

.market-title {
  min-height: 48px;
}

.odd-cell {
  min-height: 108px;
  grid-template-rows: 38px 1fr;
}

.odd-cell strong {
  position: relative;
  transition:
    transform 2s ease,
    opacity 2s ease,
    text-shadow 2s ease,
    filter 2s ease,
    letter-spacing 2s ease;
  will-change: transform, opacity, filter;
}

.odd-cell strong.odds-value-updating {
  animation: oddsDrift 2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.odds-table > *:nth-child(10n + 1),
.odds-table > *:nth-child(3) {
  border-left: 0;
}

.market-title {
  grid-column: span 5;
  border-bottom: 1px solid rgba(76, 102, 190, 0.3);
  font-size: 18px;
  font-weight: 800;
}

.float-title {
  color: var(--cyan);
}

.drown-title,
.drown-odd {
  color: var(--pink);
}

.float-odd {
  color: #25a7ff;
}

@keyframes oddsDrift {
  0% {
    opacity: 0.72;
    transform: translateY(10px);
    filter: blur(1px);
    letter-spacing: 0.01em;
  }
  45% {
    opacity: 1;
    transform: translateY(-2px);
    text-shadow: 0 0 12px currentColor;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    text-shadow: 0 0 0 transparent;
    filter: blur(0);
    letter-spacing: 0;
  }
}

.odd-cell span {
  color: #e8ebff;
  font-size: 16px;
}

.odd-cell strong {
  font-size: 27px;
  font-weight: 700;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
  padding: 28px 64px;
}

.feature-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 22px;
}

.feature-item > i:not(.feature-chevron) {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: var(--cyan);
  font-size: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 42%, rgba(22, 207, 255, 0.26), rgba(45, 108, 255, 0.12) 52%, rgba(45, 108, 255, 0) 72%);
  text-shadow: 0 0 18px rgba(22, 207, 255, 0.88);
}

.feature-item h3 {
  margin-bottom: 4px;
  color: #f5f7ff;
  font-size: 16px;
  font-weight: 700;
}

.feature-item p {
  max-width: 220px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.feature-chevron {
  display: none;
}

.anchor-section {
  height: 1px;
}

.message {
  display: none;
  max-width: 600px;
  margin: 22px auto 0;
  padding: 14px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  border-radius: 40px;
}

.message.success {
  display: block;
  color: #9bffb4;
  background: rgba(46, 204, 113, 0.18);
  border: 1px solid rgba(46, 204, 113, 0.5);
}

.message.error {
  display: block;
  color: #ffa097;
  background: rgba(231, 76, 60, 0.18);
  border: 1px solid rgba(231, 76, 60, 0.5);
}

.auth-container {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 7, 26, 0.72);
  backdrop-filter: blur(8px);
}

.auth-container.open {
  display: flex;
}

#auth-container {
  width: 100%;
}

.auth-modal {
  position: relative;
  width: min(560px, 96vw);
  max-height: 78vh;
  overflow-y: auto;
  padding: 48px 24px 24px;
  background: rgba(10, 13, 45, 0.97);
  border: 1px solid rgba(22, 207, 255, 0.28);
  border-radius: 10px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.auth-modal.auth-modal-compact {
  width: min(560px, 96vw);
}

.auth-modal.auth-modal-login,
.auth-modal.auth-modal-register {
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(104, 80, 255, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(54, 93, 255, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(6, 9, 28, 0.985), rgba(8, 12, 34, 0.985));
  border: 1px solid rgba(84, 106, 196, 0.42);
  border-radius: 28px;
  box-shadow:
    0 44px 100px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.auth-modal.auth-modal-register {
  width: min(1120px, 94vw);
  height: min(90vh, 840px);
  max-height: min(90vh, 840px);
  overflow-y: auto;
}

.auth-modal.auth-modal-login {
  width: min(1040px, 94vw);
  height: min(76vh, 706px);
  max-height: min(76vh, 706px);
}

.auth-close-btn,
.verification-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.auth-close-btn:hover,
.verification-close-btn:hover {
  background: rgba(22, 207, 255, 0.25);
}

.auth-modal-login .auth-close-btn,
.auth-modal-register .auth-close-btn {
  top: 34px;
  right: 34px;
  width: 50px;
  height: 50px;
  z-index: 5;
  color: #f3f6ff;
  font-size: 18px;
  background: linear-gradient(180deg, rgba(36, 43, 92, 0.96), rgba(23, 29, 68, 0.96));
  border: 1px solid rgba(143, 162, 255, 0.18);
  box-shadow:
    0 12px 24px rgba(7, 10, 31, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 1;
}

.auth-modal-login .auth-close-btn:hover,
.auth-modal-register .auth-close-btn:hover {
  background: linear-gradient(180deg, rgba(57, 68, 140, 0.98), rgba(33, 41, 92, 0.98));
}

.auth-modal-login .auth-close-btn i,
.auth-modal-register .auth-close-btn i {
  color: inherit;
  font-size: 20px;
  line-height: 1;
}

.auth-header h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.auth-header p {
  margin-bottom: 18px;
  color: #c8c8d8;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: #e7e7f1;
  font-size: 14px;
}

.form-control {
  width: 100%;
  padding: 11px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(22, 207, 255, 0.3);
  border-radius: 8px;
  outline: none;
}

.form-control:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(22, 207, 255, 0.16);
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  top: 50%;
  left: 12px;
  color: #8ccbe0;
  transform: translateY(-50%);
}

.input-with-icon .form-control {
  padding-left: 36px;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 10px 0 14px;
  color: #d4d4df;
  font-size: 14px;
}

.checkbox-group a {
  color: var(--cyan);
  text-decoration: none;
}

.btn {
  width: 100%;
  padding: 11px 14px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(110deg, #19c8ff, #375cff 72%);
  border-radius: 8px;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.divider {
  margin: 16px 0 10px;
  color: #9fa9bb;
  text-align: center;
  font-size: 13px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  color: #9fa9bb;
  cursor: pointer;
  transform: translateY(-50%);
}

.verification-page,
.dashboard-page {
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
}

.verification-container,
.dashboard-container {
  position: relative;
  max-width: 560px;
  padding: 46px 38px;
  text-align: center;
  background: rgba(10, 13, 45, 0.95);
  border: 1px solid rgba(22, 207, 255, 0.28);
  border-radius: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}

.verification-icon,
.dashboard-icon {
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 72px;
}

.code-inputs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 30px 0 20px;
}

.code-input {
  width: 56px;
  height: 64px;
  color: #fff;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  background: rgba(20, 24, 68, 0.8);
  border: 2px solid rgba(22, 207, 255, 0.4);
  border-radius: 8px;
}

.user-card {
  margin: 30px 0;
  padding: 30px;
  background: rgba(20, 24, 68, 0.6);
  border: 1px solid rgba(22, 207, 255, 0.2);
  border-radius: 8px;
}

footer {
  display: none;
  padding: 24px;
  color: #8f98c5;
  text-align: center;
  font-size: 13px;
  background: rgba(5, 7, 32, 0.92);
  border-top: 1px solid rgba(97, 123, 218, 0.2);
}

footer p + p {
  margin-top: 10px;
}

footer a {
  margin: 0 10px;
  color: #b9c1e2;
  text-decoration: none;
}

footer a:hover {
  color: var(--cyan);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

.auth-register-shell.auth-form.active {
  display: grid;
}

.auth-login-shell.auth-form.active {
  display: grid;
}

.auth-login-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.65fr);
  height: 100%;
  min-height: 0;
}

.auth-register-shell {
  display: grid;
  grid-template-columns: minmax(290px, 0.74fr) minmax(0, 1.86fr);
  height: 100%;
  min-height: 0;
}

.register-panel {
  min-width: 0;
}

.login-panel {
  min-width: 0;
}

.login-panel-brand {
  display: grid;
  align-content: start;
  gap: clamp(26px, 3.2vh, 38px);
  padding: clamp(34px, 4.2vh, 52px) clamp(28px, 2.8vw, 44px) clamp(26px, 3vh, 40px);
  background:
    radial-gradient(circle at bottom left, rgba(145, 77, 255, 0.2), transparent 44%),
    linear-gradient(180deg, rgba(19, 23, 61, 0.98), rgba(9, 13, 39, 0.98));
  border-right: 1px solid rgba(84, 106, 196, 0.34);
}

.login-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #f4f6ff;
  font-size: clamp(15px, 1.08vw, 18px);
  font-weight: 600;
}

.login-brand-mark img {
  width: clamp(58px, 4.4vw, 72px);
  height: auto;
  max-height: 46px;
  flex: 0 0 auto;
  object-fit: contain;
  background: transparent;
}

.login-brand-copy h2 {
  max-width: 280px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 2.6vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.login-brand-copy h2 span {
  color: #8f60ff;
}

.login-brand-copy p {
  max-width: 280px;
  margin-top: 18px;
  color: #c0c7e6;
  font-size: clamp(15px, 1.02vw, 17px);
  line-height: 1.56;
}

.login-panel-form {
  position: relative;
  padding: clamp(34px, 4.4vh, 54px) clamp(34px, 3vw, 48px) clamp(28px, 3.4vh, 40px);
  background:
    radial-gradient(circle at top right, rgba(71, 96, 255, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(7, 10, 31, 0.92), rgba(7, 10, 30, 0.98));
}

.login-header {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: clamp(34px, 4vh, 48px);
  padding-right: clamp(54px, 5vw, 82px);
}

.login-header-badge {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  color: #ddd6ff;
  font-size: 30px;
  background: linear-gradient(135deg, rgba(46, 64, 172, 0.94), rgba(88, 65, 205, 0.92));
  border: 1px solid rgba(121, 141, 255, 0.22);
  border-radius: 18px;
  box-shadow: 0 18px 32px rgba(34, 46, 126, 0.28);
}

.login-header h2 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: clamp(32px, 2.6vw, 46px);
  letter-spacing: -0.04em;
}

.login-header p {
  margin: 0;
  color: #c0c7e6;
  font-size: clamp(14px, 1vw, 16px);
}

.login-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.4vh, 28px);
}

.login-span-full {
  grid-column: 1 / -1;
}

#loginForm .form-group {
  margin-bottom: 0;
}

#loginForm .form-group label {
  margin-bottom: 12px;
  color: #f1f4ff;
  font-size: clamp(13px, 0.96vw, 15px);
  font-weight: 600;
}

#loginForm .input-with-icon i {
  left: 16px;
  color: #a4add0;
  font-size: 15px;
}

#loginForm .input-with-icon .form-control {
  padding-left: 46px;
}

#loginForm .form-control {
  min-height: clamp(50px, 5vh, 58px);
  color: #fdfdff;
  background: rgba(8, 12, 39, 0.78);
  border: 1px solid rgba(72, 92, 168, 0.48);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  font-size: clamp(14px, 1vw, 15px);
}

#loginForm .form-control::placeholder {
  color: #838cb0;
}

#loginForm .form-control:focus {
  border-color: rgba(113, 96, 255, 0.88);
  box-shadow: 0 0 0 3px rgba(109, 92, 255, 0.14);
}

#loginForm .password-toggle {
  right: 15px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #9098bc;
  cursor: pointer;
}

.login-options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: -2px 0 0;
  color: #d4d4df;
  font-size: clamp(13px, 1vw, 15px);
}

.login-remember-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #e0e5ff;
  cursor: pointer;
}

.login-remember-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #7e59ff;
}

.login-forgot-link {
  color: #4691ff;
  text-decoration: none;
}

.login-submit-btn {
  min-height: clamp(54px, 5.6vh, 62px);
  margin-top: -2px;
  font-size: clamp(17px, 1.25vw, 19px);
  font-weight: 600;
  background: linear-gradient(90deg, #834eff, #5c63ff 48%, #4691ff);
  border: 1px solid rgba(155, 176, 255, 0.16);
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(59, 76, 186, 0.3);
}

.login-submit-btn i {
  margin-left: 10px;
}

.login-divider {
  position: relative;
  margin: 2px 0 0;
  color: #c0c7e6;
  text-align: center;
  font-size: 14px;
}

.login-divider::before,
.login-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 32px);
  height: 1px;
  background: rgba(104, 123, 230, 0.22);
}

.login-divider::before {
  left: 0;
}

.login-divider::after {
  right: 0;
}

.login-divider span {
  display: inline-block;
  padding: 0 12px;
  background: transparent;
}

.login-signup-hint {
  margin: -2px 0 0;
  color: #c0c7e6;
  text-align: center;
  font-size: clamp(14px, 1vw, 16px);
}

.login-signup-hint a {
  color: #8f60ff;
  text-decoration: none;
}

.register-panel-brand {
  display: grid;
  align-content: start;
  gap: clamp(22px, 2.8vh, 38px);
  padding: clamp(26px, 3.4vh, 46px) clamp(24px, 2.4vw, 38px) clamp(24px, 3vh, 42px);
  background:
    radial-gradient(circle at bottom left, rgba(145, 77, 255, 0.22), transparent 45%),
    linear-gradient(180deg, rgba(25, 20, 68, 0.96), rgba(10, 12, 39, 0.98));
  border-right: 1px solid rgba(104, 123, 230, 0.28);
}

.register-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f4f6ff;
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 600;
}

.register-brand-mark img {
  width: clamp(54px, 4vw, 66px);
  height: auto;
  max-height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
  background: transparent;
}

.register-brand-copy h2 {
  max-width: 240px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(28px, 2.2vw, 33px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.register-brand-copy h2 span {
  color: #8a58ff;
}

.register-brand-copy p {
  max-width: 266px;
  margin-top: 12px;
  color: #b2bbdf;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.48;
}

.register-brand-points {
  display: grid;
  gap: clamp(14px, 1.8vh, 22px);
  margin-top: 2px;
}

.register-point {
  display: grid;
  grid-template-columns: clamp(42px, 4vh, 54px) 1fr;
  gap: 14px;
  align-items: start;
}

.register-point-icon {
  display: grid;
  width: clamp(42px, 4vh, 54px);
  height: clamp(42px, 4vh, 54px);
  place-items: center;
  color: #9f6dff;
  font-size: clamp(18px, 1.6vw, 22px);
  background: linear-gradient(145deg, rgba(66, 53, 164, 0.84), rgba(32, 36, 97, 0.8));
  border: 1px solid rgba(120, 138, 255, 0.14);
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 26px rgba(20, 16, 63, 0.34);
}

.register-point h3 {
  margin: 0 0 6px;
  color: #f5f7ff;
  font-size: clamp(15px, 1.1vw, 17px);
}

.register-point p {
  color: #9ea7cf;
  font-size: clamp(13px, 0.92vw, 14px);
  line-height: 1.45;
}

.register-panel-form {
  position: relative;
  padding: clamp(24px, 3vh, 40px) clamp(24px, 2.4vw, 36px) clamp(46px, 5vh, 68px);
  background:
    radial-gradient(circle at top right, rgba(71, 96, 255, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(7, 10, 31, 0.92), rgba(7, 10, 30, 0.98));
}

.register-header {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: clamp(14px, 1.8vh, 24px);
  padding-right: clamp(48px, 5vw, 76px);
}

.register-header-badge {
  display: grid;
  width: clamp(46px, 4.2vh, 56px);
  height: clamp(46px, 4.2vh, 56px);
  place-items: center;
  color: #d0c9ff;
  font-size: clamp(18px, 1.5vw, 22px);
  background: linear-gradient(135deg, rgba(49, 72, 184, 0.94), rgba(96, 68, 214, 0.9));
  border: 1px solid rgba(121, 141, 255, 0.24);
  border-radius: 15px;
  box-shadow: 0 18px 32px rgba(34, 46, 126, 0.28);
}

.register-header h2 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: clamp(24px, 2vw, 28px);
  letter-spacing: -0.02em;
}

.register-header p {
  margin: 0;
  color: #9ea8cf;
  font-size: clamp(14px, 1vw, 16px);
}

.register-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.5vh, 16px) clamp(16px, 1.4vw, 22px);
}

.register-span-half {
  grid-column: span 1;
}

.register-span-full {
  grid-column: 1 / -1;
}

#signupForm .form-group {
  margin-bottom: 0;
}

#signupForm .form-group label {
  margin-bottom: 6px;
  color: #f1f4ff;
  font-size: clamp(13px, 0.92vw, 14px);
  font-weight: 600;
}

#signupForm .input-with-icon i {
  left: 16px;
  color: #9da6c9;
  font-size: 15px;
}

#signupForm .input-with-icon .form-control {
  padding-left: 44px;
}

#signupForm .input-with-trailing-icon .form-control {
  padding-right: 46px;
}

#signupForm .form-control {
  min-height: clamp(42px, 4.4vh, 48px);
  color: #fdfdff;
  background: rgba(8, 12, 39, 0.78);
  border: 1px solid rgba(72, 92, 168, 0.48);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  font-size: clamp(13px, 0.95vw, 15px);
}

#signupForm .form-control::placeholder {
  color: #838cb0;
}

#signupForm .form-control:focus {
  border-color: rgba(113, 96, 255, 0.88);
  box-shadow: 0 0 0 3px rgba(109, 92, 255, 0.14);
}

#signupForm .password-toggle {
  right: 15px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #9098bc;
  cursor: pointer;
}

#signupForm select.form-control {
  appearance: none;
  width: 100%;
}

#signupForm .field-trailing-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: #a7afd0;
  font-size: 13px;
  pointer-events: none;
  transform: translateY(-50%);
}

#signupForm .input-with-trailing-icon {
  overflow: hidden;
}

.register-custom-nationality[hidden] {
  display: none;
}

.register-password-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  color: #8f98bd;
  font-size: 11px;
}

.register-password-strength {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.password-strength-bars {
  display: inline-flex;
  gap: 5px;
}

.strength-bar {
  width: 23px;
  height: 3px;
  border-radius: 999px;
  background: rgba(147, 154, 189, 0.28);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.strength-bar.active.is-weak {
  background: #ff5fa2;
  box-shadow: 0 0 10px rgba(255, 95, 162, 0.28);
}

.strength-bar.active.is-medium {
  background: #9d68ff;
  box-shadow: 0 0 10px rgba(157, 104, 255, 0.28);
}

.strength-bar.active.is-strong {
  background: #4e8dff;
  box-shadow: 0 0 10px rgba(78, 141, 255, 0.28);
}

.register-terms {
  margin: 2px 0 0;
  color: #b9c1e2;
  font-size: clamp(13px, 0.95vw, 14px);
}

.register-terms input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #7e59ff;
}

.register-terms a,
.register-signin-hint a {
  color: #9666ff;
  text-decoration: none;
}

.register-submit-btn {
  min-height: clamp(44px, 4.5vh, 52px);
  margin-top: 0;
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 600;
  background: linear-gradient(90deg, #834eff, #5c63ff 48%, #4691ff);
  border: 1px solid rgba(155, 176, 255, 0.16);
  border-radius: 12px;
  box-shadow: 0 18px 36px rgba(59, 76, 186, 0.3);
}

.register-submit-btn i {
  margin-left: 8px;
}

.register-signin-hint {
  margin: 10px 0 6px;
  color: #aab2d5;
  text-align: center;
  font-size: clamp(13px, 0.95vw, 14px);
}

@media (max-height: 860px) and (min-width: 901px) {
  .auth-modal.auth-modal-login {
    height: 72vh;
    max-height: 72vh;
  }

  .auth-modal.auth-modal-register {
    height: 86vh;
    max-height: 86vh;
    overflow-y: auto;
  }

  .auth-modal-login .auth-close-btn,
  .auth-modal-register .auth-close-btn {
    top: 22px;
    right: 22px;
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .auth-modal-login .auth-close-btn i,
  .auth-modal-register .auth-close-btn i {
    font-size: 18px;
  }

  .login-header {
    margin-bottom: 26px;
  }

  .login-header-badge {
    width: 62px;
    height: 62px;
    font-size: 25px;
  }

  .login-form-grid {
    gap: 18px;
  }

  .login-submit-btn {
    min-height: 50px;
  }

  .register-brand-copy h2 {
    max-width: 220px;
  }

  .register-password-meta {
    font-size: 10px;
  }

  .strength-bar {
    width: 20px;
  }

  .register-form-grid {
    gap: 12px 18px;
  }

  .register-signin-hint {
    margin-top: 8px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1220px) {
  .site-header {
    padding: 16px 24px;
  }

  .site-nav {
    gap: 24px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-copy {
    display: grid;
    justify-items: start;
    padding: 0;
  }

  .phase-visual {
    min-height: 330px;
  }

  .water-scene {
    inset: 0 58px 0 0;
  }

  .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 28px;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto 1fr;
    gap: 16px;
  }

  .site-nav {
    display: none;
  }

  .site-nav.is-open {
    position: absolute;
    top: calc(100% + 8px);
    left: 24px;
    right: 24px;
    z-index: 1001;
    display: grid;
    gap: 4px;
    padding: 10px;
    background: rgba(5, 9, 38, 0.98);
    border: 1px solid rgba(97, 123, 218, 0.36);
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.36);
  }

  .site-nav.is-open a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 5px;
    font-size: 14px;
    background: rgba(12, 18, 62, 0.62);
  }

  .site-nav.is-open a::after {
    display: none;
  }

  .menu-btn {
    display: inline-grid;
    place-items: center;
    position: relative;
    z-index: 1002;
  }

  .main-content {
    padding: 118px 28px 42px;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-copy {
    display: contents;
  }

  .hero-copy h1 {
    order: 1;
    max-width: 560px;
    font-size: 48px;
  }

  .hero-copy p {
    order: 2;
    max-width: 330px;
    margin-top: 18px;
    font-size: 21px;
    line-height: 1.55;
  }

  .phase-visual {
    order: 3;
    min-height: 300px;
    margin-top: 12px;
    overflow: hidden;
  }

  .water-scene {
    width: 790px;
    height: 300px;
    inset: 0 auto auto 0;
    transform: none;
    transform-origin: top left;
    overflow: visible;
  }

  .float-scale {
    top: -4px;
    right: 6px;
    gap: 9px;
    font-size: 16px;
  }

  .float-scale i {
    font-size: 30px;
  }

  .water-line {
    top: 150px;
    right: 0;
  }

  .water-depth {
    top: 152px;
    right: 0;
  }

  .water-glow {
    top: 143px;
    left: 82px;
  }

  .stone-1 { top: 72px; left: 108px; }
  .stone-2 { top: 126px; left: 285px; }
  .stone-3 { top: 150px; left: 450px; }
  .stone-4 { top: 176px; left: 600px; }

  .arc-1 { top: 78px; left: 138px; width: 180px; }
  .arc-2 { top: 112px; left: 315px; width: 176px; }
  .arc-3 { top: 145px; left: 484px; width: 160px; }

  .phase-line {
    top: 152px;
    bottom: 48px;
  }

  .phase-line-1 { left: 190px; }
  .phase-line-2 { left: 340px; }
  .phase-line-3 { left: 490px; }
  .phase-line-4 { left: 640px; }
  .phase-line-5 { left: 790px; }

  .phase-label {
    bottom: 32px;
    font-size: 16px;
  }

  .phase-label-1 { left: 62px; }
  .phase-label-2 { left: 230px; }
  .phase-label-3 { left: 392px; }
  .phase-label-4 { left: 545px; }
  .phase-label-5 { left: 690px; }

  .hero-actions {
    order: 4;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    width: min(620px, 100%);
    margin: 30px auto 0;
  }

  .primary-action,
  .ghost-action {
    width: auto;
    min-height: 60px;
    font-size: 20px;
  }

  .odds-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bet-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .odds-table {
    grid-template-columns: repeat(5, minmax(74px, 1fr));
    overflow: hidden;
  }

  .market-title {
    display: none;
  }

  .odd-cell {
    min-height: 102px;
    grid-template-rows: 42px 1fr;
  }

  .feature-strip {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 22px;
    padding: 22px 22px;
    border-radius: 12px;
  }

  .feature-item {
    grid-template-columns: 70px 1fr 24px;
    gap: 16px;
    min-height: 112px;
    border-bottom: 1px solid rgba(76, 102, 190, 0.28);
  }

  .feature-item:last-child {
    border-bottom: 0;
  }

  .feature-item > i:not(.feature-chevron) {
    width: 64px;
    height: 64px;
    font-size: 32px;
  }

  .feature-item h3 {
    font-size: 22px;
  }

  .feature-item p {
    max-width: none;
    font-size: 18px;
  }

  .feature-chevron {
    display: block;
    color: #7d8cc6;
    font-size: 25px;
  }

  .auth-modal.auth-modal-register {
    width: min(760px, 96vw);
    max-height: 92vh;
    overflow-y: auto;
  }

  .auth-modal.auth-modal-login {
    width: min(760px, 96vw);
    height: auto;
    max-height: 92vh;
    overflow-y: auto;
  }

  .auth-login-shell,
  .auth-register-shell {
    grid-template-columns: 1fr;
    min-height: auto;
    height: auto;
  }

  .login-panel-brand,
  .register-panel-brand {
    gap: 22px;
    padding: 30px 26px 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(104, 123, 230, 0.24);
  }

  .login-brand-copy h2,
  .login-brand-copy p,
  .register-brand-copy h2,
  .register-brand-copy p {
    max-width: none;
  }

  .login-panel-form,
  .register-panel-form {
    padding: 28px 26px 30px;
  }

  .auth-modal-login .auth-close-btn,
  .auth-modal-register .auth-close-btn {
    top: 22px;
    right: 22px;
    width: 44px;
    height: 44px;
  }

  .login-header {
    grid-template-columns: 58px 1fr;
    gap: 14px;
    margin-bottom: 24px;
    padding-right: 56px;
  }

  .login-header-badge {
    width: 58px;
    height: 58px;
    font-size: 24px;
  }

  .login-form-grid {
    gap: 18px;
  }

  .login-options-row {
    gap: 12px;
  }

  .register-form-grid {
    grid-template-columns: 1fr;
  }

  .register-span-half,
  .register-span-full {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 86px;
    padding: 14px 30px;
  }

  .brand span {
    font-size: 22px;
  }

  .brand img {
    width: 62px;
    height: auto;
    max-height: 42px;
  }

  .header-actions {
    justify-self: end;
    gap: 20px;
  }

  .auth-container {
    padding: 10px;
  }

  .auth-modal.auth-modal-register {
    width: 100%;
    border-radius: 20px;
  }

  .auth-modal.auth-modal-login {
    width: 100%;
    border-radius: 20px;
  }

  .login-panel-brand,
  .login-panel-form,
  .register-panel-brand,
  .register-panel-form {
    padding-left: 20px;
    padding-right: 20px;
  }

  .login-header,
  .register-header {
    grid-template-columns: 46px 1fr;
    gap: 12px;
    padding-right: 56px;
  }

  .login-header-badge,
  .register-header-badge {
    width: 46px;
    height: 46px;
  }

  .login-header h2,
  .register-header h2 {
    font-size: 24px;
  }

  .login-brand-copy h2,
  .register-brand-copy h2 {
    font-size: 29px;
  }

  .login-options-row {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .register-password-meta {
    flex-direction: column;
    gap: 4px;
  }

  .header-btn {
    min-height: 52px;
    padding: 0 28px;
    font-size: 19px;
  }

  .menu-btn {
    min-height: 52px;
    width: 48px;
    font-size: 32px;
  }

  .main-content {
    padding: 128px 28px 44px;
  }

  .hero-copy h1 {
    font-size: 44px;
    line-height: 1.28;
  }

  .hero-copy p {
    max-width: 310px;
    font-size: 21px;
  }

  .phase-visual {
    min-height: 282px;
    margin-top: 8px;
    overflow: hidden;
  }

  .water-scene {
    width: 790px;
    height: 300px;
    inset: 0 auto auto 0;
    transform: scale(0.8);
    transform-origin: top left;
    overflow: visible;
  }

  .float-scale {
    top: -4px;
    right: 6px;
    gap: 9px;
    font-size: 16px;
  }

  .float-scale i {
    font-size: 30px;
  }

  .water-line {
    top: 150px;
    right: 0;
  }

  .water-depth {
    top: 152px;
    right: 0;
  }

  .water-glow {
    top: 143px;
    left: 82px;
  }

  .stone-1 { top: 72px; left: 108px; }
  .stone-2 { top: 126px; left: 285px; }
  .stone-3 { top: 150px; left: 450px; }
  .stone-4 { top: 176px; left: 600px; }

  .arc-1 { top: 78px; left: 138px; width: 180px; }
  .arc-2 { top: 112px; left: 315px; width: 176px; }
  .arc-3 { top: 145px; left: 484px; width: 160px; }

  .phase-line {
    top: 152px;
    bottom: 48px;
  }

  .phase-line-1 { left: 190px; }
  .phase-line-2 { left: 340px; }
  .phase-line-3 { left: 490px; }
  .phase-line-4 { left: 640px; }
  .phase-line-5 { left: 790px; }

  .phase-label {
    bottom: 32px;
    font-size: 16px;
  }

  .phase-label-1 { left: 62px; }
  .phase-label-2 { left: 230px; }
  .phase-label-3 { left: 392px; }
  .phase-label-4 { left: 545px; }
  .phase-label-5 { left: 690px; }

  .primary-action,
  .ghost-action {
    min-height: 58px;
    font-size: 18px;
  }

  .odds-panel {
    margin-top: 36px;
    padding: 26px 30px 24px;
    border-radius: 10px;
  }

  .odds-panel h2 {
    margin-bottom: 18px;
    font-size: 23px;
  }

  .bet-options {
    width: 100%;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(76, 102, 190, 0.38);
    border-radius: 7px;
  }

  .bet-option {
    height: 66px;
    grid-template-columns: 44px auto;
    justify-content: center;
    padding: 0 16px;
    border: 0;
    border-radius: 0;
    font-size: 19px;
  }

  .bet-option + .bet-option {
    border-left: 1px solid rgba(76, 102, 190, 0.38);
  }

  .odds-table {
    width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-radius: 8px;
  }

  .odds-table > * {
    min-height: 48px;
  }

  .odds-table span {
    padding-top: 12px;
    font-size: 20px;
    font-weight: 600;
  }

  .odds-table strong {
    align-items: start;
    min-height: 48px;
    padding-bottom: 14px;
    font-size: 28px;
  }

  .feature-strip {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 22px;
    padding: 22px 22px;
    border-radius: 12px;
  }

  .feature-item {
    grid-template-columns: 70px 1fr 24px;
    gap: 16px;
    min-height: 112px;
    border-bottom: 1px solid rgba(76, 102, 190, 0.28);
  }

  .feature-item > i:not(.feature-chevron) {
    width: 64px;
    height: 64px;
    font-size: 32px;
  }

  .feature-item:last-child {
    border-bottom: 0;
  }

  .feature-item h3 {
    font-size: 22px;
  }

  .feature-item p {
    max-width: none;
    font-size: 18px;
  }

  .feature-chevron {
    display: block;
    color: #7d8cc6;
    font-size: 25px;
  }

  .code-inputs {
    gap: 8px;
  }

  .code-input {
    width: 42px;
    height: 54px;
  }
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 14px 8px;
    gap: 6px;
  }

  .site-nav.is-open {
    left: 8px;
    right: 8px;
  }

  .brand {
    min-width: 0;
    gap: 6px;
  }

  .brand span {
    font-size: 14px;
  }

  .brand img {
    width: 46px;
    height: auto;
    max-height: 32px;
  }

  .header-actions {
    gap: 4px;
  }

  .header-btn {
    min-height: 38px;
    padding: 0 8px;
    font-size: 12px;
  }

  .header-actions .signup-btn {
    display: none;
  }

  .menu-btn {
    min-height: 38px;
    width: 28px;
    font-size: 25px;
  }

  .main-content {
    padding: 116px 12px 32px;
  }

  .hero-copy h1 {
    font-size: 33px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-actions {
    gap: 12px;
  }

  .primary-action,
  .ghost-action {
    min-height: 42px;
    font-size: 14px;
  }

  .phase-visual {
    min-height: 218px;
  }

  .water-scene {
    transform: scale(0.46);
  }

  .float-scale {
    font-size: 12px;
  }

  .float-scale i {
    font-size: 23px;
  }

  .odds-panel {
    padding: 20px 14px;
  }

  .odds-panel h2 {
    font-size: 18px;
  }

  .bet-option {
    height: 58px;
    font-size: 16px;
  }

  .odds-table span {
    font-size: 16px;
  }

  .odds-table strong {
    font-size: 25px;
  }

  .feature-strip {
    padding: 16px 14px;
  }

  .feature-item {
    grid-template-columns: 52px 1fr 18px;
    min-height: 96px;
    gap: 12px;
  }

  .feature-item > i:not(.feature-chevron) {
    width: 50px;
    height: 50px;
    font-size: 25px;
  }

  .feature-item h3 {
    font-size: 17px;
  }

  .feature-item p {
    font-size: 14px;
  }
}
