/* ========================================
   MOTIVE8 YOUTH - MAIN STYLESHEET
   ======================================== */

/* ========================================
   1. CSS VARIABLES / ROOT
   ======================================== */
:root {
  --teal: #00B4A0;
  --teal-dark: #008F7E;
  --teal-light: #E6F7F5;
  --navy: #1A2E44;
  --navy-mid: #243C57;
  --white: #FFFFFF;
  --off: #F7F9F9;
  --grey: #E8ECEC;
  --text: #2D2D2D;
  --muted: #6B7B7B;
  --wa: #25D366;
  --r: 10px;
  --sh: 0 4px 24px rgba(0, 0, 0, 0.09);
  --shl: 0 12px 48px rgba(0, 0, 0, 0.14);

  /* Portal colors */
  --portal-gold: #FFD700;
  --portal-purple: #A855F7;
  --portal-pink: #EC4899;
  --portal-orange: #F97316;
  --portal-green: #10B981;
  --portal-blue: #3B82F6;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: #fff;
  color: var(--text);
  overflow-x: hidden;
}

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

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

button {
  font-family: 'Open Sans', sans-serif;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.15;
}

/* ========================================
   3. TYPOGRAPHY
   ======================================== */
.lbl {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 0.6rem;
}

/* ========================================
   4. UTILITY CLASSES
   ======================================== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.sec {
  padding: 5rem 0;
}

.sec-grey {
  background: var(--off);
}

.sec-navy {
  background: var(--navy);
}

.tc {
  text-align: center;
}

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

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

.g4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.mt1 {
  margin-top: 1rem;
}

.mt2 {
  margin-top: 2rem;
}

.mt3 {
  margin-top: 3rem;
}

.mb2 {
  margin-bottom: 2rem;
}

.rev {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s, transform 0.55s;
}

.rev.in {
  opacity: 1;
  transform: none;
}

/* ========================================
   5. BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1.8rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.4px;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-t {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.btn-t:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 180, 160, 0.3);
}

.btn-n {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.btn-n:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
}

.btn-o {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-o:hover {
  background: var(--teal);
  color: #fff;
}

.btn-ow {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-ow:hover {
  background: #fff;
  color: var(--navy);
}

.btn-wa {
  background: var(--wa);
  color: #fff;
  border-color: var(--wa);
}

.btn-wa:hover {
  background: #1fba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

.btn-lg {
  padding: 1rem 2.4rem;
  font-size: 0.92rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ========================================
   6. TOPBAR
   ======================================== */
.topbar {
  background: var(--navy);
  padding: 0.45rem 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
}

.topbar .ti {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.topbar a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.topbar a:hover {
  color: #fff;
}

.topbar .cr {
  display: flex;
  gap: 1.5rem;
}

/* ========================================
   7. NAVIGATION (DESKTOP + MOBILE)
   ======================================== */
nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fff;
  border-bottom: 1px solid var(--grey);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.ni {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
}

.nl {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.45rem;
  color: var(--navy);
  letter-spacing: -0.5px;
  cursor: pointer;
}

.nl span {
  color: var(--teal);
}

.nlinks {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.nlinks > li {
  position: relative;
}

.nlinks > li > a,
.nlinks > li > span {
  display: block;
  padding: 0.45rem 0.8rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--navy);
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.nlinks > li > a:hover,
.nlinks > li > span:hover,
.nlinks > li > a.cur {
  background: var(--teal-light);
  color: var(--teal);
}

.has-dd:hover .dd {
  display: block;
}

.dd {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--grey);
  border-radius: var(--r);
  box-shadow: var(--shl);
  min-width: 200px;
  padding: 4px 0 0.5rem 0;
  z-index: 200;
}

.dd a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--navy);
  transition: background 0.15s, color 0.15s;
}

.dd a:hover {
  background: var(--teal-light);
  color: var(--teal);
}

.ncta {
  margin-left: 0.75rem;
}

.hbg {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
  background: none;
  border: none;
}

.hbg span {
  display: block;
  width: 23px;
  height: 2px;
  background: var(--navy);
}

.mnav {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 1000;
  overflow-y: auto;
  padding: 1.5rem 2rem 3rem;
  flex-direction: column;
  gap: 0.4rem;
}

.mnav.open {
  display: flex;
}

.mnav-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.mnav a,
.mnav span {
  display: block;
  padding: 0.8rem 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--navy);
  border-bottom: 1px solid var(--grey);
  cursor: pointer;
}

.mnav a:hover,
.mnav span:hover {
  color: var(--teal);
}

.mnav .sub a,
.mnav .sub span {
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ========================================
   8. PAGE SYSTEM (.pg)
   ======================================== */
.pg {
  display: none;
}

.pg.active {
  display: block;
}

/* ========================================
   9. PAGE HERO
   ======================================== */
.phero {
  background: var(--navy);
  padding: 4rem 0 3.5rem;
  position: relative;
}

.phero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), #00d4bc, var(--teal));
}

.phero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-top: 0.5rem;
}

.phero p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 580px;
  margin-top: 0.9rem;
  font-size: 1rem;
  line-height: 1.7;
}

/* ========================================
   10. HOME HERO
   ======================================== */
.hero {
  background: var(--navy);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), #00d4bc, var(--teal));
}

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(0, 180, 160, 0.12);
  border: 1px solid rgba(0, 180, 160, 0.25);
  color: var(--teal);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.hero-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 1.4rem;
}

.hero h1 em {
  color: var(--teal);
  font-style: normal;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.stat .n {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--teal);
}

.stat .l {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-img {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
}

.hero-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  background: #fff;
  border-radius: 10px;
  padding: 0.7rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: var(--shl);
}

.hero-badge .hn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--teal);
  line-height: 1;
}

.hero-badge .hl {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}

/* ========================================
   11. PILLAR CARDS
   ======================================== */
.pcard {
  background: #fff;
  border-radius: var(--r);
  padding: 2.5rem 2rem;
  border: 1px solid var(--grey);
  box-shadow: var(--sh);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.pcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shl);
  border-color: var(--teal);
}

.pcard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.pcard:hover::before {
  transform: scaleX(1);
}

.picon {
  width: 54px;
  height: 54px;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.pword {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.65rem;
}

.pcard p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ========================================
   12. SESSION CARDS
   ======================================== */
.scard {
  background: #fff;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--grey);
  box-shadow: var(--sh);
  transition: transform 0.3s, box-shadow 0.3s;
}

.scard:hover {
  transform: translateY(-5px);
  box-shadow: var(--shl);
}

.scard-img {
  height: 195px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.scard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.scard:hover .scard-img img {
  transform: scale(1.06);
}

.scard-img .bdg {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--teal);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 100px;
}

.scard-body {
  padding: 1.4rem;
}

.scard-body h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.scard-body p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.smeta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.smeta span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
}

/* ========================================
   13. INSTAGRAM STRIP
   ======================================== */
.igstrip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.igthumb {
  aspect-ratio: 1;
  background: var(--navy);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.igph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a2e44, #243c57);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.18);
}

.igov {
  position: absolute;
  inset: 0;
  background: rgba(0, 180, 160, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
}

.igthumb:hover .igov {
  opacity: 1;
}

.igov svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

/* Instagram Feed Grid */
.ig-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .ig-feed-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .ig-feed-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }
}

.ig-post-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: var(--sh);
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.ig-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shl);
}

.ig-post-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}

.ig-post-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 180, 160, 0.9), rgba(255, 107, 53, 0.9));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ig-post-card:hover .ig-post-overlay {
  opacity: 1;
}

.ig-post-overlay svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.ig-placeholder {
  text-decoration: none;
  color: inherit;
}

/* ========================================
   14. QUOTE BLOCK
   ======================================== */
.qblock {
  background: var(--navy);
  border-radius: var(--r);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.qblock::before {
  content: '"';
  position: absolute;
  top: -1.5rem;
  left: 1.5rem;
  font-size: 9rem;
  color: rgba(0, 180, 160, 0.12);
  font-family: 'Georgia', serif;
  line-height: 1;
}

.qblock blockquote {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: #fff;
  line-height: 1.5;
  position: relative;
}

.qblock cite {
  display: block;
  margin-top: 1rem;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  font-style: normal;
}

/* ========================================
   15. PARTNERS
   ======================================== */
.partner {
  background: #fff;
  border: 1px solid var(--grey);
  border-radius: var(--r);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.partner:hover {
  border-color: var(--teal);
  box-shadow: var(--sh);
}

/* ========================================
   16. TABS
   ======================================== */
.tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.tb {
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  border: 2px solid var(--grey);
  background: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.tb.active,
.tb:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
}

/* ========================================
   17. FLYER DROP ZONE
   ======================================== */
.fzone {
  border: 2px dashed var(--grey);
  border-radius: var(--r);
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: var(--off);
}

.fzone:hover,
.fzone.over {
  border-color: var(--teal);
  background: var(--teal-light);
}

.fzone .fi {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.fzone h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.fzone p {
  font-size: 0.84rem;
  color: var(--muted);
}

.fgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.fcard-img {
  background: #fff;
  border: 1px solid var(--grey);
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  box-shadow: var(--sh);
  transition: transform 0.3s;
}

.fcard-img:hover {
  transform: translateY(-4px);
}

.fcard-img img {
  width: 100%;
  aspect-ratio: 0.7;
  object-fit: cover;
}

.fcard-img .fcl {
  padding: 0.7rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.fcard-img .fcd {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  border: none;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c00;
  box-shadow: var(--sh);
}

/* ========================================
   18. PHOTO GALLERY
   ======================================== */
.pgrid {
  columns: 4;
  column-gap: 8px;
}

.pitem {
  break-inside: avoid;
  margin-bottom: 8px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.pitem img {
  width: 100%;
  display: block;
  transition: transform 0.4s;
}

.pitem:hover img {
  transform: scale(1.04);
}

.pitem .pd {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  border: none;
  font-size: 0.8rem;
  color: #c00;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

.pitem:hover .pd {
  display: flex;
}

.pph {
  break-inside: avoid;
  margin-bottom: 8px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--grey);
}

.pphi {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.pphi .ppi {
  font-size: 1.7rem;
  color: var(--teal);
}

.ubar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* ========================================
   19. VIDEO GALLERY
   ======================================== */
.vgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
}

.vcard {
  background: #fff;
  border: 1px solid var(--grey);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh);
}

.vcard video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #000;
}

.vcard .vb {
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vcard .vt {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
}

.vcard .vd {
  width: 26px;
  height: 26px;
  background: rgba(220, 0, 0, 0.08);
  border-radius: 50%;
  border: none;
  color: #c00;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vph {
  aspect-ratio: 16 / 9;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.vph .vi {
  font-size: 2.2rem;
  color: var(--teal);
}

/* ========================================
   20. REVIEWS
   ======================================== */
.rcard {
  background: #fff;
  border: 1px solid var(--grey);
  border-radius: var(--r);
  padding: 2rem;
  box-shadow: var(--sh);
  transition: transform 0.3s, box-shadow 0.3s;
}

.rcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shl);
}

.rh {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.rav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  flex-shrink: 0;
}

.rn {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
}

.rd {
  font-size: 0.73rem;
  color: var(--muted);
}

.stars {
  color: #F9A825;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}

.rt {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.65;
}

.gbar {
  background: var(--navy);
  border-radius: var(--r);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 3rem;
}

.gsc {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.glo {
  width: 46px;
  height: 46px;
  background: #fff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: #4285F4;
}

.gin .gn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.7rem;
  color: #fff;
}

.gin .gs {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.1rem;
}

/* ========================================
   21. TEAM GRID
   ======================================== */
.tgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 2rem;
}

.tcard {
  text-align: center;
}

.tav {
  width: 126px;
  height: 126px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  overflow: hidden;
  border: 3px solid var(--grey);
  background: var(--navy);
  transition: border-color 0.3s;
}

.tcard:hover .tav {
  border-color: var(--teal);
}

.tav img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tav .ti2 {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  color: #fff;
}

.tn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.tr {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.4px;
}

/* ========================================
   22. PERKS
   ======================================== */
.perks {
  list-style: none;
  margin-top: 1.5rem;
}

.perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--grey);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.perks li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ========================================
   23. CONTACT / FORMS
   ======================================== */
.csplit {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.cm {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.cmi {
  width: 42px;
  height: 42px;
  background: var(--teal-light);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.cml {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.cmv {
  font-weight: 600;
  color: var(--navy);
  margin-top: 0.12rem;
}

.cmv a {
  color: var(--teal);
  transition: color 0.2s;
}

.cmv a:hover {
  color: var(--teal-dark);
}

/* FORM */
.fc {
  background: #fff;
  border: 1px solid var(--grey);
  border-radius: var(--r);
  padding: 2.5rem;
  box-shadow: var(--sh);
}

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

.fg {
  margin-bottom: 1.2rem;
}

.fg label {
  display: block;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.fg input,
.fg textarea,
.fg select {
  width: 100%;
  padding: 0.78rem 1rem;
  border: 1.5px solid var(--grey);
  border-radius: 7px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.fg input:focus,
.fg textarea:focus,
.fg select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 180, 160, 0.1);
}

.fg textarea {
  resize: vertical;
  min-height: 115px;
}

.fg select option {
  background: #fff;
}

.fg.ffile input[type='file'] {
  padding: 0.62rem;
  background: var(--off);
  cursor: pointer;
}

.fsucc {
  text-align: center;
  padding: 2.5rem 1rem;
}

.fsucc .fsi {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.fsucc h3 {
  color: var(--teal);
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

.fsucc p {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ========================================
   24. LIGHTBOX
   ======================================== */
.lb {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lb.open {
  display: flex;
}

.lb img {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 8px;
  object-fit: contain;
}

.lbc {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lbc:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lbp,
.lbn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lbp {
  left: 1.5rem;
}

.lbn {
  right: 1.5rem;
}

.lbp:hover,
.lbn:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ========================================
   25. WHATSAPP FLOAT
   ======================================== */
.waf {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 800;
}

.wafb {
  width: 56px;
  height: 56px;
  background: var(--wa);
  border-radius: 50%;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.wafb:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.watp {
  position: absolute;
  bottom: 66px;
  right: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.55rem 0.95rem;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: all 0.25s;
}

.waf:hover .watp {
  opacity: 1;
  transform: none;
}

/* ========================================
   26. FOOTER
   ======================================== */
.ft {
  background: var(--navy);
  color: #fff;
  padding: 4rem 0 0;
}

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

.fb .flo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.55rem;
  letter-spacing: -0.5px;
}

.fb .flo span {
  color: var(--teal);
}

.fb p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.86rem;
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 260px;
}

.fso {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.fso a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: background 0.2s, transform 0.2s;
}

.fso a:hover {
  background: var(--teal);
  transform: translateY(-2px);
}

.fco h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.45);
}

.fco ul {
  list-style: none;
}

.fco ul li {
  margin-bottom: 0.65rem;
}

.fco ul li a,
.fco ul li span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.86rem;
  transition: color 0.2s;
  cursor: pointer;
}

.fco ul li a:hover,
.fco ul li span:hover {
  color: var(--teal);
}

.ftb {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ftb p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.76rem;
}

/* ========================================
   27. SHARE POPUP
   ======================================== */
.share-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1500;
  align-items: center;
  justify-content: center;
}

.share-popup.open {
  display: flex;
}

.share-box {
  background: #fff;
  border-radius: var(--r);
  padding: 2.5rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
}

.share-box h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.share-box p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.share-btns {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

.share-btn:hover {
  transform: translateY(-2px);
}

.share-fb {
  background: #1877F2;
  color: #fff;
}

.share-ig {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
}

.share-wa {
  background: var(--wa);
  color: #fff;
}

.share-copy {
  background: var(--off);
  color: var(--navy);
  border: 1px solid var(--grey);
}

/* ========================================
   28. RESPONSIVE
   ======================================== */
@media (max-width: 960px) {
  .nlinks,
  .ncta {
    display: none;
  }

  .hbg {
    display: flex;
  }

  .hero-in {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .g2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

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

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

  .igstrip {
    grid-template-columns: repeat(3, 1fr);
  }

  .pgrid {
    columns: 3;
  }
}

@media (max-width: 640px) {
  .g3 {
    grid-template-columns: 1fr;
  }

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

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

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

  .igstrip {
    grid-template-columns: repeat(2, 1fr);
  }

  .pgrid {
    columns: 2;
  }

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

  .hero-stats {
    gap: 1.5rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }
}

/* ========================================
   29. ADMIN DASHBOARD STYLES
   ======================================== */

/* Admin Layout */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  background: var(--off);
}

/* Admin Sidebar */
.admin-sidebar {
  background: var(--navy);
  color: #fff;
  padding: 2rem 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

.admin-sidebar .logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  padding: 0 1.5rem;
  margin-bottom: 2.5rem;
  letter-spacing: -0.5px;
}

.admin-sidebar .logo span {
  color: var(--teal);
}

.admin-sidebar .nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.admin-sidebar .nav-item:hover {
  background: rgba(0, 180, 160, 0.1);
  color: #fff;
}

.admin-sidebar .nav-item.active {
  background: rgba(0, 180, 160, 0.15);
  color: var(--teal);
  border-left-color: var(--teal);
}

.admin-sidebar .nav-item svg {
  width: 18px;
  height: 18px;
}

/* Admin Main */
.admin-main {
  padding: 2.5rem;
}

.admin-header {
  background: #fff;
  border-bottom: 1px solid var(--grey);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -2.5rem -2.5rem 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.admin-header h1 {
  font-size: 1.8rem;
  color: var(--navy);
}

.admin-header .user-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Stat Grid */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

/* Stat Card */
.stat-card {
  background: #fff;
  border-radius: var(--r);
  padding: 1.8rem;
  border: 1px solid var(--grey);
  box-shadow: var(--sh);
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.stat-card .icon {
  width: 50px;
  height: 50px;
  background: var(--teal-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.stat-card .content h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.stat-card .content .number {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
}

.stat-card .content .change {
  font-size: 0.75rem;
  margin-top: 0.4rem;
  color: var(--muted);
}

.stat-card .change.up {
  color: var(--portal-green);
}

.stat-card .change.down {
  color: #EF4444;
}

/* Data Table */
.data-table {
  background: #fff;
  border-radius: var(--r);
  border: 1px solid var(--grey);
  overflow: hidden;
  box-shadow: var(--sh);
}

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

.data-table th {
  background: var(--off);
  padding: 1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--grey);
}

.data-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--grey);
  color: var(--text);
  font-size: 0.88rem;
}

.data-table tr:hover {
  background: var(--off);
}

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

/* Upload Zone */
.upload-zone {
  border: 2px dashed var(--grey);
  border-radius: var(--r);
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
}

.upload-zone:hover,
.upload-zone.over {
  border-color: var(--teal);
  background: var(--teal-light);
}

.upload-zone .icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--teal);
}

.upload-zone h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.upload-zone p {
  font-size: 0.84rem;
  color: var(--muted);
}

/* Admin Card */
.admin-card {
  background: #fff;
  border-radius: var(--r);
  padding: 2rem;
  border: 1px solid var(--grey);
  box-shadow: var(--sh);
  margin-bottom: 2rem;
}

.admin-card h2 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--grey);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.open {
  display: flex;
}

.modal-overlay {
  background: #fff;
  border-radius: var(--r);
  max-width: 500px;
  width: 90%;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shl);
}

.modal-overlay .close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
}

.modal-overlay .close:hover {
  color: var(--navy);
}

.modal-overlay h2 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

/* Admin Responsive */
@media (max-width: 768px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: fixed;
    left: -260px;
    height: 100vh;
    z-index: 999;
    transition: left 0.3s;
  }

  .admin-sidebar.open {
    left: 0;
  }

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

  .data-table {
    overflow-x: auto;
  }
}

/* ========================================
   30. KID PORTAL STYLES
   ======================================== */

/* Portal Header */
.portal-header {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  padding: 2rem;
  border-radius: var(--r);
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.portal-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.portal-header h1 {
  font-size: 2rem;
  position: relative;
  z-index: 1;
}

.portal-header p {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.5rem;
  position: relative;
  z-index: 1;
}

/* Reward Track */
.reward-track {
  background: #fff;
  border-radius: var(--r);
  padding: 2rem;
  margin-bottom: 2.5rem;
  border: 1px solid var(--grey);
  box-shadow: var(--sh);
}

.reward-track h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  text-align: center;
}

.reward-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.reward-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--grey);
  z-index: 0;
}

.reward-steps {
  position: relative;
  z-index: 1;
}

/* Reward Step */
.reward-step {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--grey);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  transition: all 0.3s;
  flex-shrink: 0;
  cursor: pointer;
}

.reward-step:hover {
  transform: scale(1.1);
}

.reward-step .icon {
  font-size: 1.8rem;
}

.reward-step .label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
}

.reward-step.completed {
  background: var(--portal-green);
  border-color: var(--portal-green);
  color: #fff;
}

.reward-step.completed .icon,
.reward-step.completed .label {
  color: #fff;
}

.reward-step.current {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  animation: pulse 2s infinite;
}

.reward-step.current .icon,
.reward-step.current .label {
  color: #fff;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 180, 160, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(0, 180, 160, 0);
  }
}

/* Achievement Card */
.achievement-card {
  background: linear-gradient(135deg, var(--portal-purple), var(--portal-pink));
  border-radius: var(--r);
  padding: 1.5rem;
  color: #fff;
  text-align: center;
  box-shadow: var(--sh);
  transition: all 0.3s;
  cursor: pointer;
}

.achievement-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shl);
}

.achievement-card .badge {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.achievement-card h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.achievement-card p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

.achievement-card.locked {
  background: linear-gradient(135deg, #9CA3AF, #6B7280);
  opacity: 0.6;
}

/* Leaderboard */
.leaderboard {
  background: #fff;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--grey);
  box-shadow: var(--sh);
}

.leaderboard-item {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--grey);
  transition: background 0.2s;
}

.leaderboard-item:hover {
  background: var(--off);
}

.leaderboard-item:last-child {
  border-bottom: none;
}

.leaderboard-item .rank {
  width: 40px;
  height: 40px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

.leaderboard-item .rank.top {
  background: var(--portal-gold);
  color: var(--navy);
}

.leaderboard-item .name {
  font-weight: 700;
  color: var(--navy);
}

.leaderboard-item .points {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--teal);
  font-family: 'Montserrat', sans-serif;
}

/* Game Card */
.game-card {
  background: linear-gradient(135deg, var(--portal-blue), var(--teal));
  border-radius: var(--r);
  padding: 1.5rem;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
  overflow: hidden;
  position: relative;
}

.game-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shl);
}

.game-card .icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.game-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  position: relative;
  z-index: 1;
}

.game-card p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
}

/* Playlist Card */
.playlist-card {
  background: #fff;
  border-radius: var(--r);
  padding: 1.5rem;
  border: 1px solid var(--grey);
  box-shadow: var(--sh);
}

.playlist-card .image {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--portal-orange), var(--portal-gold));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.playlist-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.playlist-card p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.playlist-card .btn {
  width: 100%;
  justify-content: center;
}

/* Portal Navigation */
.portal-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--grey);
}

.portal-nav button {
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  border: 2px solid var(--grey);
  background: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.portal-nav button:hover,
.portal-nav button.active {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

/* Streak Badge */
.streak-badge {
  background: linear-gradient(135deg, var(--portal-gold), #FFA500);
  border-radius: var(--r);
  padding: 1rem;
  color: var(--navy);
  text-align: center;
  font-weight: 700;
  box-shadow: var(--sh);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.streak-badge .icon {
  font-size: 1.5rem;
}

.streak-badge .text {
  font-size: 1rem;
}

/* XP Bar */
.xp-bar {
  background: var(--off);
  border-radius: 100px;
  height: 24px;
  overflow: hidden;
  border: 2px solid var(--grey);
  position: relative;
  margin: 1rem 0;
}

.xp-bar-fill {
  background: linear-gradient(90deg, var(--teal), var(--portal-green));
  height: 100%;
  width: 65%;
  border-radius: 100px;
  transition: width 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.5rem;
  position: relative;
}

.xp-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.xp-bar .label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  z-index: 1;
}

/* Portal Grid */
.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Portal Responsive */
@media (max-width: 768px) {
  .reward-steps {
    flex-direction: column;
    gap: 1rem;
  }

  .reward-steps::before {
    display: none;
  }

  .portal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .leaderboard-item {
    grid-template-columns: auto 1fr auto;
  }
}

/* ========================================
   31. LOGIN / AUTH FORMS
   ======================================== */

/* Auth Container */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 1rem;
}

.auth-box {
  background: #fff;
  border-radius: var(--r);
  padding: 3rem;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shl);
}

.auth-box .logo {
  text-align: center;
  margin-bottom: 2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--navy);
}

.auth-box .logo span {
  color: var(--teal);
}

.auth-box h1 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  text-align: center;
}

.auth-box .subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 2rem;
}

.auth-field {
  margin-bottom: 1.5rem;
}

.auth-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.auth-field input {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--grey);
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-field input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 180, 160, 0.1);
}

.auth-field input::placeholder {
  color: var(--muted);
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.auth-remember input[type='checkbox'] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.auth-submit {
  width: 100%;
  padding: 1rem;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-submit:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 180, 160, 0.3);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  color: var(--muted);
  font-size: 0.8rem;
}

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

.auth-socials {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.auth-social {
  flex: 1;
  padding: 0.9rem;
  border: 1.5px solid var(--grey);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.auth-social:hover {
  border-color: var(--teal);
  background: var(--teal-light);
}

.auth-toggle {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.auth-toggle a {
  color: var(--teal);
  font-weight: 700;
  transition: color 0.2s;
}

.auth-toggle a:hover {
  color: var(--teal-dark);
}

.auth-error {
  background: #FEE2E2;
  color: #991B1B;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid #DC2626;
}

.auth-success {
  background: #DCFCE7;
  color: #166534;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid #16A34A;
}

/* Password Strength */
.password-strength {
  margin-top: 0.5rem;
  height: 4px;
  background: var(--grey);
  border-radius: 100px;
  overflow: hidden;
}

.password-strength-bar {
  height: 100%;
  width: 0%;
  border-radius: 100px;
  transition: width 0.3s, background-color 0.3s;
}

.password-strength-bar.weak {
  width: 33%;
  background: #EF4444;
}

.password-strength-bar.medium {
  width: 66%;
  background: var(--portal-gold);
}

.password-strength-bar.strong {
  width: 100%;
  background: var(--portal-green);
}

/* Auth Responsive */
@media (max-width: 480px) {
  .auth-box {
    padding: 2rem;
  }

  .auth-box h1 {
    font-size: 1.3rem;
  }

  .auth-socials {
    flex-direction: column;
  }
}

/* ========================================
   END OF STYLESHEET
   ======================================== */
