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

:root {
  --blue: #2E7BC4;
  --blue-dark: #1a5a9a;
  --blue-light: #4a9de0;
  --yellow: #FFD700;
  --yellow-dark: #e6c000;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-mid: #2d3a5e;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: var(--blue-dark);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.nav-logo {
  display: flex; align-items: center; gap: .6rem;
}

.nav-logo-badge {
  height: 42px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.nav-logo-text { display: none; }

.nav-links {
  display: flex; gap: 1.8rem; list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  transition: color .2s;
}

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

.nav-cta {
  background: var(--yellow);
  color: var(--blue-dark) !important;
  padding: .4rem 1.1rem;
  border-radius: 50px;
  font-weight: 900 !important;
}

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background: var(--yellow); border-radius: 3px; transition: .3s; }

#hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, #252e37b3, #252e37b3),
    url('../images/hero-bg.jpg') center center / cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 100px 1.5rem 60px;
  position: relative;
  overflow: hidden;
}

#hero::before, #hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: .08;
}
#hero::before {
  width: 500px; height: 500px;
  background: var(--yellow);
  top: -100px; right: -120px;
}
#hero::after {
  width: 350px; height: 350px;
  background: var(--white);
  bottom: -80px; left: -80px;
}

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

.logo-wrap {
  display: inline-block;
  margin-bottom: 2rem;
  animation: bounce-in .8s cubic-bezier(.36,1.56,.64,1) both;
}

.logo-wrap img {
  width: clamp(260px, 50vw, 420px);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.45));
}

.hero-tagline {
  font-size: clamp(1rem, 3vw, 1.4rem);
  color: var(--yellow);
  font-weight: 800;
  margin-bottom: .8rem;
  letter-spacing: .5px;
  animation: fade-up .6s .3s both;
}

.hero-copy {
  font-size: clamp(1.25rem, 2vw, 1.4rem);
  color: rgba(255,255,255,.88);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 2rem;
  animation: fade-up .6s .5s both;
}

.btn-group {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fade-up .6s .7s both;
}

.btn {
  padding: .85rem 2.2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform .2s, box-shadow .2s;
  letter-spacing: .3px;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.25); }

.btn-primary {
  background: var(--yellow);
  color: var(--blue-dark);
  box-shadow: 0 4px 15px rgba(255,215,0,.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-secondary:hover { background: rgba(255,255,255,.1); }

section { padding: 80px 1.5rem; }

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

.section-label {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .5rem;
}

.section-heading {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text-dark);
  margin-bottom: 1.2rem;
  line-height: 1.15;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 680px;
}

#about {
  background: #f7f9ff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-card {
  background: var(--blue);
  border-radius: 24px;
  padding: 2.5rem;
  color: white;
  position: relative;
  box-shadow: 8px 8px 0px var(--yellow);
  overflow: hidden;
}

.about-card::after {
  content: '"';
  position: absolute;
  font-size: 12rem;
  font-family: Georgia, serif;
  color: rgba(255,255,255,.08);
  top: -20px; right: -10px;
  line-height: 1;
}

.about-card p {
  font-size: 1.05rem;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.about-logo-wrap {
  text-align: center;
  margin-bottom: 1.5rem;
}

.about-logo {
  width: 180px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.3));
}

.about-card-label {
  display: inline-block;
  background: var(--yellow);
  color: var(--blue-dark);
  font-weight: 900;
  font-size: .75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.about-badge {
  position: absolute;
  bottom: -18px; right: -18px;
  width: 80px; height: 80px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fredoka One', cursive;
  font-size: .75rem;
  color: var(--blue-dark);
  text-align: center;
  line-height: 1.2;
  font-weight: 900;
  box-shadow: 0 4px 15px rgba(0,0,0,.15);
}

#vision {
  background:
    linear-gradient(135deg, #252e37b3, #252e37b3),
    url('../images/vision-bg.jpg') center / cover no-repeat;
  color: white;
}

#vision .section-label { color: var(--yellow); }
#vision .section-heading { color: white; }

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.vm-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 2.2rem;
  backdrop-filter: blur(10px);
}

.vm-icon {
  width: 52px; height: 52px;
  background: var(--yellow);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.vm-card h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.5rem;
  color: var(--yellow);
  margin-bottom: .8rem;
}

.vm-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,.9);
}

#whatwedo { background: white; }

.wwd-heading-wrap {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.wwd-logo-badge {
  background: var(--blue-light);
  border: 5px solid var(--yellow);
  border-radius: 24px;
  padding: 14px 40px 18px;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,.15), inset 0 -4px 0 rgba(0,0,0,.12);
  text-align: center;
}

.wwd-logo-badge::before, .wwd-logo-badge::after {
  content: '';
  position: absolute;
  background: var(--blue-light);
  border: 5px solid var(--yellow);
  border-radius: 50%;
}
.wwd-logo-badge::before { width: 26px; height: 26px; top: -11px; left: 28px; }
.wwd-logo-badge::after  { width: 18px; height: 18px; bottom: -7px; right: 50px; }

.wwd-logo-line {
  font-family: 'Fredoka One', cursive;
  color: var(--yellow);
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1;
  text-shadow: 3px 3px 0 rgba(0,0,0,.2);
  letter-spacing: 1px;
}

.wwd-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.wwd-card:nth-child(1) { background: #EEF5FF; }
.wwd-card:nth-child(2) { background: #FFF9E0; }
.wwd-card:nth-child(3) { background: #E8F8F5; }
.wwd-card:nth-child(4) { background: #FFF0F0; }

.wwd-card {
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
  cursor: default;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
}
.wwd-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(0,0,0,.13); }

.wwd-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.4rem;
  display: block;
}

.wwd-card h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.4rem;
  color: var(--blue-dark);
  margin-bottom: .7rem;
}

.wwd-card p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
}

#promo {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  position: relative;
  overflow: hidden;
}

#promo::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,0,.12) 0%, transparent 70%);
  top: -150px; right: -100px;
}

.promo-inner { position: relative; z-index: 1; }

#promo .section-label { color: var(--yellow); }
#promo .section-heading { color: white; }

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--yellow);
  color: var(--blue-dark);
  font-weight: 900;
  font-size: .8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.promo-badge::before { content: '🔥'; }

.promo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

.prizes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 2rem;
  border-radius: 16px;
  overflow: hidden;
}

.prize-card {
  overflow: hidden;
}

.prize-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.prize-card:hover .prize-img { transform: scale(1.06); }

.prize-card--car {
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1) !important;
}

.prize-card--car.reveal-left { transform: translateX(-120px); }
.prize-card--car.reveal-left.visible { transform: translateX(0); }

.prize-img--png {
  object-fit: contain !important;
  height: 280px;
  padding: 0;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.7));
}

.qualify-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  padding: 2rem;
}

.qualify-card h3 {
  font-family: 'Fredoka One', cursive;
  color: var(--yellow);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.qualify-option {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
  padding: 1rem;
  background: rgba(255,215,0,.08);
  border-radius: 12px;
  border-left: 4px solid var(--yellow);
}

.qualify-option .num {
  font-family: 'Fredoka One', cursive;
  font-size: 1.8rem;
  color: var(--yellow);
  line-height: 1;
  flex-shrink: 0;
}

.qualify-option p { color: rgba(255,255,255,.9); font-size: .93rem; line-height: 1.5; }
.qualify-option strong { color: var(--yellow); }

#tools { background: white; }

.tools-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.tools-headline {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.2;
  max-width: 520px;
  text-transform: uppercase;
  letter-spacing: -.3px;
}

.tools-headline span { color: var(--blue); }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.tool-card {
  background: white;
  cursor: default;
}

.tool-card:hover .tool-thumb { transform: scale(1.03); }

.tool-thumb-wrap {
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 8px 8px 0px var(--yellow);
}

.tool-thumb {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.tool-category {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: .5rem;
}

.tool-card h3 {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: .9rem;
  line-height: 1.4;
}

.tool-read-more {
  font-size: .85rem;
  font-weight: 900;
  color: var(--text-dark);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .5px;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  border-bottom: 2px solid var(--text-dark);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}

.tool-read-more:hover { color: var(--blue); border-color: var(--blue); }

#community {
  background: white;
}

.community-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.comm-visual {
  display: flex;
  align-items: stretch;
}

.comm-single-img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: 8px 8px 0px var(--yellow);
}

#why {
  background: var(--yellow);
}

#why .section-label { color: var(--blue-dark); opacity: .6; }
#why .section-heading { color: var(--blue-dark); }

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-copy p { font-size: 1.1rem; line-height: 1.8; color: var(--blue-dark); }

.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: var(--blue-dark);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.stat-card .big {
  font-family: 'Fredoka One', cursive;
  font-size: 2.2rem;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: .3rem;
}

.stat-card p { font-size: .85rem; opacity: .85; }

#join {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#join::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,215,0,.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

#join .section-label { color: var(--yellow); }
#join .section-heading { color: white; font-size: clamp(2rem, 5vw, 3.5rem); }

.join-inner { position: relative; z-index: 1; }

.join-copy {
  font-size: 1.1rem;
  color: rgba(255,255,255,.88);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

footer {
  background: #0d1b2a;
  color: rgba(255,255,255,.7);
  padding: 3rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: .9rem;
  line-height: 1.7;
  margin-top: .8rem;
}

.footer-col h4 {
  font-family: 'Fredoka One', cursive;
  font-size: 1rem;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .9rem; transition: color .2s; }
.footer-col a:hover { color: var(--yellow); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
}

.footer-bottom a { color: var(--yellow); text-decoration: none; }

@keyframes bounce-in {
  from { opacity: 0; transform: scale(.5) translateY(30px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

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

.reveal,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-child > * {
  opacity: 0;
  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}

.reveal         { transform: translateY(40px); }
.reveal-left    { transform: translateX(-50px); }
.reveal-right   { transform: translateX(50px); }
.reveal-scale   { transform: scale(.92); }
.reveal-child > * { transform: translateY(30px); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible,
.reveal-child.visible > * {
  opacity: 1;
  transform: none;
}

.reveal-child.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-child.visible > *:nth-child(2) { transition-delay: .12s; }
.reveal-child.visible > *:nth-child(3) { transition-delay: .24s; }
.reveal-child.visible > *:nth-child(4) { transition-delay: .36s; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .about-grid, .vm-grid, .promo-layout, .community-inner, .why-inner, .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tools-grid { grid-template-columns: 1fr; }

  .prizes-grid { grid-template-columns: 1fr 1fr; }

  .about-badge { display: none; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .comm-visual { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .prizes-grid { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: 1fr 1fr; }
}

/* ── ACCOUNT DASHBOARD ── */
.account-body {
  background: #f0f4f8;
  min-height: 100vh;
  font-family: 'Nunito', sans-serif;
}

.account-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--blue-dark);
  height: 64px;
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}

.account-nav-logo {
  height: 38px; width: auto;
}

.account-nav-user {
  display: flex; align-items: center; gap: 1rem;
}

.account-nav-name {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 700;
}

.btn-logout {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px;
  padding: .35rem 1rem;
  font-family: 'Nunito', sans-serif;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s;
}
.btn-logout:hover { background: rgba(255,255,255,.22); }

.btn-profile {
  background: transparent;
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .35rem 1rem;
  font-family: 'Nunito', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-profile:hover { background: rgba(255,255,255,.1); color: #fff; }

.account-welcome {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 2.2rem 2rem;
  color: white;
}

.account-welcome h1 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.8rem;
  margin-bottom: .3rem;
}

.account-welcome p {
  font-size: .95rem;
  color: rgba(255,255,255,.75);
}

.account-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dash-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.8rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.dash-card-title {
  font-family: 'Fredoka One', cursive;
  font-size: 1.15rem;
  color: var(--blue-dark);
  margin-bottom: .4rem;
}
.dash-card-desc {
  font-size: .85rem;
  color: #64748b;
  margin-bottom: 1.2rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-tile {
  background: #fff;
  border-radius: 16px;
  padding: 1.4rem 1.2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  text-align: center;
}

.stat-tile .stat-val {
  font-family: 'Fredoka One', cursive;
  font-size: 2.2rem;
  color: var(--blue-dark);
  line-height: 1;
  margin-bottom: .35rem;
}

.stat-tile .stat-label {
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #94a3b8;
}

.stat-tile .stat-sub {
  font-size: .78rem;
  color: #cbd5e1;
  margin-top: .2rem;
}

.stat-tile.highlight .stat-val { color: var(--blue); }

.referral-link-wrap {
  display: flex;
  gap: .6rem;
  align-items: center;
}

.referral-link-input {
  flex: 1;
  padding: .7rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: .88rem;
  color: var(--text-dark);
  background: #f8fafc;
  outline: none;
  cursor: text;
}

.btn-copy {
  padding: .7rem 1.3rem;
  background: var(--yellow);
  color: var(--blue-dark);
  border: none;
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: .85rem;
  font-weight: 900;
  cursor: pointer;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.btn-copy:hover  { background: var(--yellow-dark); transform: translateY(-1px); }
.btn-copy:active { transform: translateY(0); }

.referral-note {
  font-size: .8rem;
  color: #94a3b8;
  margin-top: .6rem;
}

.upload-zone {
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  position: relative;
}
.upload-zone:hover,
.upload-zone.dragover { border-color: var(--blue); background: #f0f7ff; }

.upload-zone input[type="file"] {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer; width: 100%; height: 100%;
}

.upload-icon {
  font-size: 2.4rem;
  margin-bottom: .6rem;
}

.upload-zone p {
  font-size: .9rem;
  color: #64748b;
}

.upload-zone strong { color: var(--blue); }

.upload-filename {
  margin-top: .8rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--blue-dark);
  display: none;
}

.btn-upload {
  margin-top: 1.2rem;
  padding: .75rem 2rem;
  background: var(--blue-dark);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: .95rem;
  font-weight: 900;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-upload:hover    { background: var(--blue); transform: translateY(-2px); }
.btn-upload:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.submissions-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}

.submissions-table th {
  text-align: left;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #94a3b8;
  padding: .5rem .8rem;
  border-bottom: 2px solid #f1f5f9;
}

.submissions-table td {
  padding: .85rem .8rem;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text-dark);
  vertical-align: middle;
}

.submissions-table tr:last-child td { border-bottom: none; }

.badge {
  display: inline-block;
  padding: .25rem .7rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.badge-pending  { background: #fef9c3; color: #854d0e; }
.badge-approved { background: #dcfce7; color: #166534; }
.badge-rejected { background: #fee2e2; color: #991b1b; }

.empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: #94a3b8;
  font-size: .9rem;
}

.empty-state .empty-icon { font-size: 2.5rem; margin-bottom: .6rem; }

.dash-alert {
  padding: .75rem 1rem;
  border-radius: 10px;
  font-size: .88rem;
  margin-bottom: 1rem;
  display: none;
}
.dash-alert.error   { background: #fff5f5; color: #c53030; border: 1px solid #fed7d7; }
.dash-alert.success { background: #f0fff4; color: #276749; border: 1px solid #9ae6b4; }

@media (max-width: 640px) {
  .stats-row { grid-template-columns: 1fr; }
  .account-welcome { padding: 1.6rem 1.2rem; }
  .account-main { padding: 1.2rem 1rem 3rem; }
  .referral-link-wrap { flex-direction: column; }
  .btn-copy { width: 100%; }
  .submissions-table th:nth-child(2),
  .submissions-table td:nth-child(2) { display: none; }
}

/* ── AUTH PAGES ── */
.auth-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.auth-body--register {
  background:
    linear-gradient(135deg, #252e37e6, #1a1a2ecc),
    url('../images/register-bg.jpg') center / cover no-repeat;
}

.auth-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.5rem 2.5rem 2rem;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
}

.auth-logo {
  display: block;
  height: 60px;
  width: auto;
  margin: 0 auto 1.5rem;
}

.auth-title {
  font-family: 'Fredoka One', cursive;
  font-size: 1.9rem;
  color: var(--blue-dark);
  text-align: center;
  margin-bottom: .3rem;
}

.auth-subtitle {
  font-size: .9rem;
  color: var(--text-mid);
  text-align: center;
  margin-bottom: 1.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.1rem;
}

.form-group label {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: .4rem;
}

.form-control {
  padding: .7rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: .95rem;
  color: var(--text-dark);
  transition: border-color .2s;
  outline: none;
  width: 100%;
}

.form-control:focus { border-color: var(--blue); }
.form-control.error { border-color: #e53e3e; }

.input-eye-wrap { position: relative; }
.input-eye-wrap .form-control { padding-right: 2.8rem; }
.btn-eye {
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  padding: 0;
  display: flex;
  align-items: center;
  transition: color .2s;
}
.btn-eye:hover { color: var(--blue-dark); }
.btn-eye svg { width: 18px; height: 18px; }

.form-hint {
  font-size: .75rem;
  color: #a0aec0;
  margin-top: .3rem;
}

.field-error {
  font-size: .78rem;
  color: #e53e3e;
  margin-top: .3rem;
  display: none;
}

.auth-alert {
  background: #fff5f5;
  border: 1px solid #fed7d7;
  border-radius: 10px;
  padding: .8rem 1rem;
  font-size: .88rem;
  color: #c53030;
  margin-bottom: 1.2rem;
  display: none;
}

.auth-alert.success {
  background: #f0fff4;
  border-color: #9ae6b4;
  color: #276749;
}

.btn-auth {
  width: 100%;
  padding: .85rem;
  background: var(--blue-dark);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  transition: background .2s, transform .15s;
  margin-top: .5rem;
  letter-spacing: .3px;
}

.btn-auth:hover  { background: var(--blue); transform: translateY(-2px); }
.btn-auth:active { transform: translateY(0); }
.btn-auth:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.auth-links {
  text-align: center;
  margin-top: 1.4rem;
  font-size: .88rem;
  color: var(--text-mid);
}

.auth-links a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.auth-links a:hover { text-decoration: underline; }

.auth-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 1.4rem 0;
}

@media (max-width: 480px) {
  .auth-card  { padding: 2rem 1.4rem 1.6rem; }
  .form-row   { grid-template-columns: 1fr; }
}
