* { margin: 0; padding: 0; box-sizing: border-box; }
@font-face {
    font-family: 'LuckiestGuy';
    src: url('LuckiestGuy.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body {
  font-family: 'LuckiestGuy', cursive;
  background: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
}

/* ══════════════════════════════════════════
   BACKGROUND SMURF FOREST
══════════════════════════════════════════ */
.site-wrapper::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80px 40px at 12% 15%, rgba(255,255,255,0.85) 60%, transparent 100%),
    radial-gradient(ellipse 50px 30px at 18% 10%, rgba(255,255,255,0.85) 60%, transparent 100%),
    radial-gradient(ellipse 60px 35px at 8%  18%, rgba(255,255,255,0.85) 60%, transparent 100%),
    radial-gradient(ellipse 90px 40px at 72% 8%,  rgba(255,255,255,0.85) 60%, transparent 100%),
    radial-gradient(ellipse 55px 30px at 78% 5%,  rgba(255,255,255,0.85) 60%, transparent 100%),
    radial-gradient(ellipse 65px 32px at 66% 11%, rgba(255,255,255,0.85) 60%, transparent 100%),
    radial-gradient(ellipse 70px 38px at 45% 6%,  rgba(255,255,255,0.8) 60%, transparent 100%),
    linear-gradient(180deg, #87ceeb 0%, #b8e4f5 45%, #d4f0c0 70%, #7ec87e 100%);
  pointer-events: none;
}
.bg-grass-back { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 1; pointer-events: none; }
.bg-forest { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 2; pointer-events: none; }

/* ══════════════════════════════════════════
   HEADER & HERO
══════════════════════════════════════════ */
header { text-align: center; padding: 2rem 1rem 0.5rem; position: relative; z-index: 10; }
.logo { font-family: 'LuckiestGuy', cursive; font-size: 2.8rem; letter-spacing: 0.18em; color: #111; line-height: 1; }
.tagline { font-size: 0.7rem; letter-spacing: 0.25em; color: #555; text-transform: uppercase; margin-top: 0.2rem; }

.hero { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; padding: 0; overflow: hidden; }
.divider { width: 2px; height: 320px; background: #e5e5e5; border-radius: 2px; margin: 0 3rem; flex-shrink: 0; }

.character-slot { width: 280px; height: 380px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; }
.character-img { width: 500px; object-fit: contain; animation: breathe 3s ease-in-out infinite; filter: drop-shadow(0 8px 24px rgba(26,108,255,0.18)); }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

/* ══════════════════════════════════════════
   NAVIGATION BUTTONS
══════════════════════════════════════════ */
.nav-list { display: flex; flex-direction: column; gap: 10px; }
.nav-btn { display: flex; flex-direction: row; align-items: center; gap: 16px; cursor: pointer; text-decoration: none; padding: 10px 20px; border-radius: 14px; border: 2px solid transparent; transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s cubic-bezier(.34,1.56,.64,1); }
.nav-btn:hover { background: #f0f5ff; border-color: #1a6cff; transform: translateX(6px); }
.btn-icon { width: 68px; height: 68px; display: flex; align-items: center; justify-content: center; }
.btn-icon img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.15)); transition: transform 0.2s ease; }
.nav-btn:hover .btn-icon img { transform: scale(1.1) rotate(5deg); }
.btn-label { font-family: 'Fredoka One', cursive; font-size: 0.85rem; letter-spacing: 0.12em; color: #111; text-transform: uppercase; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer { padding: 2.8rem 2rem; display: flex; justify-content: center; align-items: center; position: relative; z-index: 10; }



.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 25, 35, 0.88); 
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }

/* ══════════════════════════════════════════
   LORE MODAL (SLIDER)
══════════════════════════════════════════ */
.lore-modal-box { background: transparent; border: none; box-shadow: none; padding: 0; width: 100%; max-width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: visible; }
#modal-lore .modal-body { display: block; width: 100%; padding: 0; }
#modal-lore .modal-header { display: none; }
#modal-lore .modal-close { background: rgba(0,0,0,0.3); color: white; border: 2px solid rgba(255,255,255,0.4); position: absolute; top: 2rem; right: 2rem; width: 42px; height: 42px; font-size: 1.2rem; cursor: pointer; border-radius: 50%; z-index: 100; transition: background 0.15s; }
#modal-lore .modal-close:hover { background: #ff4466; border-color: #ff4466; color: white; }
.lore-slider-section { text-align: center; position: relative; width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 80px; }
.lore-slider-title { font-family: 'LuckiestGuy', cursive; font-size: clamp(2.2rem, 4vw, 3.5rem); color: #FFF; letter-spacing: 0.05em; margin-bottom: 0.5rem; text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.4); }
.lore-slider-subtitle { font-family: 'LuckiestGuy', cursive; font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 700; color: #e0e0e0; margin-bottom: 3.5rem; }
.slider-wrapper { position: relative; width: 100%; }
.slider-track { display: flex; transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); will-change: transform; }
.slide-card { flex: 0 0 340px; margin: 0 1.5rem; background: #ffffff; border-radius: 20px; border: 3px solid #111; box-shadow: 8px 8px 0px rgba(26, 108, 255, 0.2); padding: 1rem; transform: scale(0.9); filter: grayscale(80%) brightness(0.9); transition: all 0.4s ease; z-index: 1; }
.slide-card.current-slide { transform: scale(1.05) translateY(-10px); filter: none; border-color: #1a6cff; box-shadow: 12px 12px 0px rgba(26, 108, 255, 0.3); z-index: 10; }
.card-video-wrap { width: 100%; border-radius: 14px; overflow: hidden; margin-bottom: 1rem; border: 2px solid #eee; }
.card-video-wrap video { width: 100%; display: block; }
.card-text-content h3 { font-family: 'LuckiestGuy', cursive; font-size: 1.4rem; color: #111; margin-bottom: 0.5rem; letter-spacing: 0.05em; }
.card-text-content p { font-family: 'LuckiestGuy', cursive; font-size: 0.9rem; font-weight: 700; color: #444; line-height: 1.5; min-height: 42px; margin-bottom: 1rem; }
.card-link { display: inline-block; background: #f5c842; color: #111; font-family: 'LuckiestGuy', cursive; font-size: 1.1rem; padding: 0.7rem 2rem; border-radius: 99px; border: 2px solid #111; text-decoration: none; transition: transform 0.2s ease; box-shadow: 4px 4px 0px #111; }
.card-link:hover { transform: translateY(-2px); box-shadow: 6px 6px 0px #111; }
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); background: #fff; border: 3px solid #111; border-radius: 14px; width: 52px; height: 52px; cursor: pointer; z-index: 20; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; box-shadow: 6px 6px 0px rgba(26, 108, 255, 0.2); }
.slider-nav:hover { background: #f5c842; transform: translateY(-50%) scale(1.05); box-shadow: 8px 8px 0px rgba(26, 108, 255, 0.3); }
.slider-nav svg { width: 32px; height: 32px; fill: #111; }
.slider-nav.prev { left: 0; } .slider-nav.next { right: 0; }
.slider-nav:disabled { opacity: 0.4; cursor: not-allowed; background: #eee; box-shadow: none; }
/* ══════════════════════════════════════════

══════════════════════════════════════════ */
.roadmap-box { 
  background: transparent !important; 
  border: none !important; 
  box-shadow: none !important; 
  padding: 40px 0 0 0 !important; 
  width: 100%; 
  max-width: 1000px; 
  max-height: 90vh;
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: flex-start;
  overflow: hidden !important; 
}

#modal-roadmap .modal-header { 
  border-bottom: none; 
  justify-content: center; 
  margin-bottom: 1.5rem; 
  width: 100%; 
  flex-shrink: 0; 
}

#modal-roadmap .modal-title { 
  color: #FFF; 
  font-size: clamp(2.2rem, 4vw, 3.5rem); 
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.4); 
}

#modal-roadmap .modal-body { 
  width: 100%; 
  padding: 0 10px 40px 10px; 
  overflow-y: auto; 
  overflow-x: hidden; 
  max-height: 100%; 

  scrollbar-width: thin;
  scrollbar-color: #1a6cff rgba(0,0,0,0.2);
}


#modal-roadmap .modal-body::-webkit-scrollbar { width: 8px; }
#modal-roadmap .modal-body::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); border-radius: 10px; }
#modal-roadmap .modal-body::-webkit-scrollbar-thumb { background: #1a6cff; border-radius: 10px; }


#modal-roadmap .modal-close { 
  position: absolute; 
  background: rgba(0,0,0,0.3); 
  color: white; 
  border: 2px solid rgba(255,255,255,0.4); 
  top: 0; 
  right: 2rem; 
  width: 42px; 
  height: 42px; 
  border-radius: 50%; 
  cursor: pointer; 
  font-size: 1.2rem; 
  transition: 0.2s; 
  z-index: 100; 
}
#modal-roadmap .modal-close:hover { background: #ff4466; border-color: #ff4466; color: white; }

.timeline { position: relative; display: flex; flex-direction: column; gap: 2rem; width: 100%; padding-top: 1rem; padding-bottom: 1rem; }
.timeline-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background-image: linear-gradient(to bottom, #1a6cff 50%, transparent 50%); background-size: 100% 16px; transform: translateX(-50%); border-radius: 2px; z-index: 1; }
.timeline-item { display: flex; position: relative; width: 100%; z-index: 2; }
.timeline-item.left { justify-content: flex-start; }
.timeline-item.right { justify-content: flex-end; }
.timeline-marker { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; background: #fff; border: 4px solid #1a6cff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; z-index: 3; }
.timeline-content { width: 45%; background: rgba(0, 0, 0, 0.5); padding: 1.2rem; border-radius: 16px; border: 3px solid #111; box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.3) !important; transition: transform 0.2s ease; }
.timeline-item:hover .timeline-content { transform: translateY(-3px); }
.timeline-content h3 { font-family: 'LuckiestGuy', cursive; font-size: 1.3rem; color: #ff4466; margin-bottom: 0.8rem; letter-spacing: 0.05em; }
.timeline-content ul { list-style: none; padding: 0; margin: 0; }
.timeline-content li { font-family: 'LuckiestGuy', cursive; font-weight: 10; line-height: 1.2; font-size: 1.1rem; color: #fff; margin-bottom: 0.5rem; display: flex; align-items: flex-start; }
.timeline-content li::before { content: ''; display: inline-block; min-width: 6px; height: 6px; background: #1a6cff; border-radius: 50%; margin-right: 8px; margin-top: 6px; }

.timeline-deco-img { position: absolute; top: 50%; transform: translateY(-50%); width: 240px; height: 240px; object-fit: contain; z-index: 1; opacity: 0.9; animation: floatDeco 4s ease-in-out infinite; }
.timeline-item.left .timeline-deco-img { right: 12%; }
.timeline-item.right .timeline-deco-img { left: 12%; }
@keyframes floatDeco { 0%, 100% { transform: translateY(-50%) rotate(-3deg); } 50% { transform: translateY(-60%) rotate(3deg); } }

/* ══════════════════════════════════════════
   SOCIALS MODAL
══════════════════════════════════════════ */
.socials-box { background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; width: 100%; max-width: 500px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
#modal-socials .modal-body { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; padding: 0 15px; text-align: center; }
#modal-socials .modal-close { position: absolute; top: -40px; right: 10px; background: rgba(0,0,0,0.5); color: white; border: 2px solid rgba(255,255,255,0.4); width: 42px; height: 42px; border-radius: 50%; font-size: 1.2rem; z-index: 100; cursor: pointer; transition: 0.2s;}
#modal-socials .modal-close:hover { background: #ff4466; border-color: #ff4466; }
.socials-title { font-family: 'LuckiestGuy', cursive; font-size: clamp(2.2rem, 5vw, 3.5rem); color: #FFF; text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.4); margin-bottom: 2rem; line-height: 1.1; width: 100%; }
.socials-links-container { display: flex; flex-direction: column; gap: 1.2rem; width: 100%; max-width: 320px; }
.social-link { display: flex; align-items: center; justify-content: center; gap: 15px; background: #ffffff; padding: 1rem 2rem; border-radius: 99px; border: 3px solid #111; box-shadow: 6px 6px 0px rgba(0,0,0,0.3); color: #111; text-decoration: none; font-family: 'LuckiestGuy', cursive; font-size: 1.5rem; transition: all 0.2s ease; letter-spacing: 0.05em; width: 100%; }
.social-link svg { width: 28px; height: 28px; fill: currentColor; }
.social-link:hover { transform: translateY(-4px) scale(1.02); box-shadow: 8px 8px 0px rgba(0,0,0,0.4); background: #f5c842; }
.social-link:active { transform: translateY(0) scale(1); box-shadow: 2px 2px 0px rgba(0,0,0,0.4); }

/* ══════════════════════════════════════════
   FLAPPY SMURF GAME MODAL
══════════════════════════════════════════ */
.game-box { background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative;}
#modal-game .modal-close { position: absolute; top: -40px; right: 10px; background: rgba(0,0,0,0.5); color: white; border: 2px solid rgba(255,255,255,0.4); width: 42px; height: 42px; border-radius: 50%; font-size: 1.2rem; z-index: 100; cursor: pointer; transition: 0.2s;}
#modal-game .modal-close:hover { background: #ff4466; border-color: #ff4466; }
#modal-game .modal-body { display: flex; flex-direction: column; align-items: center; }
#flappyCanvas { background: #87ceeb; border: 4px solid #111; border-radius: 12px; box-shadow: 8px 8px 0px rgba(0,0,0,0.5); cursor: pointer; max-width: 100%; }
.game-instruction { color: white; font-family: 'LuckiestGuy', cursive; margin-top: 15px; font-size: 1.2rem; text-shadow: 2px 2px 0px #111; letter-spacing: 0.05em; text-align: center; }



@media (max-width: 950px) {
  .hero { flex-direction: column; padding: 1rem; gap: 1.5rem; }
  .divider { display: none; }
  .character-img { max-width: 280px; }
  .nav-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 600px; margin: 0 auto; }
  .nav-btn { width: 100%; max-width: 100%; padding: 10px; justify-content: center; }
}

@media (max-width: 768px) {

  .modal-overlay { padding: 1rem; }
  .modal-close { top: 15px !important; right: 15px !important; }
  
  /* Lore Slider */
  .lore-slider-section { padding: 0 10px; }
  .slide-card { flex: 0 0 75%; margin: 0 1rem; }
  .slider-nav.prev { left: -10px; }
  .slider-nav.next { right: -10px; }

  .timeline-line {
    left: 20px !important;
    transform: none !important;
  }


  .timeline-marker {
    left: 20px !important;
    top: 24px !important;
    transform: translate(-50%, 0) !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 1.1rem !important;
    position: absolute !important;
  }

  .timeline-item.left,
  .timeline-item.right {
    justify-content: flex-end !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
  }

  .timeline-content {
    width: calc(100% - 52px) !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    padding: 1rem !important;
  }

  .timeline-content h3 {
    font-size: 1rem !important;
  }

  .timeline-content li {
    font-size: 0.9rem !important;
  }

  .timeline-deco-img {
    display: none !important;
  }
}

@media (max-width: 600px) {
  footer { flex-direction: column; gap: 1rem; padding: 1.5rem; text-align: center; }
}

@media (max-width: 500px) {

  #flappyCanvas { width: 100% !important; height: auto !important; max-width: 320px; }
  .game-instruction { font-size: 0.9rem; padding: 0 10px; }
}

@media (max-width: 400px) {
  .nav-list { grid-template-columns: 1fr; }
}
.ca-container {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.3);
  padding: 8px 20px;
  border-radius: 50px;
  margin-top: 15px; 
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: 4px 4px 0px rgba(0,0,0,0.15);
}

.ca-container:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 6px 6px 0px rgba(26,108,255,0.25);
}

.ca-container:active {
  transform: translateY(0);
  box-shadow: 2px 2px 0px rgba(26,108,255,0.25);
}

.ca-label {
  font-family: 'LuckiestGuy', cursive;
  color: #1a6cff;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.ca-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  color: #333;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.copy-icon {
  width: 18px;
  height: 18px;
  color: #111;
  transition: transform 0.2s ease;
}

.ca-container:hover .copy-icon {
  transform: scale(1.1);
}


.copy-tooltip {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff4466;
  color: white;
  font-family: 'LuckiestGuy', cursive;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, top 0.3s ease;
}

.copy-tooltip.show {
  opacity: 1;
  top: -45px;
}

@media (max-width: 600px) {
  .ca-container { padding: 6px 14px; }
  .ca-label { font-size: 1rem; }
  .ca-text { font-size: 0.75rem; }
}