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

:root {
  --bg: #ffffff;
  --bg-card: #f5f5f5;
  --text: #111111;
  --text-dim: #777777;
  --border: rgba(0, 0, 0, 0.08);
  --radius: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Baloo 2', cursive, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border: none;
  transform: translateY(-100%);
  animation: navSlide 0.6s ease forwards 0.3s;
}

@keyframes navSlide {
  to { transform: translateY(0); }
}

.nav-inner {
  width: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.8), 0 0 6px rgba(255, 255, 255, 0.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  transition: opacity 0.3s ease;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.8), 0 0 6px rgba(255, 255, 255, 0.5);
}

.nav-links a:hover {
  opacity: 0.65;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

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

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 4vh;
}

.hero-title {
  font-size: 12rem;
  font-weight: 800;
  color: #fff;
  text-shadow:
    0 0 40px rgba(0, 0, 0, 0.6),
    0 0 15px rgba(0, 0, 0, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 0.9s ease forwards 0.5s;
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.9s ease forwards 0.8s;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  text-decoration: none;
  color: #000;
  background: #fff;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-btn-icon {
  width: 22px;
  height: 22px;
}

.hero-btn-text {
  width: auto;
  padding: 0 28px;
  font-family: 'Baloo 2', cursive;
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-ca {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 12px;
  font-family: 'Baloo 2', cursive;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 440px;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.9s ease forwards 1.1s;
}

.hero-ca:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-ca .ca-label {
  font-weight: 800;
}

.hero-ca .ca-copied {
  font-weight: 700;
}

.hero-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #fff);
  z-index: 3;
  pointer-events: none;
}

/* ============ MEET TOBY ============ */
.meet-section {
  background: transparent;
}

.meet-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: center;
}

.meet-video {
  border-radius: var(--radius);
  overflow: hidden;
}

.meet-video video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  border-radius: var(--radius);
}

.meet-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.meet-title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  text-shadow:
    0 0 30px rgba(255, 255, 255, 0.6),
    0 0 10px rgba(255, 255, 255, 0.3);
  margin-bottom: 28px;
  line-height: 1.1;
}

.meet-image {
  max-width: 300px;
  width: 100%;
  height: auto;
}

/* ============ SECTIONS VIDEO BG ============ */
.sections-wrapper {
  position: relative;
  overflow: hidden;
}

.sections-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.sections-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.05);
}

.sections-fade-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, transparent, #fff);
  z-index: 1;
  pointer-events: none;
}

.sections-wrapper .section {
  position: relative;
  z-index: 2;
}

.sections-wrapper .section .container {
  position: relative;
  z-index: 2;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 14px;
  font-family: 'Baloo 2', cursive;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-dark {
  background: #000;
  color: #fff;
}

.btn-dark:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn-light {
  background: #fff;
  color: #000;
  border: 1px solid var(--border);
}

.btn-light:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ============ SECTIONS ============ */
.section {
  padding: 120px 0;
}

.section h2 {
  font-size: 2.6rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
}

.section-sub {
  text-align: center;
  font-size: 1.05rem;
  margin-bottom: 56px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ CHART ============ */
.chart-section {
  background: transparent;
}

.chart-section h2 {
  color: #fff;
  text-shadow:
    0 0 30px rgba(255, 255, 255, 0.6),
    0 0 10px rgba(255, 255, 255, 0.3);
}

.chart-section .section-sub {
  color: var(--text);
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.5),
    0 0 6px rgba(255, 255, 255, 0.25);
}

.chart-embed {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 500px;
  backdrop-filter: blur(8px);
}

#dexscreener-embed {
  width: 100%;
  height: 100%;
}

/* ============ HOW TO BUY ============ */
.how-to-buy {
  background: transparent;
}

.how-to-buy h2 {
  color: #fff;
  text-shadow:
    0 0 30px rgba(255, 255, 255, 0.6),
    0 0 10px rgba(255, 255, 255, 0.3);
}

.how-to-buy .section-sub {
  color: #fff;
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.5),
    0 0 6px rgba(255, 255, 255, 0.25);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.step-card {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 32px 36px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease,
    border-color 0.5s ease;
}

.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.step-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.04), transparent 60%);
  pointer-events: none;
  transition: opacity 0.5s ease;
  opacity: 0;
}

.step-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.step-card:hover::before {
  opacity: 1;
}

.step-card:hover::after {
  opacity: 1;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.step-number {
  width: 48px;
  height: 48px;
  background: #fff;
  color: #000;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', cursive;
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.step-card h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.step-card p {
  font-family: 'Baloo 2', cursive;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
  line-height: 1.8;
  font-weight: 500;
}

/* ============ LISTINGS ============ */
.listings-section {
  background: transparent;
}

.listings-section h2 {
  color: #fff;
  text-shadow:
    0 0 30px rgba(255, 255, 255, 0.6),
    0 0 10px rgba(255, 255, 255, 0.3);
}

.listings-section .section-sub {
  color: rgba(255, 255, 255, 0.6);
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.3);
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.listing-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 40px 24px 32px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease,
    border-color 0.5s ease;
}

.listing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.listing-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.listing-card:hover::before {
  opacity: 1;
}

.listing-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
}

.listing-name {
  font-family: 'Baloo 2', cursive;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.listing-status {
  font-family: 'Baloo 2', cursive;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.listing-community-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #000;
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: 800;
}

/* ============ PENDING POPUP ============ */
.pending-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.pending-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.pending-popup {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 48px 40px 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.pending-overlay.active .pending-popup {
  transform: scale(1) translateY(0);
}

.pending-popup-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.pending-popup h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.pending-popup p {
  font-family: 'Baloo 2', cursive;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.pending-popup-btn {
  font-family: 'Baloo 2', cursive;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 36px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pending-popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

/* ============ FEES PAGE ============ */
.fees-page {
  min-height: 100vh;
  background: #0a0a0a;
  color: #fff;
  padding: 0;
}

.fees-hero {
  padding: 160px 0 80px;
  text-align: center;
}

.fees-hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.1;
}

.fees-hero-sub {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

.fees-breakdown {
  padding: 60px 0 120px;
}

.fee-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fee-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fee-item-left {
  position: sticky;
  top: 80px;
}

.fee-item-percent {
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.fee-item-label {
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.fee-item-body h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}

.fee-item-body p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  line-height: 2;
}

.fees-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 48px;
  transition: color 0.3s ease;
}

.fees-back:hover {
  color: #fff;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 8rem; }
  .hero-buttons { gap: 12px; }
  .hero-btn { width: 46px; height: 46px; }
  .hero-btn-text { padding: 0 22px; font-size: 0.88rem; }
  .meet-grid { grid-template-columns: 1fr; gap: 32px; }
  .meet-title { font-size: 2.4rem; }
  .fee-item { grid-template-columns: 1fr; gap: 20px; }
  .fee-item-left { position: static; display: flex; align-items: baseline; gap: 16px; }
  .fees-hero-title { font-size: 3rem; }
}

@media (max-width: 600px) {
  .section h2 { font-size: 2rem; }
  .listings-grid { grid-template-columns: 1fr; }
  .nav-inner { padding: 0 16px; }
  .nav-logo { font-size: 1.1rem; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.88rem; }
  .chart-embed { height: 400px; }
  .hero-title { font-size: 5rem; }
  .hero-btn { width: 44px; height: 44px; }
  .hero-btn-text { padding: 0 18px; font-size: 0.82rem; }
  .hero-ca { font-size: 0.68rem; max-width: 300px; }
  .meet-title { font-size: 2rem; }
  .meet-image { max-width: 220px; }
  .fees-hero { padding: 120px 0 40px; }
  .fees-hero-title { font-size: 2.4rem; }
  .fee-item-percent { font-size: 2.8rem; }
  .fee-item-body h3 { font-size: 1.3rem; }
}

/* ============ SCROLL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}
