/* ── RESET & TOKENS ───────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #181832;
  --primary-dark: #0f0f22;
  --primary-light: #22224a;
  --secondary: #801213;
  --secondary-dim: rgba(128, 18, 19, 0.18);
  --accent: #fab23c;
  --accent-dim: rgba(250, 178, 60, 0.15);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.55);
  --text-faint: rgba(255, 255, 255, 0.25);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-hover: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(250, 178, 60, 0.35);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.3);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--primary-dark);
  color: var(--text);
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── BACKGROUND ORBS ──────────────────────────────── */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--secondary), transparent 70%);
  top: -200px;
  left: -200px;
  animation: drift 18s ease-in-out infinite alternate;
}
.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #1a1a5e, transparent 70%);
  bottom: -150px;
  right: -150px;
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(250, 178, 60, 0.4), transparent 70%);
  top: 40%;
  left: 60%;
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(40px, 30px); }
}

/* ── LAYOUT WRAPPER ───────────────────────────────── */
.page {
  position: relative;
  z-index: 1;
}

/* ── POPUP BANNER ─────────────────────────────────── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.25s ease;
}
.popup-overlay.popup-hidden {
  display: none;
}
.popup-box {
  position: relative;
  max-width: 520px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  animation: popupIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.popup-img {
  display: block;
  width: 100%;
  height: auto;
}
.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(24, 24, 50, 0.85);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, transform 0.18s;
  z-index: 1;
}
.popup-close:hover {
  background: var(--secondary);
  transform: scale(1.1);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes popupIn {
  from { opacity: 0; transform: scale(0.88) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── NAVBAR ───────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 15, 34, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

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

.nav-chip {
  background: var(--secondary-dim);
  border: 1px solid rgba(128, 18, 19, 0.5);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), #a01718);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid rgba(250, 178, 60, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(128, 18, 19, 0.5);
  border-color: var(--accent);
}

/* ── HERO ─────────────────────────────────────────── */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-pill .dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.hero h1 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), #ffcf7a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 420px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--secondary), #a01718);
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid rgba(250, 178, 60, 0.3);
  transition: all 0.25s;
}
.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(128, 18, 19, 0.55);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass);
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.25s;
}
.btn-ghost:hover {
  background: var(--glass-hover);
  color: var(--text);
}

/* HERO STATS CARD */
.stats-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(12px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-item {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 16px;
  text-align: center;
  transition: all 0.2s;
}
.stat-item:hover {
  background: var(--secondary-dim);
  border-color: rgba(128, 18, 19, 0.4);
}
.stat-val {
  font-size: 26px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-lbl {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.stat-item.full {
  grid-column: span 2;
}
.stat-item.full .stat-val {
  font-size: 20px;
}

/* ── SECTION: JADWAL ──────────────────────────────── */
.section-jadwal {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.section-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}
.section-header .week-tag {
  background: var(--secondary);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}
.match-count {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── DAY BLOCK ────────────────────────────────────── */
.day-block {
  margin-bottom: 10px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s;
}
.day-block:hover {
  border-color: rgba(128, 18, 19, 0.5);
}

.day-header {
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, rgba(128, 18, 19, 0.5), rgba(128, 18, 19, 0.06));
  border-bottom: 1px solid var(--border);
  user-select: none;
}

.day-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.day-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.day-date {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}

.day-badge {
  margin-left: auto;
  background: rgba(128, 18, 19, 0.35);
  border: 1px solid rgba(250, 178, 60, 0.2);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
}

/* ── MATCH LIST ───────────────────────────────────── */
.match-list { padding: 0; }

/*
  Layout: [Waktu 90px] | [Home flex] | [VS+Grup 76px] | [Away flex] | [Bet 90px]
  Home & Away sama-sama flex agar nama panjang bisa wrap, tidak terpotong.
*/
.match-row {
  display: grid;
  grid-template-columns: 90px 1fr 76px 1fr 90px;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.15s;
}
.match-row:last-child { border-bottom: none; }
.match-row:hover { background: rgba(128, 18, 19, 0.1); }

.match-time {
  padding: 12px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.match-team-home {
  padding: 12px 14px 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-align: right;
  line-height: 1.35;
  word-break: break-word;
}

.match-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
}

.vs-badge {
  display: inline-block;
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.75);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 2px 7px;
  border-radius: 3px;
}

.group-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.7;
  white-space: nowrap;
}

.match-team-away {
  padding: 12px 16px 12px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  line-height: 1.35;
  word-break: break-word;
}

.match-teams { display: contents; }
.match-meta  { display: none; }
.venue-text  { display: none; }

.btn-bet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: linear-gradient(135deg, var(--secondary), #9a1415);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid rgba(250, 178, 60, 0.2);
  white-space: nowrap;
  transition: all 0.18s;
  margin: 0 auto;
}
.btn-bet:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.btn-bet img {
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  transition: filter 0.18s;
}
.btn-bet:hover img { filter: brightness(0); }

/* ── PROMO SECTION ────────────────────────────────── */
.promo-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.promo-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--secondary-dim), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.promo-card:hover {
  border-color: rgba(128, 18, 19, 0.5);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.promo-card:hover::before {
  opacity: 1;
}

.promo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--accent);
  position: relative;
  z-index: 1;
}
.promo-val {
  font-size: 24px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
.promo-lbl {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  position: relative;
  z-index: 1;
}
.promo-sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--accent);
  opacity: 0.75;
  margin-top: 3px;
  position: relative;
  z-index: 1;
}

/* ── CTA BANNER ───────────────────────────────────── */
.cta-banner {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 0 24px;
}

.cta-inner {
  background: linear-gradient(135deg, var(--secondary) 0%, #5a0d0e 50%, var(--primary-light) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-inner::after {
  content: "";
  position: absolute;
  right: 160px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 120px;
  opacity: 0.06;
  pointer-events: none;
}

.cta-text h3 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  margin-bottom: 8px;
}
.cta-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── FOOTER ───────────────────────────────────────── */
footer {
  background: var(--primary-dark);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 12px;
  display: inline-flex;
}
.footer-brand .logo img {
  height: 48px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
  max-width: 240px;
  margin-bottom: 16px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.contact-link:hover {
  color: var(--accent);
}
.contact-link .icon {
  width: 28px;
  height: 28px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 0;
}

.bank-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.bank-chip {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
}
.bank-chip img {
  height: 18px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text-faint);
}
.footer-tags {
  display: flex;
  gap: 8px;
}
.footer-tag {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-right {
    order: -1;
  }
  .stats-card {
    grid-template-columns: repeat(3, 1fr);
  }
  .stat-item.full {
    grid-column: span 3;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .promo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .nav-chip { display: none; }
  .match-row {
    grid-template-columns: 68px 1fr 60px 1fr 72px;
  }
  .match-time { font-size: 11px; padding: 10px 6px; }
  .match-team-home { font-size: 12px; padding: 10px 10px 10px 10px; }
  .match-team-away { font-size: 12px; padding: 10px 10px 10px 10px; }
  .match-center { padding: 8px 3px; }
  .btn-bet { font-size: 10px; padding: 7px 10px; }
  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-inner {
    padding: 32px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .cta-inner::after {
    display: none;
  }
  .cta-actions {
    width: 100%;
  }
  .cta-actions .btn-ghost,
  .cta-actions .btn-hero {
    display: flex;
    flex: 1;
    justify-content: center;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .stats-card {
    grid-template-columns: 1fr 1fr;
  }
  .stat-item.full {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .hero { padding: 48px 20px 36px; }
  .section-jadwal, .promo-section, .cta-banner {
    padding-left: 12px;
    padding-right: 12px;
  }
  .cta-actions {
    flex-direction: column;
  }
  .cta-actions .btn-ghost,
  .cta-actions .btn-hero {
    width: 100%;
    font-size: 14px;
    padding: 12px 20px;
  }
  .match-row {
    grid-template-columns: 56px 1fr 52px 1fr 64px;
  }
  .match-time { font-size: 10px; padding: 10px 4px; }
  .match-team-home { font-size: 11px; padding: 10px 8px; }
  .match-team-away { font-size: 11px; padding: 10px 8px; }
  .match-center { padding: 8px 2px; gap: 3px; }
  .vs-badge { font-size: 8px; padding: 2px 5px; }
  .group-tag { font-size: 9px; }
  .btn-bet { font-size: 10px; padding: 7px 6px; }
  .footer-inner {
    padding: 40px 16px 24px;
  }
  .match-count {
    display: none;
  }
}

/* ── REGISTER MODAL ─────────────────────────────────── */
.reg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 24, 0.82);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.reg-overlay.reg-open {
  opacity: 1;
  pointer-events: auto;
}
.reg-box {
  background: var(--primary-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 28px 28px;
  position: relative;
  transform: scale(0.93) translateY(16px);
  transition: transform 0.22s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.reg-overlay.reg-open .reg-box {
  transform: scale(1) translateY(0);
}
.reg-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.06);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
}
.reg-close:hover {
  background: rgba(255,255,255,0.12);
  color: var(--text);
}
.reg-header {
  text-align: center;
  margin-bottom: 24px;
}
.reg-logo {
  height: 32px;
  object-fit: contain;
  margin-bottom: 12px;
}
.reg-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 6px;
}
.reg-header p {
  font-size: 13px;
  color: var(--accent);
  margin: 0;
}
.reg-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.reg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.reg-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.reg-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.reg-opt {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.7;
}
.reg-field input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}
.reg-field input::placeholder {
  color: var(--text-faint);
}
.reg-field input:focus {
  border-color: var(--accent);
  background: rgba(250,178,60,0.06);
}
.reg-field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.6);
  cursor: pointer;
}
.reg-error {
  font-size: 13px;
  color: #ff6b6b;
  background: rgba(255,107,107,0.1);
  border-radius: 8px;
  padding: 10px 14px;
  display: none;
}
.reg-error:not(:empty) {
  display: block;
}
.reg-submit {
  background: linear-gradient(90deg, var(--accent), #ffcf7a);
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  transition: opacity 0.15s, transform 0.15s;
  font-family: inherit;
}
.reg-submit:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
}
.reg-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.reg-loader {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(24,24,50,0.3);
  border-top-color: var(--primary-dark);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.reg-success {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 0;
  gap: 10px;
}
.reg-success h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}
.reg-success p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}
button.btn-primary {
  font-family: inherit;
  cursor: pointer;
  border: none;
}
button.btn-hero {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

@media (max-width: 480px) {
  .reg-box {
    padding: 24px 18px 20px;
  }
  .reg-row {
    grid-template-columns: 1fr;
  }
}
