/* ═══════════════════════════════════════════════════════════════════════════
   ZoZoPeak 2.0 — Global Stylesheet
   Navy (#080d25) + Gold (#c9a84c) Luxury Theme
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Josefin+Sans:wght@300;400;500;600;700&display=swap');

/* ── Design Tokens ─────────────────────────────────────────────────────── */
:root {
  --navy:          #080d25;
  --navy-mid:      #0e1535;
  --navy-light:    #141d45;
  --navy-surface:  #111a3a;
  --gold:          #c9a84c;
  --gold-bright:   #f0c050;
  --gold-dim:      #7a6030;
  --gold-glow:     rgba(201,168,76,0.25);
  --white:         #f5f0e8;
  --white-dim:     rgba(245,240,232,0.6);
  --white-muted:   rgba(245,240,232,0.35);
  --red:           #e74c3c;
  --green:         #2ecc71;
  --yellow:        #f1c40f;

  --font-heading:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Josefin Sans', 'Segoe UI', sans-serif;

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     28px;

  --shadow-sm:     0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.5);
  --shadow-gold:   0 0 30px rgba(201,168,76,0.15);

  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition-fast);
}
a:hover {
  color: var(--gold-bright);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
}

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

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  outline: none;
}

input, select, textarea {
  font-family: var(--font-body);
  outline: none;
}

/* ── Scrollbar ─────────────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--navy);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ══════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════════════════ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8,13,37,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(201,168,76,0.12);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(8,13,37,0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

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

.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 0 20px rgba(201,168,76,0.3);
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(201,168,76,0.3); }
  50% { box-shadow: 0 0 35px rgba(201,168,76,0.5); }
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  color: var(--white-dim);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 60%;
}

/* Nav user area */
.nav-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-points {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 6px 14px;
  border-radius: var(--radius-xl);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
}

.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  cursor: pointer;
  transition: var(--transition);
}
.nav-avatar:hover {
  box-shadow: 0 0 15px rgba(201,168,76,0.4);
  transform: scale(1.05);
}

.nav-auth-btn {
  display: none;
}

/* Login button */
.btn-login {
  padding: 8px 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--navy) !important;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  box-shadow: 0 2px 15px rgba(201,168,76,0.3);
}
.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 25px rgba(201,168,76,0.5);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile menu */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(8,13,37,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    transform: translateY(-120%);
    transition: var(--transition);
    border-bottom: 1px solid rgba(201,168,76,0.1);
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-links a {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}
.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(201,168,76,0.5);
  color: var(--navy);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-secondary:hover {
  background: rgba(201,168,76,0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201,168,76,0.2);
  color: var(--gold-bright);
}

.btn-danger {
  background: linear-gradient(135deg, var(--red), #c0392b);
  color: #fff;
}

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

.btn-lg {
  padding: 16px 40px;
  font-size: 17px;
}

/* ══════════════════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 20%, rgba(201,168,76,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(20,29,69,0.5) 0%, transparent 50%);
  animation: heroAmbient 15s ease-in-out infinite;
}

@keyframes heroAmbient {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, -1%) rotate(1deg); }
  66% { transform: translate(-1%, 1%) rotate(-0.5deg); }
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 6s ease-in-out infinite;
}
.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 7s; }
.particle:nth-child(2) { left: 25%; animation-delay: 1.5s; animation-duration: 5s; }
.particle:nth-child(3) { left: 40%; animation-delay: 0.8s; animation-duration: 8s; }
.particle:nth-child(4) { left: 55%; animation-delay: 2.2s; animation-duration: 6s; }
.particle:nth-child(5) { left: 70%; animation-delay: 0.5s; animation-duration: 7.5s; }
.particle:nth-child(6) { left: 85%; animation-delay: 1.8s; animation-duration: 5.5s; }
.particle:nth-child(7) { left: 15%; animation-delay: 3s; animation-duration: 6.5s; }
.particle:nth-child(8) { left: 60%; animation-delay: 2.8s; animation-duration: 8.5s; }

@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-20vh) scale(1.5); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-xl);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 .gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--white-dim);
  max-width: 600px;
  margin: 0 auto 36px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

/* ══════════════════════════════════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════════════════════════════════ */

.section {
  padding: 100px 24px;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--white-dim);
  font-size: 17px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════════════════════
   CARDS
   ══════════════════════════════════════════════════════════════════════════ */

.card {
  background: var(--navy-mid);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.25);
  box-shadow: var(--shadow-gold);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(201,168,76,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-weight: 600;
}

.card p {
  color: var(--white-dim);
  font-size: 14px;
  line-height: 1.7;
}

/* Card grid layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════════════
   OFFER CARDS
   ══════════════════════════════════════════════════════════════════════════ */

.offer-card {
  background: var(--navy-mid);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.offer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201,168,76,0.3);
  box-shadow: var(--shadow-gold);
}

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

.offer-tag {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-easy {
  background: rgba(46,204,113,0.15);
  color: var(--green);
}
.tag-medium {
  background: rgba(241,196,15,0.15);
  color: var(--yellow);
}
.tag-hard {
  background: rgba(231,76,60,0.15);
  color: var(--red);
}
.tag-survey {
  background: rgba(52,152,219,0.15);
  color: #3498db;
}
.tag-game {
  background: rgba(155,89,182,0.15);
  color: #9b59b6;
}

.offer-title {
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font-body);
}

.offer-desc {
  color: var(--white-dim);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}

.offer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(201,168,76,0.08);
}

.offer-points {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
}

.offer-points span {
  font-size: 13px;
  font-weight: 400;
  color: var(--white-dim);
}

.offer-time {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--white-muted);
}

/* ══════════════════════════════════════════════════════════════════════════
   COUPON CARDS
   ══════════════════════════════════════════════════════════════════════════ */

.coupon-card {
  background: var(--navy-mid);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.coupon-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201,168,76,0.3);
}

.coupon-header {
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.05));
  padding: 20px 24px;
  border-bottom: 1px solid rgba(201,168,76,0.08);
}

.coupon-store {
  font-size: 18px;
  font-weight: 600;
}

.coupon-discount {
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  margin: 6px 0;
}

.coupon-body {
  padding: 20px 24px;
}

.coupon-code {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(201,168,76,0.08);
  border: 1px dashed rgba(201,168,76,0.3);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin-bottom: 14px;
}

.coupon-code code {
  font-family: 'Courier New', monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-bright);
  flex: 1;
  letter-spacing: 2px;
}

.coupon-copy-btn {
  background: none;
  color: var(--gold);
  font-size: 13px;
  padding: 4px 10px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.coupon-copy-btn:hover {
  background: var(--gold);
  color: var(--navy);
}

.coupon-expiry {
  font-size: 13px;
  color: var(--white-muted);
}

/* ══════════════════════════════════════════════════════════════════════════
   DASHBOARD
   ══════════════════════════════════════════════════════════════════════════ */

.dash-layout {
  padding-top: 90px;
  min-height: 100vh;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .dash-stats { grid-template-columns: 1fr; }
}

.stat-card {
  background: var(--navy-mid);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: rgba(201,168,76,0.25);
}

.stat-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.stat-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-body);
}

.stat-label {
  font-size: 14px;
  color: var(--white-dim);
  margin-top: 4px;
}

.stat-sub {
  font-size: 12px;
  color: var(--white-muted);
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════════════════════
   TABLES
   ══════════════════════════════════════════════════════════════════════════ */

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(201,168,76,0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: var(--navy-light);
}

th {
  padding: 14px 18px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gold);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

td {
  padding: 14px 18px;
  font-size: 14px;
  border-bottom: 1px solid rgba(201,168,76,0.06);
  color: var(--white-dim);
}

tr:hover td {
  background: rgba(201,168,76,0.03);
}

/* Status badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-green {
  background: rgba(46,204,113,0.15);
  color: var(--green);
}
.badge-yellow {
  background: rgba(241,196,15,0.15);
  color: var(--yellow);
}
.badge-red {
  background: rgba(231,76,60,0.15);
  color: var(--red);
}
.badge-blue {
  background: rgba(52,152,219,0.15);
  color: #3498db;
}
.badge-gold {
  background: rgba(201,168,76,0.15);
  color: var(--gold);
}

/* ══════════════════════════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════════════════════════ */

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--navy-light);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 14px;
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

.form-input::placeholder {
  color: var(--white-muted);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c9a84c' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

/* ══════════════════════════════════════════════════════════════════════════
   MODALS
   ══════════════════════════════════════════════════════════════════════════ */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.2s ease;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--navy-mid);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideUp 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  padding: 24px 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 22px;
  font-family: var(--font-body);
  font-weight: 600;
}

.modal-close {
  background: none;
  color: var(--white-muted);
  font-size: 24px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.modal-close:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.modal-body {
  padding: 24px 28px;
}

.modal-footer {
  padding: 0 28px 24px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

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

/* ══════════════════════════════════════════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════════════════════════════════════════ */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold), var(--gold-dim));
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  background: var(--navy-light);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.step:hover .step-number {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 0 25px rgba(201,168,76,0.4);
}

.step h4 {
  font-size: 18px;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  color: var(--white-dim);
  font-size: 14px;
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .steps::before {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   VIP SECTION
   ══════════════════════════════════════════════════════════════════════════ */

.vip-card {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  border: 1.5px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.vip-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(201,168,76,0.06), transparent 50%);
}

.vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--navy);
  border-radius: var(--radius-xl);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  position: relative;
}

/* ══════════════════════════════════════════════════════════════════════════
   CHAT WIDGET
   ══════════════════════════════════════════════════════════════════════════ */

.chat-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 25px rgba(201,168,76,0.4);
  transition: var(--transition);
  animation: chatPulse 3s ease-in-out infinite;
}

.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 35px rgba(201,168,76,0.6);
}

@keyframes chatPulse {
  0%, 100% { box-shadow: 0 4px 25px rgba(201,168,76,0.4); }
  50% { box-shadow: 0 4px 35px rgba(201,168,76,0.6); }
}

.chat-panel {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 1500;
  width: 380px;
  max-height: 500px;
  background: var(--navy-mid);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: chatSlideUp 0.3s ease;
}

.chat-panel.open {
  display: flex;
}

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

.chat-header {
  padding: 16px 20px;
  background: var(--navy-light);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header h4 {
  font-size: 16px;
  font-family: var(--font-body);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 340px;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.5;
}

.chat-msg.user {
  align-self: flex-end;
  background: var(--gold);
  color: var(--navy);
  border-bottom-right-radius: 4px;
}

.chat-msg.bot {
  align-self: flex-start;
  background: var(--navy-light);
  color: var(--white);
  border-bottom-left-radius: 4px;
}

.chat-input-area {
  padding: 12px 16px;
  border-top: 1px solid rgba(201,168,76,0.1);
  display: flex;
  gap: 8px;
}

.chat-input {
  flex: 1;
  padding: 10px 14px;
  background: var(--navy);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-xl);
  color: var(--white);
  font-size: 14px;
}

.chat-input:focus {
  border-color: var(--gold);
}

.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition-fast);
}
.chat-send:hover {
  background: var(--gold-bright);
}

@media (max-width: 480px) {
  .chat-panel {
    right: 10px;
    left: 10px;
    width: auto;
    bottom: 90px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════════ */

.footer {
  background: var(--navy-mid);
  border-top: 1px solid rgba(201,168,76,0.08);
  padding: 50px 24px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  color: var(--white-dim);
  font-size: 14px;
  margin-top: 12px;
  line-height: 1.7;
}

.footer h5 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: var(--white-dim);
  font-size: 14px;
  transition: var(--transition-fast);
}

.footer ul a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(201,168,76,0.08);
  text-align: center;
  font-size: 13px;
  color: var(--white-muted);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}
@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   ADMIN PANEL
   ══════════════════════════════════════════════════════════════════════════ */

.admin-layout {
  padding-top: 70px;
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 240px;
  background: var(--navy-mid);
  border-right: 1px solid rgba(201,168,76,0.1);
  padding: 24px 0;
  position: fixed;
  top: 70px;
  bottom: 0;
  overflow-y: auto;
}

.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  color: var(--white-dim);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-fast);
  border-left: 3px solid transparent;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
  color: var(--gold);
  background: rgba(201,168,76,0.05);
  border-left-color: var(--gold);
}

.admin-main {
  flex: 1;
  margin-left: 240px;
  padding: 30px;
}

@media (max-width: 768px) {
  .admin-sidebar {
    width: 60px;
  }
  .admin-sidebar a span {
    display: none;
  }
  .admin-main {
    margin-left: 60px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════════════════════ */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

/* Staggered animation delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* ══════════════════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ══════════════════════════════════════════════════════════════════════════ */

.toast-container {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 14px 20px;
  background: var(--navy-light);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 14px;
  box-shadow: var(--shadow-md);
  animation: toastSlideIn 0.3s ease, toastFadeOut 0.3s ease 3.7s forwards;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
}

.toast.success { border-left: 4px solid var(--green); }
.toast.error   { border-left: 4px solid var(--red); }
.toast.warning { border-left: 4px solid var(--yellow); }

@keyframes toastSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes toastFadeOut {
  to { opacity: 0; transform: translateX(50px); }
}

/* ══════════════════════════════════════════════════════════════════════════
   LOADING / SKELETON
   ══════════════════════════════════════════════════════════════════════════ */

.skeleton {
  background: linear-gradient(90deg, var(--navy-mid) 25%, var(--navy-light) 50%, var(--navy-mid) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(201,168,76,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ══════════════════════════════════════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════════════════════════════════════ */

.text-gold { color: var(--gold); }
.text-dim  { color: var(--white-dim); }
.text-center { text-align: center; }
.text-right  { text-align: right; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.hidden { display: none !important; }

/* Selection color */
::selection {
  background: var(--gold);
  color: var(--navy);
}

/* ── Z Premium Logo ── */
.nav-logo-icon.z-logo {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: bold;
  font-size: 26px;
  color: var(--navy-dark);
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(201,168,76, 0.4);
  border: 2px solid rgba(255,255,255,0.1);
  line-height: 1;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* ── Music Toggle Button ── */
.music-toggle {
  background: rgba(201,168,76, 0.1);
  border: 1px solid rgba(201,168,76, 0.4);
  color: var(--gold);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
}
.music-toggle:hover {
  background: rgba(201,168,76, 0.2);
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(201,168,76, 0.3);
}
.music-toggle.playing {
  animation: pulse-gold 2s infinite;
  color: var(--gold-bright);
}

@keyframes pulse-gold {
  0% { box-shadow: 0 0 0 0 rgba(201,168,76, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(201,168,76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201,168,76, 0); }
}

/* ── Ecosystem Section ── */
.ecosystem-section {
  background: linear-gradient(to bottom, var(--navy-dark), var(--navy-mid));
  border-top: 1px solid rgba(201,168,76, 0.1);
  border-bottom: 1px solid rgba(201,168,76, 0.1);
  padding: 80px 24px;
}

/* ══════════════════════════════════════════════════════════════════════════
   BACKGROUND DOLPHIN
   ══════════════════════════════════════════════════════════════════════════ */
.dolphin-bg {
  position: fixed;
  top: 20%;
  left: -150px;
  font-size: 15vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.08;
  filter: drop-shadow(0 0 20px var(--gold));
  animation: swimDolphin 35s ease-in-out infinite;
  display: flex;
}

.dolphin-bg.reverse {
  top: 60%;
  animation: swimDolphinReverse 45s ease-in-out infinite 10s;
  transform: scaleX(-1);
}

@keyframes swimDolphin {
  0% { transform: translate(-10vw, 0) rotate(10deg); }
  25% { transform: translate(30vw, -15vh) rotate(-5deg); }
  50% { transform: translate(60vw, 10vh) rotate(5deg); }
  75% { transform: translate(90vw, -5vh) rotate(-10deg); }
  100% { transform: translate(120vw, 0) rotate(10deg); }
}

@keyframes swimDolphinReverse {
  0% { transform: translate(120vw, 0) scaleX(-1) rotate(-10deg); }
  25% { transform: translate(90vw, -10vh) scaleX(-1) rotate(5deg); }
  50% { transform: translate(60vw, 15vh) scaleX(-1) rotate(-5deg); }
  75% { transform: translate(30vw, -5vh) scaleX(-1) rotate(10deg); }
  100% { transform: translate(-10vw, 0) scaleX(-1) rotate(-10deg); }
}

/* ══════════════════════════════════════════════════════════════════════════
   PREMIUM LOGIN MODAL — Glassmorphic Luxury Design
   ══════════════════════════════════════════════════════════════════════════ */

.login-modal-card {
  position: relative;
  background: linear-gradient(165deg, rgba(14, 21, 53, 0.97), rgba(8, 13, 37, 0.99));
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius-lg);
  padding: 48px 40px 36px;
  width: 100%;
  max-width: 440px;
  text-align: center;
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  box-shadow:
    0 0 60px rgba(201, 168, 76, 0.08),
    0 25px 80px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(201, 168, 76, 0.1);
  animation: loginModalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

/* Animated gold border glow */
.login-modal-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    rgba(201, 168, 76, 0.5) 10%,
    transparent 20%,
    transparent 50%,
    rgba(201, 168, 76, 0.4) 60%,
    transparent 70%
  );
  z-index: -1;
  animation: borderGlow 4s linear infinite;
}

@keyframes borderGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes loginModalIn {
  0% { opacity: 0; transform: scale(0.9) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.login-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: var(--white-dim);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}
.login-modal-close:hover {
  background: rgba(201, 168, 76, 0.2);
  color: var(--gold);
  transform: rotate(90deg);
}

.login-modal-brand {
  margin-bottom: 28px;
}

.login-crown-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.4));
  animation: crownPulse 3s ease-in-out infinite;
}

@keyframes crownPulse {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.3)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 35px rgba(201, 168, 76, 0.6)); transform: scale(1.05); }
}

.login-modal-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.login-modal-subtitle {
  color: var(--white-dim);
  font-size: 15px;
  font-weight: 300;
}

.login-modal-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.login-modal-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), transparent);
}
.login-modal-divider small {
  color: var(--white-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
}

/* Premium Google button */
.login-google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  background: #ffffff;
  color: #3c4043;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}
.login-google-btn:hover {
  background: #f8f8f8;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}
.login-google-btn:active {
  transform: translateY(0);
}

.login-trust-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.login-trust-badge {
  font-size: 11px;
  color: var(--white-muted);
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.3px;
}

.login-modal-legal {
  font-size: 11px;
  color: var(--white-muted);
  line-height: 1.5;
  margin-top: 12px;
}
.login-modal-legal a {
  color: var(--gold-dim);
  text-decoration: underline;
}
.login-modal-legal a:hover {
  color: var(--gold);
}

@media (max-width: 480px) {
  .login-modal-card {
    padding: 36px 24px 28px;
    margin: 0 16px;
  }
  .login-modal-title {
    font-size: 24px;
  }
  .login-trust-badges {
    flex-direction: column;
    align-items: center;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   VIP2 PROFILE FORM STYLES
   ══════════════════════════════════════════════════════════════════════════ */

.vip2-form-card {
  background: linear-gradient(165deg, var(--navy-mid), var(--navy));
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.vip2-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold), var(--gold-bright), var(--gold), var(--gold-dim));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.vip2-header {
  text-align: center;
  margin-bottom: 36px;
}

.vip2-header h1 {
  font-size: 30px;
  margin-bottom: 8px;
}

.vip2-header p {
  color: var(--white-dim);
  font-size: 15px;
}

.vip2-required-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.25);
  border-radius: var(--radius-xl);
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}

@media (max-width: 480px) {
  .vip2-form-card {
    padding: 32px 20px;
  }
}

