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

:root {
  --accent: #ff6b35;
  --accent2: #ffd166;
  --accent3: #ef476f;
  --white: #ffffff;
  --dark: #1a1a1a;
  --text: #2d2d2d;
  --text-muted: #777777;
  --border: rgba(0, 0, 0, 0.08);
  --card-bg: #ffffff;
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04);
  --card-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.08), 0 16px 40px rgba(0, 0, 0, 0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lilita One', cursive, sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, p, a, span, li, button, input, label, div {
  font-family: 'Lilita One', cursive, sans-serif;
}

/* ========== SCREEN SYSTEM ========== */
.screen { display: none; min-height: 100vh; }
.screen.active { display: block; }

/* ========== INTRO SPLASH ========== */
.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.5s ease;
}

.intro-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.intro-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.intro-word {
  display: flex;
  align-items: center;
  user-select: none;
}

.intro-letter {
  font-size: 8rem;
  color: var(--accent);
  letter-spacing: 6px;
  display: inline-block;
  opacity: 0;
  transform: scale(0.5);
  animation: letter-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.intro-letter:nth-child(1) { animation-delay: 0.1s; }
.intro-letter:nth-child(2) { animation-delay: 0.2s; }
.intro-letter:nth-child(3) { animation-delay: 0.3s; }
.intro-letter:nth-child(4) { animation-delay: 0.4s; }
.intro-letter:nth-child(5) { animation-delay: 0.5s; }
.intro-letter:nth-child(6) { animation-delay: 0.6s; }
.intro-letter:nth-child(7) { animation-delay: 0.7s; }

@keyframes letter-in {
  to { opacity: 1; transform: scale(1); }
}

.intro-letter[data-letter="F"] {
  position: relative;
  overflow: visible;
}

.bite-chunk {
  position: absolute;
  top: 8px;
  right: -10px;
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
  z-index: 2;
}

.bite-chunk::before,
.bite-chunk::after {
  content: '';
  position: absolute;
  background: white;
  border-radius: 50%;
}

.bite-chunk::before {
  width: 12px;
  height: 12px;
  top: -5px;
  left: 6px;
}

.bite-chunk::after {
  width: 10px;
  height: 10px;
  bottom: -3px;
  right: 4px;
}

.bite-chunk.chomp {
  animation: bite-chomp 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes bite-chomp {
  0% { opacity: 0; transform: scale(0) rotate(-20deg); }
  60% { opacity: 1; transform: scale(1.15) rotate(3deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes intro-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px) rotate(-1deg); }
  40% { transform: translateX(5px) rotate(1deg); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}

.intro-word.shake {
  animation: intro-shake 0.4s ease;
}

.intro-letter.eaten {
  animation: letter-eaten 0.3s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}

@keyframes letter-eaten {
  0% { transform: scale(1); opacity: 1; }
  30% { transform: scale(1.15) rotate(3deg); opacity: 1; }
  100% { transform: scale(0) rotate(-15deg); opacity: 0; }
}

.intro-enter-btn {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.9rem 3rem;
  font-size: 1.1rem;
  font-family: 'Lilita One', cursive;
  letter-spacing: 4px;
  border-radius: 50px;
  cursor: pointer;
}

.intro-enter-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

.intro-enter-btn:hover {
  background: #e85a28;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
}

@media (max-width: 768px) {
  .intro-letter { font-size: 4.5rem; }
  .bite-chunk { width: 32px; height: 32px; top: 6px; right: -8px; }
  .bite-chunk::before { width: 9px; height: 9px; }
  .bite-chunk::after { width: 7px; height: 7px; }
}

@media (max-width: 480px) {
  .intro-letter { font-size: 3rem; }
  .bite-chunk { width: 22px; height: 22px; top: 4px; right: -5px; }
  .bite-chunk::before { width: 6px; height: 6px; }
  .bite-chunk::after { width: 5px; height: 5px; }
}

/* ========== BUTTONS ========== */
.btn-fat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.2rem;
  font-size: 1rem;
  font-family: 'Lilita One', cursive;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  letter-spacing: 1px;
}

.btn-fat:hover {
  transform: translateY(-2px);
  background: #e85a28;
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.25);
}

.btn-buy {
  background: #1a1a1a;
}

.btn-buy:hover {
  background: #333;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1a1a1a;
  color: white;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-icon:hover {
  transform: translateY(-2px);
  background: #333;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ========== NAVBAR ========== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 3rem;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: none;
}

.nav-logo {
  font-size: 1.5rem;
  color: var(--accent);
  letter-spacing: 3px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  letter-spacing: 1px;
  cursor: pointer;
}
.nav-links a:hover { color: white; }

.nav-chart-btn {
  background: var(--accent);
  color: white !important;
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem !important;
  letter-spacing: 2px !important;
}

.nav-chart-btn:hover {
  background: #e85a28;
  color: white !important;
}

/* ========== HERO ========== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  background: #000;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-title {
  font-size: 5.5rem;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: 8px;
  text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.4);
}

.hero-tagline {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.2rem;
  letter-spacing: 2px;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-ca {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ca-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 2px;
}

.ca-value {
  font-size: 0.85rem;
  color: white;
  letter-spacing: 1px;
  user-select: all;
}

.ca-copy {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.ca-copy:hover {
  color: var(--accent);
}

/* ========== MODAL SYSTEM ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.15);
}

.modal-wide {
  max-width: 1000px;
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  font-family: 'Lilita One', cursive;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}

.modal-title {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
  letter-spacing: 2px;
}

.modal-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* ========== ABOUT (inside modal) ========== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.about-card {
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.card-number {
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.08;
  position: absolute;
  top: 10px;
  right: 16px;
  line-height: 1;
}

.about-card h3 {
  font-size: 1.15rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 1;
}

.about-card p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

/* ========== MENU (inside modal) ========== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
}

.menu-item {
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.menu-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.menu-icon {
  font-size: 2.8rem;
  margin-bottom: 0.8rem;
  line-height: 1;
}

.menu-item h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.menu-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.menu-price {
  display: inline-block;
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: 1px;
}

/* ========== ROADMAP (inside modal) ========== */
.roadmap-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
}

.roadmap-item {
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.roadmap-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.roadmap-num {
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.roadmap-phase {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 0.8rem;
  letter-spacing: 1px;
}

.roadmap-item ul {
  list-style: none;
  padding: 0;
}

.roadmap-item li {
  color: var(--text-muted);
  padding: 0.35rem 0;
  padding-left: 1rem;
  position: relative;
  font-size: 0.85rem;
}

.roadmap-item li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hero-title { font-size: 3.5rem; }
  .navbar { padding: 1rem 1.5rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.8rem; }
  .modal { padding: 2rem 1.5rem; }
  .modal-title { font-size: 1.8rem; }
  .tokenomics-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.5rem; }
  .nav-links { display: none; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .modal { padding: 1.5rem 1rem; border-radius: 16px; }
  .modal-title { font-size: 1.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .tokenomics-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap-timeline { grid-template-columns: 1fr; }
}

/* ========== ENTRANCE ANIMATION ========== */
.main-fade-in { animation: fadeIn 0.6s ease forwards; }

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