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

:root {
  --r: #FF6B6B;
  --o: #FF9F43;
  --y: #F9CA24;
  --g: #6AB04C;
  --b: #4BCFFA;
  --v: #A29BFE;
  --p: #fd79a8;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #0a0a1a;
  color: #f0f0f8;
  overflow-x: hidden;
}

/* ─── CANVAS / CONFETTI ─────────────────────────────────────────────── */
#confetti-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 999;
}

/* ─── ANIMATED RAINBOW BACKGROUND ──────────────────────────────────── */
.rainbow-bg {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    270deg,
    #FF6B6B, #FF9F43, #F9CA24,
    #6AB04C, #4BCFFA, #A29BFE,
    #fd79a8, #FF6B6B
  );
  background-size: 600% 600%;
  animation: rainbowShift 12s ease infinite;
  opacity: 0.07;
  z-index: 0;
  pointer-events: none;
}

@keyframes rainbowShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ─── FLOATING ORBS ─────────────────────────────────────────────────── */
.orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: floatOrb 20s ease-in-out infinite;
}

.orb1 { width:500px; height:500px; background:rgba(255,107,107,0.22); top:-100px; left:-100px; animation-delay:0s; }
.orb2 { width:400px; height:400px; background:rgba(74,207,250,0.20); top:30%; right:-80px; animation-delay:-5s; }
.orb3 { width:350px; height:350px; background:rgba(162,155,254,0.22); bottom:10%; left:10%; animation-delay:-10s; }
.orb4 { width:300px; height:300px; background:rgba(249,202,36,0.18); top:50%; left:40%; animation-delay:-7s; }
.orb5 { width:450px; height:450px; background:rgba(253,121,168,0.18); bottom:-100px; right:10%; animation-delay:-3s; }

@keyframes floatOrb {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(40px,-60px) scale(1.08); }
  66%       { transform: translate(-30px,40px) scale(0.94); }
}

/* ─── HERO ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem 2rem;
  z-index: 1;
  overflow: hidden;
}

/* ── Rainbow arch behind photo ── */
.rainbow-arch {
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  border-radius: 50% 50% 0 0 / 60% 60% 0 0;
  background: conic-gradient(
    from 180deg at 50% 100%,
    #FF6B6B 0deg,
    #FF9F43 51deg,
    #F9CA24 85deg,
    #6AB04C 120deg,
    #4BCFFA 155deg,
    #A29BFE 190deg,
    #fd79a8 220deg,
    transparent 221deg
  );
  opacity: 0.18;
  filter: blur(6px);
  animation: archPulse 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes archPulse {
  0%,100% { opacity: 0.18; transform: translateX(-50%) scale(1); }
  50%      { opacity: 0.28; transform: translateX(-50%) scale(1.04); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 100%;
}

/* ── Main screen: all 5 images (fit to screen) ── */
.main-screen-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vh, 1.25rem);
  width: 100%;
  flex: 1;
  min-height: 0;
  padding: 0 1rem;
}
.main-screen-images .photo-wrapper.main-photo {
  width: min(320px, 42vw);
  height: min(320px, 42vw);
  flex-shrink: 0;
}
.main-screen-images .hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.main-screen-four {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  width: 100%;
  max-width: min(1200px, 96vw);
  flex: 1;
  min-height: min(26vh, 200px);
  height: min(36vh, 320px);
}
.main-screen-thumb {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 100%;
  border-radius: clamp(10px, 1.5vw, 16px);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.main-screen-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.main-screen-thumb:hover img {
  transform: scale(1.06);
}
.main-screen-thumb .thumb-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.6rem;
  font-size: clamp(0.7rem, 1.2vw, 0.9rem);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  text-align: center;
  letter-spacing: 0.05em;
}

/* ── Badge ── */
.badge {
  display: inline-block;
  padding: 0.45rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--r), var(--o), var(--y), var(--g), var(--b), var(--v));
  background-size: 300% 300%;
  animation: rainbowShift 4s ease infinite;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* ── Photo ── */
.photo-wrapper {
  position: relative;
  width: 270px; height: 270px;
  display: flex; align-items: center; justify-content: center;
}

.photo-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B6B,#FF9F43,#F9CA24,#6AB04C,#4BCFFA,#A29BFE,#fd79a8,#FF6B6B);
  background-size: 400% 400%;
  animation: rainbowShift 3s linear infinite;
  filter: blur(2px);
}

.hero-photo {
  position: relative;
  width: 260px; height: 260px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 5px solid #0a0a1a;
  box-shadow: 0 0 60px rgba(162,155,254,0.45), 0 0 120px rgba(74,207,250,0.25);
  animation: photoFloat 6s ease-in-out infinite;
  z-index: 1;
}

@keyframes photoFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.photo-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  font-size: 1.4rem;
  animation: sparkleOrbit 8s linear infinite;
}
.s1 { top:5%; left:80%;  animation-delay:0s; }
.s2 { top:20%; left:95%; animation-delay:-1.3s; }
.s3 { top:70%; left:90%; animation-delay:-2.6s; }
.s4 { top:85%; left:55%; animation-delay:-3.9s; }
.s5 { top:75%; left:5%;  animation-delay:-5.2s; }
.s6 { top:15%; left:2%;  animation-delay:-6.5s; }

@keyframes sparkleOrbit {
  0%   { transform: rotate(0deg)   translateX(140px) rotate(0deg);   opacity:1; }
  50%  { opacity: 0.4; }
  100% { transform: rotate(360deg) translateX(140px) rotate(-360deg); opacity:1; }
}

/* ── Hero Title ── */
.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.word { display: inline-block; animation: letterDance 2.4s ease-in-out infinite; }
.word.r { color: var(--r); animation-delay:0s; }
.word.o { color: var(--o); animation-delay:.1s; }
.word.y { color: var(--y); animation-delay:.2s; }
.word.g { color: var(--g); animation-delay:.3s; }
.word.b { color: var(--b); animation-delay:.4s; }
.word.i { color: var(--b); animation-delay:.5s; }
.word.v { color: var(--v); animation-delay:.6s; }

@keyframes letterDance {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hero-sub {
  max-width: 520px;
  font-size: 1.15rem;
  color: rgba(240,240,248,0.75);
  line-height: 1.7;
}

.cta-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.85rem 2.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #FF6B6B, #FF9F43, #F9CA24, #6AB04C, #4BCFFA, #A29BFE);
  background-size: 300% 300%;
  animation: rainbowShift 4s ease infinite;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(162,155,254,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 40px rgba(162,155,254,0.7);
}

/* ── Stripe bar ── */
.stripe-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  height: 10px;
}
.stripe { flex: 1; }
.stripe.red    { background: #FF6B6B; }
.stripe.orange { background: #FF9F43; }
.stripe.yellow { background: #F9CA24; }
.stripe.green  { background: #6AB04C; }
.stripe.blue   { background: #4BCFFA; }
.stripe.violet { background: #A29BFE; }

/* ─── SECTION BASE ───────────────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  padding: 6rem 1.5rem;
}
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 3rem;
}

/* ─── RAINBOW TEXT ────────────────────────────────────────────────────── */
.rainbow-text {
  background: linear-gradient(90deg, #FF6B6B, #FF9F43, #F9CA24, #6AB04C, #4BCFFA, #A29BFE, #fd79a8);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbowShift 5s ease infinite;
}

/* ─── MESSAGE SECTION ────────────────────────────────────────────────── */
.message-section { background: rgba(255,255,255,0.02); }

.message-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 3rem;
  max-width: 780px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.06);
}
.message-card p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: rgba(240,240,248,0.85);
  margin-bottom: 1.4rem;
}
.message-card p:last-child { margin-bottom: 0; }
.message-card strong { color: #fff; }

/* ─── VALUES GRID ────────────────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.value-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent) 0%, transparent 70%);
  opacity: 0.07;
  transition: opacity 0.3s;
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px color-mix(in srgb, var(--accent) 30%, transparent);
}
.value-card:hover::before { opacity: 0.14; }
.value-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--accent);
}
.value-card p { font-size: 0.95rem; line-height: 1.7; color: rgba(240,240,248,0.7); }

/* ─── GALLERY ─────────────────────────────────────────────────────────── */
.gallery-section { background: rgba(255,255,255,0.02); }
.gallery-intro {
  text-align: center;
  font-size: 1.1rem;
  color: rgba(240,240,248,0.7);
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  border: 2px solid rgba(255,255,255,0.08);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0.9;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  letter-spacing: 0.05em;
}

/* ─── MARQUEE ────────────────────────────────────────────────────────── */
.marquee-wrapper {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(135deg, #FF6B6B, #FF9F43, #F9CA24, #6AB04C, #4BCFFA, #A29BFE, #fd79a8);
  background-size: 300% 300%;
  animation: rainbowShift 6s ease infinite;
  padding: 1rem 0;
}
.marquee-track {
  display: flex;
  gap: 3.5rem;
  white-space: nowrap;
  animation: marqueeScroll 24s linear infinite;
  will-change: transform;
}
.marquee-track span {
  font-size: 1rem;
  font-weight: 800;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── QUOTE SECTION ──────────────────────────────────────────────────── */
.quote-section { }

.big-quote {
  position: relative;
  max-width: 820px;
  margin: 0 auto 3.5rem;
  text-align: center;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-style: italic;
  line-height: 1.75;
  color: rgba(240,240,248,0.85);
}
.big-quote:last-child { margin-bottom: 0; }

.quote-mark {
  display: inline-block;
  font-size: 3rem;
  font-style: normal;
  background: linear-gradient(135deg, var(--r), var(--v));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 0.7;
  vertical-align: -0.3em;
}
cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(90deg, var(--b), var(--v));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── CTA SECTION ────────────────────────────────────────────────────── */
.cta-section { background: rgba(255,255,255,0.02); }

.cta-intro {
  text-align: center;
  font-size: 1.1rem;
  color: rgba(240,240,248,0.7);
  margin-bottom: 3rem;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
}
.action-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.action-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.action-item p { font-size: 0.9rem; line-height: 1.65; color: rgba(240,240,248,0.65); }

/* ─── FOOTER ─────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  background: rgba(0,0,0,0.3);
  overflow: hidden;
}
.footer-rainbow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, #FF6B6B,#FF9F43,#F9CA24,#6AB04C,#4BCFFA,#A29BFE,#fd79a8);
  background-size: 300% 300%;
  animation: rainbowShift 4s ease infinite;
}
.footer-flags { font-size: 2.5rem; margin-bottom: 1rem; }
.footer-tagline {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 900;
  margin-bottom: 0.8rem;
}
.footer-copy { font-size: 0.9rem; color: rgba(240,240,248,0.45); }

/* ─── SCROLL REVEAL ──────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .message-card { padding: 2rem 1.4rem; }
  .photo-wrapper { width: 200px; height: 200px; }
  .hero-photo { width: 190px; height: 190px; }
  .main-screen-images .photo-wrapper.main-photo {
    width: min(220px, 55vw);
    height: min(220px, 55vw);
  }
  .main-screen-four {
    flex-wrap: wrap;
    justify-content: center;
    min-height: 0;
    height: auto;
  }
  .main-screen-thumb {
    width: calc(50% - 0.4rem);
    min-width: calc(50% - 0.4rem);
    flex: 1 1 calc(50% - 0.4rem);
    max-width: calc(50% - 0.4rem);
    height: auto;
    min-height: 22vh;
    aspect-ratio: 4/3;
  }
}
