/* --- Variables --- */
:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --outline: #1a1a1a;
  --accent: #f5a623;
  --card-bg: #ffffff;
  --card-border: #1a1a1a;
  --link: #2563eb;
  --font-bubble: "Bubblegum Sans", cursive;
}

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

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-bubble);
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

main {
  margin: 0;
  padding: 0;
}

/* All text on the site uses bubble font */
body,
body * {
  font-family: var(--font-bubble);
}

/* --- Background video (hero only) --- */
.bg-video-wrap {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  min-width: 100vw;
  height: 100%;
  min-height: 100%;
  z-index: -1;
  overflow: hidden;
}

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

.bg-video-cover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Header --- */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(26, 26, 26, 0.2);
  background: transparent !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  font-weight: 400;
  -webkit-text-stroke: 2px #1a1a1a;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-family: var(--font-bubble);
  font-size: 1.1rem;
  -webkit-text-stroke: 1px #1a1a1a;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.nav a:hover {
  color: #ffffff;
  opacity: 0.9;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  font-family: var(--font-bubble);
  font-size: 1rem;
  border: 3px solid var(--outline);
  border-radius: 12px;
  background: var(--card-bg);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--outline);
}

.btn-header {
  background: var(--bg);
}

/* Hero - fills entire viewport when at top (extra height compensates for pull-up) */
.hero {
  position: relative;
  min-height: calc(100vh + 80px);
  width: 100vw;
  max-width: 100vw;
  margin-top: -80px;
  margin-left: calc(50% - 50vw);
  padding: 80px 2rem 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-title {
  font-family: var(--font-bubble);
  font-size: clamp(3.5rem, 12vw, 8rem);
  font-weight: 400;
  margin: 0;
  -webkit-text-stroke: 4px #1a1a1a;
  color: #ffffff;
  line-height: 1;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
  font-family: var(--font-bubble);
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: #ffffff;
  -webkit-text-stroke: 1.5px #1a1a1a;
  margin: 1rem 0 2rem;
  max-width: 420px;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

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

.hero-ca {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.hero-ca-label {
  font-family: var(--font-bubble);
  font-size: 1.25rem;
  font-weight: 400;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-ca-address {
  font-family: var(--font-bubble);
  font-size: 1.1rem;
  color: #ffffff !important;
  background: none;
  border: none;
  padding: 0.35rem 0.5rem;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  border-radius: 4px;
  transition: opacity 0.2s ease;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-ca-address:hover {
  opacity: 0.9;
}

.hero-ca-address.copied {
  color: #86efac;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.9), 0 2px 6px rgba(0, 0, 0, 1);
}

.btn-x {
  width: 52px;
  height: 52px;
  padding: 0;
  background: var(--outline);
  color: var(--bg);
  border: 3px solid var(--outline);
}

.btn-x .x-logo {
  width: 24px;
  height: 24px;
}

.btn-x:hover {
  background: #333;
  color: #fff;
}

.btn-tiktok {
  width: 52px;
  height: 52px;
  padding: 0;
  background: var(--outline);
  color: var(--bg);
  border: 3px solid var(--outline);
}

.btn-tiktok .tiktok-logo {
  width: 24px;
  height: 24px;
}

.btn-tiktok:hover {
  background: #333;
  color: #fff;
}

.btn-buy {
  background: #e8e0f5;
  border-color: var(--outline);
}

.btn-how {
  background: var(--bg);
  border-color: var(--outline);
}

.hero-decoration {
  position: absolute;
  left: 1.5rem;
  bottom: 20%;
  pointer-events: none;
}

.hero-vertical-text {
  font-family: var(--font-bubble);
  font-size: 1.2rem;
  color: var(--accent);
  -webkit-text-stroke: 2px var(--outline);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.2em;
}

/* Sections */
.section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-bubble);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  text-align: center;
  margin: 0 0 2rem;
  -webkit-text-stroke: 2px var(--outline);
  color: var(--text);
}

.section-text {
  font-family: var(--font-bubble);
  font-size: 1.15rem;
  line-height: 1.6;
  text-align: center;
  -webkit-text-stroke: 1px var(--outline);
  color: var(--text);
}

/* About */
.section-about {
  background: #ffffff;
  max-width: none;
}

.section-about .section-title,
.section-about .section-text {
  font-family: var(--font-bubble);
}

.section-intro {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

.about-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .about-blocks {
    grid-template-columns: 1fr;
  }
}

.about-block {
  background: #fff;
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  box-shadow: 6px 6px 0 #1a1a1a;
  aspect-ratio: 16 / 10;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.about-block-title {
  font-family: var(--font-bubble);
  font-size: 1.35rem;
  font-weight: 400;
  color: #1a1a1a;
  -webkit-text-stroke: 1.5px #1a1a1a;
  margin: 0 0 0.75rem;
}

.about-block-text {
  font-family: var(--font-bubble);
  font-size: 1rem;
  line-height: 1.6;
  color: #1a1a1a;
  -webkit-text-stroke: 0.5px #1a1a1a;
  margin: 0;
}

.about-quote {
  font-family: var(--font-bubble);
  font-size: 0.95rem;
  font-style: italic;
  color: #1a1a1a;
  -webkit-text-stroke: 0.5px #1a1a1a;
  margin: 1rem 0 0;
  padding-left: 1rem;
  border-left: 4px solid #1a1a1a;
}

/* Tokenomics */
.section-tokenomics {
  background: #ffffff;
  padding: 4rem 2rem;
  max-width: none;
  font-family: var(--font-bubble);
}

.section-tokenomics,
.section-tokenomics * {
  font-family: var(--font-bubble);
}

.tokenomics-title {
  font-family: var(--font-bubble);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 400;
  color: #1a1a1a;
  -webkit-text-stroke: 3px #1a1a1a;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.15);
  margin-bottom: 2.5rem;
}

.token-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  justify-content: center;
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

@media (max-width: 480px) {
  .token-grid {
    grid-template-columns: 1fr;
  }
}

.token-card {
  background: #fff;
  border: none;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 6px 6px 0 #1a1a1a;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.token-card:hover {
  transform: translateY(-3px);
  box-shadow: 8px 8px 0 #1a1a1a;
}

.token-value {
  display: block;
  font-family: var(--font-bubble);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  -webkit-text-stroke: 2px #1a1a1a;
  text-shadow: 3px 3px 0 #1a1a1a;
  margin-bottom: 0.5rem;
}

.token-value-supply {
  color: #e11d1d;
}

.token-value-burnt {
  color: #eab308;
}

.token-label {
  display: block;
  font-family: var(--font-bubble);
  font-size: 0.95rem;
  color: #1a1a1a;
  -webkit-text-stroke: 0.5px #1a1a1a;
}

.token-contract-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  box-shadow: 6px 6px 0 #1a1a1a;
}

.token-contract-address {
  font-family: var(--font-bubble);
  font-size: 0.85rem;
  color: #1a1a1a;
  -webkit-text-stroke: 0.5px #1a1a1a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.token-copy-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eab308;
  border: 2px solid #1a1a1a;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 3px 3px 0 #1a1a1a;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.token-copy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 #1a1a1a;
}

.copy-icon {
  width: 20px;
  height: 20px;
}

/* How to Buy */
.section-how {
  background: #ffffff;
  padding: 4rem 2rem;
  border-top: 4px solid #1a1a1a;
  border-bottom: 4px solid #1a1a1a;
  max-width: none;
  font-family: var(--font-bubble);
}

.section-how,
.section-how * {
  font-family: var(--font-bubble);
}

.how-title {
  font-family: var(--font-bubble);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 400;
  color: #1a1a1a;
  -webkit-text-stroke: 3px #1a1a1a;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.15);
  margin-bottom: 3rem;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .how-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.how-card {
  position: relative;
  background: #fff;
  border: 3px solid #1a1a1a;
  border-radius: 24px;
  padding: 2rem 2rem 2rem 2.5rem;
  text-align: left;
  box-shadow: 8px 8px 0 #1a1a1a;
  opacity: 0;
  transform: translateY(24px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease,
              opacity 0.4s ease;
}

.how-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.how-card:nth-child(1) { transition-delay: 0.05s; }
.how-card:nth-child(2) { transition-delay: 0.15s; }
.how-card:nth-child(3) { transition-delay: 0.25s; }
.how-card:nth-child(4) { transition-delay: 0.35s; }

.how-card:hover {
  transform: translateY(-6px);
  box-shadow: 10px 10px 0 #1a1a1a;
}

.card-dots {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: flex;
  gap: 8px;
}

.card-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #1a1a1a;
}

.card-dots span:nth-child(1) { background: #ef4444; }
.card-dots span:nth-child(2) { background: #f97316; }
.card-dots span:nth-child(3) { background: #22c55e; }

.how-card-title {
  font-family: var(--font-bubble);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0 0 1rem;
  padding-top: 0.25rem;
  padding-left: 0;
  -webkit-text-stroke: 2px #1a1a1a;
  color: var(--text);
  line-height: 1.3;
}

.how-card-text {
  font-family: var(--font-bubble);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  -webkit-text-stroke: 0.5px var(--outline);
  color: var(--text);
}

.how-card-text a {
  color: var(--link);
  -webkit-text-stroke: 0;
  text-decoration: underline;
}

.how-card-text a:hover {
  text-decoration: none;
}

