:root {
  --bg: #050814;
  --bg2: #0a0f1e;
  --panel: rgba(255, 255, 255, .06);
  --panel2: rgba(255, 255, 255, .09);
  --text: #e6f0ff;
  --muted: #9bb3d1;
  --line: rgba(255, 255, 255, .14);
  --green: #22c55e;
  --blue: #0ea5e9;
  --red: #ff4d4d;
  --shadow: 0 16px 40px rgba(0, 0, 0, .45);
  --radius: 18px;
  --max: 1120px;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 20% 10%, rgba(14, 165, 233, .18), transparent 55%),
    radial-gradient(1000px 700px at 90% 20%, rgba(34, 197, 94, .14), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--blue);
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

img {
  max-width: 100%;
  display: block
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px
}

.skip {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.skip:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  background: #fff;
  color: #000;
  padding: 10px;
  border-radius: 10px;
  z-index: 9999
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(5, 8, 20, .65);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px
}

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

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px
}

.brand .name {
  font-weight: 800;
  letter-spacing: .2px
}

.brand .tag {
  color: var(--muted);
  font-size: .88rem;
  margin-top: 2px
}

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

.nav a {
  color: var(--text);
  padding: 10px 10px;
  border-radius: 12px
}

.nav a:hover {
  background: rgba(255, 255, 255, .06);
  text-decoration: none
}

.nav a[aria-current="page"] {
  background: rgba(14, 165, 233, .18);
  border: 1px solid rgba(14, 165, 233, .35)
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
  cursor: pointer;
}

.btn:hover {
  background: rgba(255, 255, 255, .10);
  text-decoration: none
}

.btn.primary {
  border-color: rgba(34, 197, 94, .55);
  background: linear-gradient(135deg, rgba(34, 197, 94, .22), rgba(14, 165, 233, .18));
}

.btn.primary:hover {
  border-color: rgba(34, 197, 94, .75)
}

.btn.small {
  padding: 9px 12px;
  border-radius: 12px;
  font-size: .95rem
}

.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
}

.btn-melbet {
  background: #fbbf24;
  color: #000 !important;
  font-weight: 700;
  border: 1px solid #d97706;
  border-radius: 12px;
  padding: 10px 16px;
  text-decoration: none !important;
  transition: background 0.2s ease;
  line-height: 1;
}

.btn-melbet:hover {
  background: #f59e0b;
}

/* In-content CTA */
.brand-cta-box {
  border: 2px solid #fbbf24;
  background: rgba(251, 191, 36, 0.05);
  margin: 24px 0;
}

.btn-cta-large {
  background: #fbbf24;
  color: #000 !important;
  font-weight: 800;
  padding: 16px 24px;
  border-radius: 14px;
  font-size: 1.1rem;
  text-decoration: none !important;
  display: inline-flex;
  transition: transform 0.2s ease;
}

.btn-cta-large:hover {
  background: #f59e0b;
  transform: scale(1.02);
}

.mobile-btn {
  display: none
}

.mobile-nav {
  display: none;
  padding: 10px 0 14px 0;
}

.mobile-nav a {
  display: block;
  padding: 12px 12px;
  border-radius: 14px;
  color: var(--text)
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, .06);
  text-decoration: none
}

.hero {
  padding: 44px 0 18px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .04));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 22px
}

.kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-weight: 600
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, .4);
  background: rgba(34, 197, 94, .10);
  color: #caffdf;
  font-size: .9rem;
}

h1 {
  line-height: 1.15;
  margin: 10px 0 12px 0;
  font-size: 2.1rem
}

.lead {
  color: #d3e4ff;
  font-size: 1.05rem
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px
}

.hero-figure {
  overflow: hidden
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px
}

.note {
  color: var(--muted);
  font-size: .95rem
}

.section {
  padding: 22px 0
}

.section h2 {
  font-size: 1.5rem;
  margin: 0 0 10px 0
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

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

.padded {
  padding: 18px
}

.mini {
  font-size: .95rem;
  color: var(--muted)
}

.hr {
  height: 1px;
  background: var(--line);
  margin: 18px 0
}

.table-wrap {
  overflow: auto;
  border-radius: 16px;
  border: 1px solid var(--line)
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
  background: rgba(255, 255, 255, .03)
}

th,
td {
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  text-align: left;
  vertical-align: top
}

th {
  position: sticky;
  top: 0;
  background: rgba(10, 15, 30, .92);
  backdrop-filter: blur(10px);
  font-size: .95rem
}

tr:hover td {
  background: rgba(255, 255, 255, .04)
}

.list {
  margin: 0;
  padding-left: 18px
}

.list li {
  margin: 6px 0
}

.callout {
  border-left: 4px solid var(--blue);
  padding: 14px 14px 14px 14px;
  background: rgba(14, 165, 233, .10);
  border-radius: 14px;
}

.warn {
  border-left-color: var(--red);
  background: rgba(255, 77, 77, .08)
}

.form {
  display: grid;
  gap: 12px;
}

.field label {
  display: block;
  font-weight: 650;
  margin-bottom: 6px
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  padding: 12px 12px;
  color: var(--text);
  outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(14, 165, 233, .55);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, .15);
}

.field textarea {
  min-height: 120px;
  resize: vertical
}

.faq {
  display: grid;
  gap: 10px
}

.faq button {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  padding: 14px 14px;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq button:hover {
  background: rgba(255, 255, 255, .08)
}

.faq .answer {
  display: none;
  padding: 12px 14px 0 14px;
  color: var(--muted);
}

.faq .item.open .answer {
  display: block
}

.footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  background: rgba(5, 8, 20, .65)
}

.footer-inner {
  padding: 20px 16px;
  display: grid;
  gap: 12px
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.footer-links a {
  color: var(--muted)
}

.smallprint {
  color: var(--muted);
  font-size: .9rem
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.pill {
  font-size: .85rem;
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: var(--muted)
}

.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2000;
  background: rgba(10, 15, 30, .92);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 14px;
  display: none;
}

.cookie-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center
}

.cookie-banner .title {
  font-weight: 750
}

.cookie-banner .desc {
  color: var(--muted);
  font-size: .95rem;
  margin-top: 4px
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, .55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal .panel {
  max-width: 760px;
  width: 100%;
  background: rgba(10, 15, 30, .98);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.modal .head {
  padding: 16px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px
}

.modal .head h3 {
  margin: 0;
  font-size: 1.2rem
}

.modal .body {
  padding: 16px
}

.switches {
  display: grid;
  gap: 10px;
  margin-top: 10px
}

.sw {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
}

.sw .meta {
  color: var(--muted);
  font-size: .92rem;
  margin-top: 2px
}

.toggle {
  width: 46px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  position: relative;
  border: 1px solid rgba(255, 255, 255, .12);
  cursor: pointer;
  flex: 0 0 auto;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: all .2s ease;
}

.toggle.on {
  background: rgba(34, 197, 94, .26);
  border-color: rgba(34, 197, 94, .55)
}

.toggle.on::after {
  left: 21px;
  background: #dfffea
}

.toggle.disabled {
  opacity: .65;
  cursor: not-allowed
}

.modal .foot {
  padding: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr
  }

  table {
    min-width: 680px
  }
}

@media (max-width: 760px) {
  .nav {
    display: none
  }

  .mobile-btn {
    display: inline-flex
  }

  .grid-3 {
    grid-template-columns: 1fr
  }

  .grid-2 {
    grid-template-columns: 1fr
  }

  h1 {
    font-size: 1.85rem
  }

  .cookie-grid {
    grid-template-columns: 1fr
  }

  .cookie-actions {
    justify-content: flex-start
  }

  .brand-cta-box .grid-2 {
    text-align: center;
  }

  .brand-cta-box .text-right {
    text-align: center !important;
    margin-top: 16px;
  }
}

/* Steps Grid for Registration */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.step-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.step-card svg {
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  color: var(--blue);
  opacity: 0.9;
}

.step-num {
  position: absolute;
  top: 12px;
  right: 12px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  font-size: 3rem;
  line-height: 1;
  pointer-events: none;
}