:root {
  --bg: #050616;
  --bg-alt: #090a1f;
  --card: rgba(15, 16, 40, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --accent: #7b5cff;
  --accent-2: #14f9ff;
  --text-main: #ffffff;
  --text-muted: #a2a6c5;
  --danger: #ff4d8b;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.6);
  --blur: 20px;
  --cartoon-font: "Comic Sans MS", "Comic Sans", "Fredoka", "Baloo 2", cursive, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: radial-gradient(circle at top, #261b5f 0, #050616 50%, #02030a 100%);
  color: var(--text-main);
}

body {
  min-height: 100vh;
}

.logo-img {
  height: 34px;
  width: auto;
  border-radius: 999px;
}

/* Floating emojis background */
.floating-emoji {
  position: fixed;
  font-size: 2.4rem;
  opacity: 0.08;
  pointer-events: none;
  animation: float 12s ease-in-out infinite;
  z-index: 0;
}

.emoji-1 { top: 10%; left: 6%; animation-delay: 0s; }
.emoji-2 { top: 24%; right: 8%; animation-delay: 2s; }
.emoji-3 { bottom: 16%; left: 12%; animation-delay: 4s; }
.emoji-4 { bottom: 8%; right: 14%; animation-delay: 6s; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-18px) translateX(6px); }
}

/* NAVBAR */

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 8vw;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(5, 6, 22, 0.95), rgba(5, 6, 22, 0.75));
  border-bottom: 1px solid var(--border-subtle);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
  font-family: var(--cartoon-font);
  -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.7);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6), -1px 1px 0 rgba(0, 0, 0, 0.6), 1px -1px 0 rgba(0, 0, 0, 0.6), -1px -1px 0 rgba(0, 0, 0, 0.6);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
}

.nav-right a {
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
}

.nav-right a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.2s ease;
}

.nav-right a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(123, 92, 255, 0.4);
  background: radial-gradient(circle at top left, rgba(123, 92, 255, 0.24), rgba(6, 7, 30, 0.9));
  color: #fff !important;
}

/* HERO */

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  padding: 60px 8vw 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 3.4vw, 3.8rem);
  line-height: 1.1;
  margin: 0 0 16px;
  font-family: var(--cartoon-font);
  font-weight: 900;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.6);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5), -2px 2px 0 rgba(0, 0, 0, 0.5), 2px -2px 0 rgba(0, 0, 0, 0.5), -2px -2px 0 rgba(0, 0, 0, 0.5);
}

.hero-highlight {
  background: none;
  color: var(--accent-2);
  text-shadow: 0 0 10px rgba(20, 249, 255, 0.6), 2px 2px 0 rgba(0, 0, 0, 0.5), -2px 2px 0 rgba(0, 0, 0, 0.5), 2px -2px 0 rgba(0, 0, 0, 0.5), -2px -2px 0 rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  margin: 0 0 22px;
  color: var(--text-muted);
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn.primary {
  background: radial-gradient(circle at top left, var(--accent), var(--accent-2));
  box-shadow: 0 0 24px rgba(20, 249, 255, 0.4);
  color: #050616;
  font-weight: 600;
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(20, 249, 255, 0.6);
}

.btn.secondary {
  border-color: rgba(123, 92, 255, 0.5);
  background: rgba(7, 8, 33, 0.9);
  color: #fff;
}

.btn.secondary:hover {
  border-color: var(--accent-2);
  background: rgba(11, 13, 50, 0.95);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-tags span {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 16, 40, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.hero-info {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 0.8rem;
  margin-top: 4px;
}

.hero-info .label {
  display: block;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
}

.hero-info .value {
  font-weight: 600;
}

/* HERO CARD */

.hero-card {
  display: flex;
  justify-content: center;
}

.panda-card {
  position: relative;
  padding: 24px 20px 20px;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top, #211c4e, #050616);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.07);
  width: 100%;
  max-width: 320px;
  text-align: center;
  overflow: hidden;
}

.panda-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 180deg, rgba(123, 92, 255, 0.28), transparent, rgba(20, 249, 255, 0.18), transparent);
  opacity: 0.45;
  filter: blur(28px);
  z-index: -1;
}

.panda-logo-hero {
  width: 150px;
  height: auto;
  margin-bottom: 10px;
}

.panda-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 8px 0 0;
}

.contract-box {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-xl);
  background: rgba(7, 8, 33, 0.9);
  border: 2px solid var(--danger);
}

.contract-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contract-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contract-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.9rem;
  background: rgba(15, 16, 40, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 8px 10px;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  flex-shrink: 0;
  padding: 8px 14px;
}

/* SECTIONS */

.section {
  padding: 40px 8vw;
  position: relative;
  z-index: 1;
}

.section-alt {
  background: rgba(5, 6, 22, 0.9);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  font-family: var(--cartoon-font);
  font-weight: 800;
  -webkit-text-stroke: 0.8px rgba(0, 0, 0, 0.6);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.section-text {
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 24px;
}

/* CARDS GRID */

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

.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-family: var(--cartoon-font);
  font-weight: 800;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* TOKENOMICS */

.tokenomics-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.tokenomics-box {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 18px 18px 10px;
  border: 1px solid var(--border-subtle);
}

.tokenomics-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 8px 0;
  font-size: 0.9rem;
}

.tokenomics-row:last-child {
  border-bottom: none;
}

.tokenomics-row span:first-child {
  color: var(--text-muted);
}

.tokenomics-pie {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tokenomics-pie .slice {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.slice-1 {
  background: linear-gradient(90deg, var(--accent), rgba(123, 92, 255, 0.3));
}
.slice-2 {
  background: linear-gradient(90deg, var(--accent-2), rgba(20, 249, 255, 0.2));
}
.slice-3 {
  background: linear-gradient(90deg, #ff9ad4, rgba(255, 154, 212, 0.15));
}

/* HOW TO BUY */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.steps li {
  display: flex;
  gap: 12px;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 14px 14px;
  border: 1px solid var(--border-subtle);
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: radial-gradient(circle at top, var(--accent), var(--accent-2));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #050616;
  flex-shrink: 0;
}

.step-content h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
  font-family: var(--cartoon-font);
  font-weight: 800;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}

.step-content p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

/* ROADMAP TIMELINE */

.timeline {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.timeline-item {
  position: relative;
  padding: 12px 14px 12px 26px;
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 8px rgba(20, 249, 255, 0.8);
}

.timeline-item h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-family: var(--cartoon-font);
  font-weight: 800;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}

/* COMMUNITY & FAQ */

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.social-pill {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid rgba(123, 92, 255, 0.6);
  text-decoration: none;
  color: #fff;
  background: rgba(7, 8, 33, 0.9);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.social-pill:hover {
  border-color: var(--accent-2);
  transform: translateY(-1px);
}

.faq {
  max-width: 640px;
  display: grid;
  gap: 8px;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: inherit;
  text-align: left;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.9rem;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--accent-2);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 14px;
  transition: max-height 0.24s ease, padding-bottom 0.24s ease;
}

.faq-answer p {
  margin: 8px 0 10px;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 10px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* FOOTER */

.footer {
  padding: 16px 8vw 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  background: rgba(5, 6, 22, 0.96);
}

.footer-note {
  margin-top: 4px;
  color: #ff9ad4;
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 34px;
  }

  .hero-card {
    order: -1;
  }

  .navbar {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .nav-right {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .tokenomics-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }
}
