/* ========================================
   METAVERSE PAGE — TOKELAU IN THE METAVERSE
   ======================================== */

/* ----------------------------------------
   HERO SECTION
   ---------------------------------------- */
.meta-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.meta-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #002952 0%, #003a6e 40%, #002d55 70%, #001e3d 100%);
  z-index: 0;
}

.meta-hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.meta-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse at 30% 50%, rgba(0, 87, 156, 0.25) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(255, 209, 0, 0.08) 0%, transparent 50%);
}

.meta-hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 120px 20px 80px;
}

.meta-hero__badge {
  display: inline-block;
  padding: 8px 24px;
  background: rgba(255, 209, 0, 0.12);
  border: 1px solid rgba(255, 209, 0, 0.3);
  border-radius: 30px;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 3px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out;
}

.meta-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6.5rem);
  color: #ffffff;
  line-height: 1;
  letter-spacing: 4px;
  margin-bottom: 28px;
  text-shadow: 0 0 80px rgba(0, 87, 156, 0.4);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.meta-hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(232, 237, 242, 0.85);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

.btn-meta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--gold), #e6bc00);
  color: #003366;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 2px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 209, 0, 0.25);
}

.btn-meta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 209, 0, 0.4);
}

.btn-meta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: rgba(0, 65, 120, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 2px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-meta-secondary:hover {
  border-color: var(--gold);
  background: rgba(255, 209, 0, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 209, 0, 0.15);
}

.btn-meta-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 2px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-meta-gold:hover {
  background: var(--gold);
  color: #003366;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 209, 0, 0.3);
}

.meta-hero__scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  letter-spacing: 2px;
  animation: fadeInUp 1s ease-out 1s both;
}

.meta-hero__scroll-arrow {
  width: 20px;
  height: 20px;
  margin: 10px auto 0;
  border-right: 2px solid rgba(255, 209, 0, 0.5);
  border-bottom: 2px solid rgba(255, 209, 0, 0.5);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.5; }
  50% { transform: rotate(45deg) translateY(8px); opacity: 1; }
}

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

/* ----------------------------------------
   HERO PARTICLES
   ---------------------------------------- */
.hero-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-particle--star {
  background: radial-gradient(circle, rgba(255, 209, 0, 0.8) 0%, rgba(255, 209, 0, 0) 70%);
}

.hero-particle--dust {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 70%);
}

@keyframes particleFloat {
  0% { transform: translate(0, 0); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)); opacity: 0; }
}

/* ----------------------------------------
   SCROLL REVEAL ANIMATION
   ---------------------------------------- */
.meta-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.meta-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------
   SECTION 2: INTRO
   ---------------------------------------- */
.meta-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.meta-intro__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(255, 209, 0, 0.1);
  border: 1px solid rgba(255, 209, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold);
}

.meta-intro__content p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: rgba(232, 237, 242, 0.9);
  margin-bottom: 20px;
}

.meta-intro__content p:last-child {
  margin-bottom: 0;
}

.meta-intro__content strong {
  color: var(--gold);
}

.section--white .meta-intro__content p {
  color: #2a2a3e;
}

.section--white .meta-intro__content strong {
  color: var(--primary);
}

.section--white .section-title {
  color: #003366;
}

/* ----------------------------------------
   SECTION 3: WHY THIS MATTERS
   ---------------------------------------- */
.meta-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.meta-why-card {
  background: rgba(0, 65, 120, 0.35);
  border: 1px solid rgba(0, 87, 156, 0.2);
  border-top: 2px solid var(--gold);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.meta-why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 87, 156, 0.2), 0 0 30px rgba(255, 209, 0, 0.08);
  border-color: rgba(255, 209, 0, 0.3);
}

.meta-why-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(255, 209, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  transition: all 0.3s ease;
}

.meta-why-card:hover .meta-why-card__icon {
  background: rgba(255, 209, 0, 0.2);
  box-shadow: 0 0 20px rgba(255, 209, 0, 0.15);
}

.meta-why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.meta-why-card p {
  color: rgba(232, 237, 242, 0.8);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ----------------------------------------
   SECTION 4: POSSIBILITIES
   ---------------------------------------- */
#possibilities {
  background: url('../../assets/images/mtta-background-texture.jpg') center/cover no-repeat fixed;
  position: relative;
}

#possibilities::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 14, 30, 0.92);
  z-index: 0;
}

#possibilities > .container {
  position: relative;
  z-index: 1;
}

.meta-possibilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.meta-possibility-tile {
  background: rgba(0, 65, 120, 0.3);
  border: 1px solid rgba(0, 87, 156, 0.15);
  border-radius: 16px;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.meta-possibility-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 209, 0, 0.3);
  box-shadow: 0 8px 30px rgba(0, 87, 156, 0.15);
}

.meta-possibility-tile__number {
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: rgba(255, 209, 0, 0.12);
  letter-spacing: 2px;
}

.meta-possibility-tile__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 209, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.meta-possibility-tile:hover .meta-possibility-tile__icon {
  background: rgba(255, 209, 0, 0.18);
}

.meta-possibility-tile h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.meta-possibility-tile p {
  color: rgba(232, 237, 242, 0.75);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ----------------------------------------
   SECTION 5: GALLERY
   ---------------------------------------- */
.meta-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.meta-gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: rgba(0, 65, 120, 0.25);
  border: 1px solid rgba(0, 87, 156, 0.15);
  transition: all 0.3s ease;
}

.meta-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 87, 156, 0.2);
  border-color: rgba(255, 209, 0, 0.3);
}

.meta-gallery-item img,
.meta-gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.meta-gallery-item:hover img,
.meta-gallery-item:hover video {
  transform: scale(1.05);
}

.meta-gallery-item__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px 14px;
  background: linear-gradient(transparent, rgba(0, 10, 20, 0.9));
  pointer-events: none;
}

.meta-gallery-item__title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.meta-gallery-item__type {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 6px;
  color: var(--gold);
  font-size: 0.75rem;
  backdrop-filter: blur(4px);
}

/* Lightbox */
.meta-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 8, 20, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.meta-lightbox.open {
  display: flex;
}

.meta-lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
}

.meta-lightbox__close:hover {
  background: rgba(255, 209, 0, 0.3);
}

.meta-lightbox__prev,
.meta-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meta-lightbox__prev { left: 24px; }
.meta-lightbox__next { right: 24px; }

.meta-lightbox__prev:hover,
.meta-lightbox__next:hover {
  background: rgba(255, 209, 0, 0.2);
  border-color: var(--gold);
}

.meta-lightbox__content {
  text-align: center;
  max-width: 90vw;
  max-height: 85vh;
}

.meta-lightbox__content img,
.meta-lightbox__content video {
  max-width: 85vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 60px rgba(0, 87, 156, 0.2);
}

.meta-lightbox__caption {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 16px;
  font-size: 1rem;
  letter-spacing: 1px;
}

/* ----------------------------------------
   SECTION 6: BENEFITS
   ---------------------------------------- */
.meta-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.meta-benefit-card {
  background: rgba(0, 65, 120, 0.3);
  border: 1px solid rgba(0, 87, 156, 0.15);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.meta-benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 209, 0, 0.25);
  box-shadow: 0 8px 30px rgba(0, 87, 156, 0.15);
}

.meta-benefit-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(0, 87, 156, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
  transition: all 0.3s ease;
}

.meta-benefit-card:hover .meta-benefit-card__icon {
  background: rgba(255, 209, 0, 0.15);
  box-shadow: 0 0 15px rgba(255, 209, 0, 0.12);
}

.meta-benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.meta-benefit-card p {
  color: rgba(232, 237, 242, 0.8);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ----------------------------------------
   SECTION 7: VALUES
   ---------------------------------------- */
.meta-values-grid {
  max-width: 800px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.meta-value-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(0, 65, 120, 0.25);
  border: 1px solid rgba(0, 87, 156, 0.12);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.meta-value-item:hover {
  border-color: rgba(255, 209, 0, 0.25);
  background: rgba(0, 65, 120, 0.4);
}

.meta-value-item__marker {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.3rem;
  margin-top: 2px;
}

.meta-value-item h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.meta-value-item p {
  color: rgba(232, 237, 242, 0.8);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ----------------------------------------
   SECTION 8: ROADMAP
   ---------------------------------------- */
.meta-roadmap {
  max-width: 700px;
  margin: 48px auto 0;
  position: relative;
  padding-left: 60px;
}

.meta-roadmap__line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(0, 87, 156, 0.3));
}

.meta-roadmap-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
}

.meta-roadmap-step:last-child {
  margin-bottom: 0;
}

.meta-roadmap-step__marker {
  position: absolute;
  left: -60px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #e6bc00);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(255, 209, 0, 0.25);
  z-index: 2;
}

.meta-roadmap-step__marker span {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #003366;
  font-weight: 700;
}

.meta-roadmap-step__content {
  background: rgba(0, 65, 120, 0.3);
  border: 1px solid rgba(0, 87, 156, 0.15);
  border-radius: 12px;
  padding: 28px 24px;
  flex: 1;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.meta-roadmap-step:hover .meta-roadmap-step__content {
  border-color: rgba(255, 209, 0, 0.25);
}

.meta-roadmap-step__content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.meta-roadmap-step__content p {
  color: rgba(232, 237, 242, 0.8);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ----------------------------------------
   SECTION 9: FINAL CTA
   ---------------------------------------- */
.meta-cta-section {
  background: linear-gradient(135deg, rgba(0, 87, 156, 0.15), rgba(0, 65, 120, 0.25));
  border-top: 1px solid rgba(255, 209, 0, 0.1);
  border-bottom: 1px solid rgba(255, 209, 0, 0.1);
}

.meta-cta-content {
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}

.meta-cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  color: #ffffff;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.meta-cta-content > p {
  color: rgba(232, 237, 242, 0.85);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

.meta-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----------------------------------------
   RESPONSIVE
   ---------------------------------------- */
@media (max-width: 1024px) {
  .meta-possibilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .meta-hero__content {
    padding: 100px 16px 60px;
  }

  .meta-hero__title {
    letter-spacing: 2px;
  }

  .meta-hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-meta-primary,
  .btn-meta-secondary,
  .btn-meta-gold {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .meta-why-grid {
    grid-template-columns: 1fr;
  }

  .meta-possibilities-grid {
    grid-template-columns: 1fr;
  }

  .meta-benefits-grid {
    grid-template-columns: 1fr;
  }

  .meta-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .meta-roadmap {
    padding-left: 50px;
  }

  .meta-roadmap-step__marker {
    left: -50px;
    width: 40px;
    height: 40px;
  }

  .meta-roadmap__line {
    left: 20px;
  }

  .meta-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .meta-lightbox__prev { left: 8px; }
  .meta-lightbox__next { right: 8px; }
}

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

  .meta-hero__title {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }

  .meta-hero__subtitle {
    font-size: 0.9rem;
  }

}

/* ----------------------------------------
   FOUNDING STORY SECTION
   ---------------------------------------- */
.meta-founder {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

.meta-founder__portrait {
  text-align: center;
}

.meta-founder__portrait img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 0 40px rgba(255, 209, 0, 0.15);
}

.meta-founder__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #ffffff;
  letter-spacing: 2px;
  margin-top: 16px;
}

.meta-founder__role {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-top: 4px;
}

.meta-founder__year {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.meta-founder__year-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--gold);
  letter-spacing: 3px;
  line-height: 1;
  text-shadow: 0 0 30px rgba(255, 209, 0, 0.2);
}

.meta-founder__year-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: rgba(232, 237, 242, 0.5);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.meta-founder__story p {
  color: rgba(232, 237, 242, 0.9);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.meta-founder__story strong {
  color: var(--gold);
}

.meta-founder__quote {
  background: rgba(0, 65, 120, 0.35);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 24px 0;
  position: relative;
  backdrop-filter: blur(10px);
}

.meta-founder__quote .fa-quote-left {
  color: var(--gold);
  opacity: 0.4;
  font-size: 1.2rem;
  margin-bottom: 8px;
  display: block;
}

.meta-founder__quote p {
  font-style: italic;
  color: rgba(232, 237, 242, 0.95);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.meta-founder__quote cite {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.meta-founder__highlight {
  background: linear-gradient(135deg, rgba(255, 209, 0, 0.12), rgba(0, 87, 156, 0.15));
  border: 1px solid rgba(255, 209, 0, 0.25);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.meta-founder__highlight .fa-star {
  color: var(--gold);
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.meta-founder__highlight p {
  margin-bottom: 0;
}

/* ----------------------------------------
   PHOTO TIMELINE SECTION
   ---------------------------------------- */
.meta-timeline {
  position: relative;
  margin-top: 48px;
  padding: 0 20px;
}

.meta-timeline__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(0, 87, 156, 0.4), var(--gold));
  transform: translateX(-50%);
}

.meta-timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 60px;
  position: relative;
}

.meta-timeline-item:last-child {
  margin-bottom: 0;
}

.meta-timeline-item--left {
  flex-direction: row;
}

.meta-timeline-item--right {
  flex-direction: row-reverse;
}

.meta-timeline-item__content {
  width: calc(50% - 40px);
  background: rgba(0, 65, 120, 0.35);
  border: 1px solid rgba(0, 87, 156, 0.2);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.meta-timeline-item__content:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 209, 0, 0.3);
  box-shadow: 0 8px 30px rgba(0, 87, 156, 0.2);
}

.meta-timeline-item__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.meta-timeline-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.meta-timeline-item__content:hover .meta-timeline-item__image img {
  transform: scale(1.05);
}

.meta-timeline-item__text {
  padding: 20px 24px;
}

.meta-timeline-item__era {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.meta-timeline-item__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.meta-timeline-item__desc {
  color: rgba(232, 237, 242, 0.8);
  font-size: 0.93rem;
  line-height: 1.7;
}

.meta-timeline-item__marker {
  position: absolute;
  left: 50%;
  top: 30px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid #003366;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 15px rgba(255, 209, 0, 0.3);
}

.meta-timeline-item__year-badge {
  position: absolute;
  left: 50%;
  top: 55px;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 2px;
  white-space: nowrap;
  z-index: 2;
}

/* ----------------------------------------
   3D METAVERSE EMBED
   ---------------------------------------- */
.meta-3d-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.meta-3d-container {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(255, 209, 0, 0.2);
  box-shadow: 0 0 60px rgba(0, 87, 156, 0.2), 0 0 100px rgba(0, 0, 0, 0.3);
  background: #000a14;
}

.meta-3d-container.fullscreen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  border-radius: 0;
  z-index: 10000;
  border: none;
}

.meta-3d-container canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.meta-3d-loading {
  position: absolute;
  inset: 0;
  z-index: 50;
  background: linear-gradient(135deg, #003d6e 0%, #00579C 50%, #1a7abf 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.meta-3d-loading.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

.meta-3d-loading__content {
  text-align: center;
  color: #ffffff;
}

.meta-3d-loading__logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 16px;
}

.meta-3d-loading__content h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.meta-3d-loading__content p {
  opacity: 0.7;
  margin-bottom: 24px;
}

.meta-3d-loading__bar {
  width: 240px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.meta-3d-loading__bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), #e6bc00);
  transition: width 0.3s;
}

.meta-3d-enter-btn {
  display: none;
  margin-top: 24px;
  padding: 12px 36px;
  background: var(--gold);
  color: #00579C;
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 2px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s;
}

.meta-3d-enter-btn:hover {
  background: #fff;
  transform: scale(1.05);
}

.meta-3d-hud {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.meta-3d-hud.visible {
  opacity: 1;
}

.meta-3d-hud * {
  pointer-events: auto;
}

.meta-3d-hud__title {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 2px;
}

.meta-3d-hud__controls {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  display: flex;
  gap: 14px;
}

.meta-3d-hud__controls kbd {
  display: inline-block;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  font-family: monospace;
  color: var(--gold);
}

.meta-3d-hud__right {
  display: flex;
  gap: 8px;
}

.meta-3d-hud__btn {
  padding: 10px 14px;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.3s;
}

.meta-3d-hud__btn:hover {
  background: rgba(255, 209, 0, 0.3);
  border-color: var(--gold);
}

.meta-3d-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  z-index: 39;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.meta-3d-crosshair.visible::before,
.meta-3d-crosshair.visible::after {
  content: '';
  position: absolute;
  background: var(--gold);
}

.meta-3d-crosshair.visible::before {
  width: 2px;
  height: 20px;
  left: 9px;
  top: 0;
}

.meta-3d-crosshair.visible::after {
  width: 20px;
  height: 2px;
  top: 9px;
  left: 0;
}

.meta-3d-crosshair.visible {
  opacity: 0.5;
}

.meta-3d-prompt {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 20px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--gold);
  color: #fff;
  border-radius: 8px;
  font-size: 0.85rem;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.meta-3d-prompt.visible {
  opacity: 1;
}

.meta-3d-prompt kbd {
  padding: 2px 6px;
  background: rgba(255, 209, 0, 0.3);
  border-radius: 3px;
  color: var(--gold);
  font-family: monospace;
}

.meta-3d-photo-viewer {
  position: absolute;
  inset: 0;
  z-index: 45;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.meta-3d-photo-viewer.open {
  display: flex;
}

.meta-3d-photo-viewer img {
  max-width: 80%;
  max-height: 70%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(255, 209, 0, 0.15);
}

.meta-3d-photo-caption {
  color: #fff;
  margin-top: 12px;
  font-size: 1rem;
  opacity: 0.8;
}

.meta-3d-photo-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
}

.meta-3d-photo-close:hover {
  background: rgba(255, 209, 0, 0.3);
}

.meta-3d-minimap {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 140px;
  height: 140px;
  background: rgba(0, 13, 59, 0.85);
  border: 2px solid rgba(255, 209, 0, 0.3);
  border-radius: 10px;
  z-index: 40;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.5s;
}

.meta-3d-minimap.visible {
  opacity: 1;
}

.meta-3d-minimap canvas {
  width: 100%;
  height: 100%;
}

.meta-3d-mobile-controls {
  display: none;
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 40;
}

.meta-3d-joystick {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  position: relative;
}

.meta-3d-joystick-knob {
  width: 36px;
  height: 36px;
  background: rgba(255, 209, 0, 0.5);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ----------------------------------------
   RESPONSIVE — NEW SECTIONS
   ---------------------------------------- */
@media (max-width: 768px) {
  .meta-founder {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .meta-founder__portrait img {
    width: 160px;
    height: 160px;
  }

  .meta-founder__year-number {
    font-size: 2.2rem;
  }

  .meta-3d-container {
    height: 400px;
  }

  .meta-3d-hud__controls {
    display: none;
  }

  .meta-3d-mobile-controls {
    display: block;
  }

  .meta-3d-minimap {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .meta-founder__portrait img {
    width: 120px;
    height: 120px;
  }

  .meta-founder__year-number {
    font-size: 1.8rem;
  }

  .meta-founder__story p {
    font-size: 0.95rem;
  }

  .meta-founder__quote p {
    font-size: 0.95rem;
  }

  .meta-3d-container {
    height: 300px;
  }

  .meta-3d-minimap {
    width: 60px;
    height: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .meta-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .meta-hero__scroll-arrow {
    animation: none;
  }

  .hero-particle {
    display: none;
  }
}

/* ----------------------------------------
   DIGITAL HUMAN AVATAR BUILDER
   ---------------------------------------- */
.avatar-builder {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 50;
  background: rgba(0, 13, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow-y: auto;
  animation: avatarFadeIn 0.4s ease;
}

.avatar-builder.open {
  display: block;
}

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

.avatar-builder__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 60;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 209, 0, 0.3);
  color: #fff;
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.avatar-builder__close:hover {
  background: rgba(255, 209, 0, 0.2);
  border-color: var(--gold);
}

.avatar-builder__inner {
  display: flex;
  height: 100%;
  min-height: 500px;
}

.avatar-builder__preview {
  flex: 0 0 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(ellipse at center, rgba(0, 87, 156, 0.15) 0%, transparent 70%);
  border-right: 1px solid rgba(255, 209, 0, 0.1);
}

.avatar-builder__preview canvas {
  max-width: 100%;
  cursor: grab;
}

.avatar-builder__preview canvas:active {
  cursor: grabbing;
}

.avatar-builder__rotate-hint {
  position: absolute;
  bottom: 20px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.avatar-builder__controls {
  flex: 1;
  padding: 30px 30px 30px 40px;
  overflow-y: auto;
}

.avatar-builder__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 3px;
  margin: 0 0 4px;
}

.avatar-builder__subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin: 0 0 24px;
  letter-spacing: 0.5px;
}

.avatar-builder__section {
  margin-bottom: 20px;
}

.avatar-builder__label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.avatar-builder__options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.avatar-builder__opt {
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
}

.avatar-builder__opt:hover {
  background: rgba(255, 209, 0, 0.1);
  border-color: rgba(255, 209, 0, 0.3);
  color: #fff;
}

.avatar-builder__opt.active {
  background: rgba(255, 209, 0, 0.15);
  border-color: var(--gold);
  color: var(--gold);
}

.avatar-builder__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.avatar-builder__swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.avatar-builder__swatch:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.avatar-builder__swatch.active {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(255, 209, 0, 0.4);
  transform: scale(1.15);
}

.avatar-builder__swatch.active::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.avatar-builder__actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.avatar-builder__btn-save {
  flex: 1;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--gold) 0%, #e6bc00 100%);
  border: none;
  color: #002952;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.avatar-builder__btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 209, 0, 0.3);
}

.avatar-builder__btn-random {
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.avatar-builder__btn-random:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.avatar-builder__saved-msg {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 209, 0, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  animation: avatarFadeIn 0.3s ease;
  z-index: 60;
}

@media (max-width: 768px) {
  .avatar-builder__inner {
    flex-direction: column;
  }
  .avatar-builder__preview {
    flex: 0 0 auto;
    min-height: 300px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 209, 0, 0.1);
  }
  .avatar-builder__preview canvas {
    width: 280px;
    height: 350px;
  }
  .avatar-builder__controls {
    padding: 20px;
  }
  .avatar-builder__title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .avatar-builder__preview {
    min-height: 240px;
  }
  .avatar-builder__preview canvas {
    width: 220px;
    height: 280px;
  }
  .avatar-builder__controls {
    padding: 16px;
  }
  .avatar-builder__opt {
    padding: 6px 10px;
    font-size: 11px;
  }
  .avatar-builder__swatch {
    width: 32px;
    height: 32px;
  }
  .avatar-builder__actions {
    flex-direction: column;
  }
}
