/* ============================================================
   DARK MEETS — Global Design System
   main.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* ===== DESIGN TOKENS ===== */
:root {
  --bg-primary:      #0a0a0a;
  --bg-secondary:    #111111;
  --bg-card:         #141414;
  --bg-card-2:       #1a1a1a;
  --bg-input:        #181818;

  --pink:            #FF1B6B;
  --pink-dark:       #cc1558;
  --pink-dim:        rgba(255, 27, 107, 0.15);
  --pink-border:     rgba(255, 27, 107, 0.35);
  --purple:          #7B2FBE;
  --purple-dim:      rgba(123, 47, 190, 0.2);
  --blue:            #3B82F6;
  --blue-dim:        rgba(59, 130, 246, 0.15);
  --blue-border:     rgba(59, 130, 246, 0.4);
  --green:           #22C55E;
  --green-dim:       rgba(34, 197, 94, 0.15);

  --white:           #FFFFFF;
  --gray-100:        #F3F4F6;
  --gray-300:        #D1D5DB;
  --gray-400:        #9CA3AF;
  --gray-500:        #6B7280;
  --gray-600:        #4B5563;
  --gray-700:        #374151;

  --border:          rgba(255, 255, 255, 0.08);
  --border-light:    rgba(255, 255, 255, 0.05);

  --font:            'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --nav-h:           64px;

  --r-xs:            6px;
  --r-sm:            8px;
  --r-md:            12px;
  --r-lg:            16px;
  --r-xl:            20px;
  --r-2xl:           24px;
  --r-full:          9999px;

  --shadow-pink:     0 0 24px rgba(255, 27, 107, 0.3);
  --shadow-card:     0 4px 32px rgba(0, 0, 0, 0.5);
  --shadow-sm:       0 2px 8px rgba(0, 0, 0, 0.3);

  --transition:      all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--bg-primary);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: var(--font);
  cursor: pointer;
}

ul {
  list-style: none;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--pink); border-radius: 2px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 50%;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-brand {
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.2px;
}

.nav-brand em {
  color: var(--pink);
  font-style: normal;
}

.nav-tagline {
  font-size: 10px;
  color: var(--gray-500);
  font-weight: 400;
}

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

/* Hamburger */
.hamburger-btn {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--r-sm);
  transition: var(--transition);
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 8px 16px 16px;
  z-index: 998;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.2s;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a,
.mobile-menu button.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  padding: 14px 4px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  text-align: left;
  transition: color 0.2s;
}

.mobile-menu a:last-child,
.mobile-menu button.menu-item:last-child {
  border-bottom: none;
}

.mobile-menu a:hover,
.mobile-menu button.menu-item:hover {
  color: var(--pink);
}

/* Desktop nav links */
.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-400);
  transition: color 0.2s;
}

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

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .hamburger-btn { display: none; }
  .navbar { padding: 0 48px; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  font-family: var(--font);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border-radius: var(--r-full);
  letter-spacing: 0.1px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background: var(--pink);
  color: white;
  padding: 15px 24px;
  font-size: 15px;
  width: 100%;
}

.btn-primary:hover {
  background: var(--pink-dark);
  box-shadow: var(--shadow-pink);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border);
  padding: 14px 24px;
  font-size: 15px;
  width: 100%;
  font-weight: 500;
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
}

.btn-icon {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: var(--transition);
}

.btn-icon:hover {
  background: var(--bg-card);
  border-color: rgba(255,255,255,0.2);
}

/* Nav register button */
.btn-nav-register {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--pink);
  color: white;
  border: none;
  border-radius: var(--r-full);
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  font-family: var(--font);
}

.btn-nav-register:hover {
  background: var(--pink-dark);
  box-shadow: var(--shadow-pink);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.page-content {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
}

.container-wide {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container { padding: 0 24px; }
  .container-wide { padding: 0 32px; }
}

@media (min-width: 1024px) {
  .container-wide { padding: 0 48px; }
}

/* ============================================================
   STEP INDICATOR
   ============================================================ */
.step-indicator {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin: 0 0 32px;
}

.step-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  border: 2px solid var(--gray-700);
  color: var(--gray-500);
  background: transparent;
  transition: var(--transition);
}

.step-circle.active {
  background: var(--pink);
  border-color: var(--pink);
  color: white;
}

.step-circle.done {
  background: var(--pink);
  border-color: var(--pink);
  color: white;
}

.step-label {
  font-size: 10px;
  color: var(--gray-600);
  font-weight: 500;
  text-align: center;
}

.step-label.active {
  color: var(--pink);
}

.step-connector {
  width: 48px;
  height: 2px;
  background: var(--gray-700);
  margin: 17px 0 0;
  flex-shrink: 0;
  transition: var(--transition);
}

.step-connector.done {
  background: var(--pink);
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-group {
  margin-bottom: 14px;
}

.form-field {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  transition: border-color 0.2s;
  position: relative;
}

.form-field:focus-within {
  border-color: var(--pink-border);
}

.field-icon {
  color: var(--gray-500);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.form-field input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 15px;
  font-family: var(--font);
  flex: 1;
  min-width: 0;
}

.form-field input::placeholder {
  color: var(--gray-600);
}

.form-field input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--bg-card) inset;
  -webkit-text-fill-color: var(--white);
}

.toggle-pw {
  background: none;
  border: none;
  color: var(--gray-500);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.toggle-pw:hover {
  color: var(--white);
}

.form-hint {
  font-size: 12px;
  color: var(--gray-600);
  margin-top: 6px;
  padding-left: 2px;
}

.form-error {
  font-size: 12px;
  color: var(--pink);
  margin-top: 6px;
  padding-left: 2px;
  display: none;
}

.form-error.visible {
  display: block;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
}

/* ============================================================
   LOADING / SPINNER
   ============================================================ */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse-ring {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.4); }
}

@keyframes float-heart {
  0%   { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(-60px) scale(0.5); opacity: 0; }
}

@keyframes dash-rotate {
  to { transform: rotate(360deg); }
}

@keyframes progress-arc {
  0%   { stroke-dashoffset: 220; }
  100% { stroke-dashoffset: 0; }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes ping {
  0%   { transform: scale(1); opacity: 0.8; }
  80%, 100% { transform: scale(2); opacity: 0; }
}

.spinner {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255,255,255,0.25);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

/* ============================================================
   TOAST
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
}

.toast {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  animation: fade-in-up 0.3s ease;
  pointer-events: auto;
  max-width: 320px;
  text-align: center;
}

.toast.success { border-color: var(--green); color: var(--green); }
.toast.error   { border-color: var(--pink);  color: var(--pink);  }
.toast.info    { border-color: var(--border); color: var(--white); }

/* ============================================================
   SECTION BASICS
   ============================================================ */
.section {
  padding: 48px 16px;
}

.section-heading {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.section-sub {
  text-align: center;
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 28px;
}

/* Pink decorative line around section title */
.title-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 6px;
}

.title-deco::before,
.title-deco::after {
  content: '';
  height: 1.5px;
  width: 32px;
  background: var(--pink);
  border-radius: 2px;
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 28px 16px 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.footer-brand {
  font-size: 16px;
  font-weight: 800;
}

.footer-brand em {
  color: var(--pink);
  font-style: normal;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-bottom: 16px;
}

.footer-links a {
  font-size: 13px;
  color: var(--gray-500);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--pink);
}

.footer-copy {
  font-size: 12px;
  color: var(--gray-600);
}

/* ============================================================
   PAYMENT ICONS (text placeholders)
   ============================================================ */
.payment-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.pay-logo {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-300);
  letter-spacing: 0.5px;
}

.pay-logo.upi   { color: #FF6B00; }
.pay-logo.visa  { color: #1A1F71; background: white; padding: 3px 10px; border-radius: 4px; }
.pay-logo.mc    { display: flex; gap: 0; }
.pay-logo.rupay { color: #004C8F; background: white; padding: 3px 10px; border-radius: 4px; }
.pay-logo.paytm { color: #00BAF2; }
.pay-logo.phonepe { color: #5f259f; }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  text-align: center;
  padding: 32px 16px 0;
}

.page-step-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--pink);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.page-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 6px;
}

.page-desc {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 0;
}

/* ============================================================
   UTILITY
   ============================================================ */
.pink  { color: var(--pink); }
.green { color: var(--green); }
.gray  { color: var(--gray-400); }
.bold  { font-weight: 700; }

.text-center { text-align: center; }
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mb-4  { margin-bottom: 16px; }
.mb-8  { margin-bottom: 32px; }

.w-full { width: 100%; }

.flex   { display: flex; }
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hidden { display: none !important; }

/* Overlay backdrop */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 900;
  display: none;
}

.overlay.open {
  display: block;
}

/* ============================================================
   GENDER TOGGLE BUTTONS
   ============================================================ */
.gender-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}

.gender-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--white);
  cursor: pointer;
  font-family: var(--font);
  transition: var(--transition);
  font-size: 14px;
  font-weight: 600;
}

.gender-btn .g-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.gender-btn .g-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.gender-btn .g-name { font-size: 15px; font-weight: 700; }
.gender-btn .g-sub  { font-size: 11px; color: var(--gray-400); font-weight: 400; }

.gender-btn.girls-btn {
  border-color: var(--pink-border);
  background: var(--pink-dim);
}

.gender-btn.girls-btn .g-icon {
  background: var(--pink-dim);
}

.gender-btn.girls-btn.active {
  border-color: var(--pink);
  background: rgba(255,27,107,0.2);
}

.gender-btn.boys-btn.active {
  border-color: var(--blue-border);
  background: var(--blue-dim);
}

.gender-btn.boys-btn .g-icon {
  background: var(--blue-dim);
}

/* Radio dot */
.gender-btn .radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--gray-600);
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gender-btn.active .radio-dot {
  border-color: var(--pink);
  background: var(--pink);
}

.gender-btn.boys-btn.active .radio-dot {
  border-color: var(--blue);
  background: var(--blue);
}

.gender-btn.active .radio-dot::after {
  content: '';
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
}

/* ============================================================
   BADGE / TAG
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-pink   { background: var(--pink); color: white; }
.badge-purple { background: var(--purple); color: white; }
.badge-gold   { background: linear-gradient(135deg, #f59e0b, #d97706); color: white; }
.badge-blue   { background: var(--blue); color: white; }

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.divider-text {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-500);
  font-size: 13px;
  margin: 16px 0;
}

.divider-text::before,
.divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ============================================================
   CHECKBOX
   ============================================================ */
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.5;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--pink);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
}

.checkbox-row a {
  color: var(--pink);
  text-decoration: underline;
}

/* ============================================================
   ONLINE INDICATOR
   ============================================================ */
.online-dot {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px var(--green);
}

.online-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-full);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
}

/* ============================================================
   BACK BUTTON (inner pages)
   ============================================================ */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-400);
  font-size: 14px;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
  font-family: var(--font);
}

.back-btn:hover { color: var(--white); }

/* ============================================================
   FEATURE CHECKLIST
   ============================================================ */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-300);
}

.check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pink-dim);
  border: 1px solid var(--pink-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--pink);
  font-size: 10px;
}

/* ============================================================
   REFUND GUARANTEE ROW
   ============================================================ */
.refund-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  background: rgba(255,27,107,0.05);
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,27,107,0.12);
}

.refund-row svg {
  flex-shrink: 0;
  color: var(--pink);
  margin-top: 1px;
}

.refund-text {
  font-size: 11px;
  color: var(--gray-400);
  line-height: 1.5;
}

.refund-text strong {
  color: var(--pink);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 768px) {
  .section { padding: 64px 32px; }
  .page-header { padding: 40px 32px 0; }
  .page-title { font-size: 30px; }
}

@media (min-width: 1024px) {
  .navbar { padding: 0 48px; }
}
