/* ===== FONTS ===== */
@font-face {
  font-family: 'Animated';
  src: url('assets/Animated.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');

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

:root {
  --cream: #fffbe6;
  --ink: #0a0606;
  --yellow: #ffd230;
  --red: #e63946;
  --blue: #2b7fff;
  --green: #2bd35a;
  --dark-card: #1a1412;
  --beanie-blue: #3366cc;
  --glow-blue: #4488ff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Mono', monospace;
  background: var(--ink);
  color: var(--cream);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== RPG TEXT STYLES ===== */
.rpg-text {
  font-family: 'Animated', 'Press Start 2P', monospace;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.02em;
}

.rpg-text.red {
  color: var(--red);
  text-shadow:
    3px 3px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    0 4px 0 #7a1018,
    0 5px 10px rgba(0,0,0,0.5);
}

.rpg-text.yellow {
  color: var(--yellow);
  text-shadow:
    3px 3px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    0 4px 0 #8a6d00,
    0 5px 10px rgba(0,0,0,0.5);
}

.rpg-text.blue {
  color: var(--glow-blue);
  text-shadow:
    3px 3px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    0 4px 0 #1a3d7a,
    0 5px 10px rgba(0,0,0,0.5);
}

/* ===== RPG PILL BUTTONS ===== */
.rpg-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Animated', 'Press Start 2P', monospace;
  font-size: 1rem;
  text-transform: uppercase;
  text-decoration: none;
  border: 3px solid #000;
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 4px 0 #000;
  position: relative;
  white-space: nowrap;
}

.rpg-pill:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #000;
}

.rpg-pill:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 #000;
}

.rpg-pill.rpg-yellow {
  background: var(--yellow);
  color: #000;
}

.rpg-pill.rpg-green {
  background: var(--green);
  color: #000;
}

.rpg-pill.rpg-blue {
  background: var(--blue);
  color: #fff;
}

.rpg-pill.rpg-red {
  background: var(--red);
  color: #fff;
}

/* Nav link size override */
.rpg-pill.nav-link {
  font-size: 1.3rem;
  padding: 0.7rem 1.8rem;
  border-width: 3px;
  box-shadow: 0 5px 0 #000;
  letter-spacing: 0.05em;
}

@media (min-width: 640px) {
  .rpg-pill.nav-link {
    font-size: 1.6rem;
    padding: 0.85rem 2.2rem;
  }
}

/* ===== HEADER / NAV ===== */
header {
  position: absolute;
  top: 1.25rem;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  nav { gap: 0.75rem; }
}

/* MC PILL (Market Cap Live indicator) */
.mc-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Animated', 'Press Start 2P', monospace;
  font-size: 1.1rem;
  background: rgba(0,0,0,0.7);
  border: 2px solid var(--yellow);
  border-radius: 9999px;
  padding: 0.55rem 1.4rem;
  color: var(--cream);
  text-decoration: none;
  backdrop-filter: blur(8px);
}

@media (min-width: 640px) {
  .mc-pill {
    font-size: 1.3rem;
    padding: 0.65rem 1.8rem;
  }
}

.mc-pill .live {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-live 1.5s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ===== HERO / HOME SECTION ===== */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11rem 1rem 3rem;
  overflow: hidden;
}

/* Fire background effect */
.fire-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(230, 57, 70, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 80%, rgba(255, 140, 0, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 90%, rgba(255, 69, 0, 0.15) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Animated fire particles */
.fire-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(to top, rgba(255, 100, 0, 0.08), transparent);
  pointer-events: none;
  z-index: 0;
  animation: fire-flicker 3s ease-in-out infinite alternate;
}

@keyframes fire-flicker {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}

.hero-grid {
  position: relative;
  width: 100%;
  max-width: 72rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* Hero Image */
.hero-image-container {
  position: relative;
  z-index: 0;
  display: flex;
  justify-content: center;
  order: 1;
}

@media (min-width: 1024px) {
  .hero-image-container {
    justify-content: flex-end;
    order: 2;
  }
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(51, 102, 204, 0.4);
  filter: blur(48px);
  transform: scale(0.9);
}

.hero-image {
  position: relative;
  width: 70%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 1.75rem;
  border: 4px solid #000;
  box-shadow: 0 10px 0 #000;
  display: block;
}

@media (min-width: 640px) {
  .hero-image {
    width: 60%;
    border-radius: 2rem;
    border-width: 5px;
    box-shadow: 0 14px 0 #000;
  }
}

@media (min-width: 1024px) {
  .hero-image {
    width: 88%;
    max-width: 480px;
  }
}

/* Hero Text */
.hero-text {
  position: relative;
  z-index: 10;
  text-align: center;
  order: 2;
}

@media (min-width: 1024px) {
  .hero-text {
    text-align: left;
    order: 1;
  }
}

.hero-title {
  font-size: clamp(2.5rem, 12vw, 7rem);
  line-height: 0.95;
}

@media (min-width: 768px) {
  .hero-title { font-size: 6rem; }
}

.hero-ticker {
  margin-top: 0.5rem;
  font-size: clamp(1.75rem, 7vw, 3rem);
}

@media (min-width: 640px) {
  .hero-ticker { font-size: 3rem; }
}

/* Description box */
.desc-box {
  margin-top: 1.25rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  background: var(--beanie-blue);
  border: 3px solid #000;
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  box-shadow: 0 5px 0 #000;
}

@media (min-width: 1024px) {
  .desc-box {
    margin-left: 0;
    margin-right: 0;
  }
}

.desc-box p {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: #fff;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .desc-box { margin-top: 1.5rem; }
  .desc-box p { font-size: 0.875rem; }
}

/* Contract Address card */
.ca-card {
  background: var(--cream);
  border: 3px solid #000;
  border-radius: 1rem;
  box-shadow: 0 5px 0 #000;
  max-width: 28rem;
  margin: 1.25rem auto 0;
}

@media (min-width: 1024px) {
  .ca-card { margin-left: 0; margin-right: 0; }
}

.ca-card .label {
  font-family: 'Animated', 'Press Start 2P', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(0,0,0,0.6);
}

@media (min-width: 640px) {
  .ca-card .label { font-size: 0.75rem; }
}

.ca-card .ca-row {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ca-card code {
  flex: 1;
  min-width: 0;
  font-family: 'Space Mono', monospace;
  font-size: 0.625rem;
  word-break: break-all;
  color: rgba(0,0,0,0.9);
}

@media (min-width: 640px) {
  .ca-card code { font-size: 0.75rem; }
}

.copy-btn {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--red);
  border: 3px solid #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 0 #000;
  cursor: pointer;
  transition: all 0.15s ease;
}

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

.copy-btn svg {
  width: 1rem;
  height: 1rem;
}

/* Hero CTA buttons */
.hero-ctas {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-ctas { margin-top: 1.5rem; }
}

@media (min-width: 1024px) {
  .hero-ctas { justify-content: flex-start; }
}

.hero-ctas .rpg-pill {
  font-size: 1rem;
  padding: 0.625rem 1.25rem;
}

@media (min-width: 640px) {
  .hero-ctas .rpg-pill {
    font-size: 1.125rem;
    padding: 0.75rem 1.75rem;
  }
}

/* Social buttons */
.social-btns {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (min-width: 640px) {
  .social-btns { margin-top: 1.5rem; }
}

@media (min-width: 1024px) {
  .social-btns { justify-content: flex-start; }
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--cream);
  text-decoration: none;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.social-btn:hover {
  background: var(--yellow);
  color: #000;
  border-color: #000;
  transform: translateY(-2px);
}

.social-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Help button */
.help-btn {
  display: none;
  position: absolute;
  right: 1rem;
  top: 8rem;
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
  padding: 0;
}

@media (min-width: 640px) {
  .help-btn {
    display: flex;
    right: 2rem;
  }
}

/* ===== MARQUEE TICKER ===== */
.marquee-wrapper {
  background: #000;
  padding: 0.75rem 0;
  border-top: 3px solid #000;
  border-bottom: 3px solid #000;
  overflow: hidden;
}

@media (min-width: 640px) {
  .marquee-wrapper { padding: 1rem 0; }
}

.marquee-track {
  display: flex;
  animation: marquee 25s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-track span {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.5rem;
  font-family: 'Animated', 'Press Start 2P', monospace;
  font-size: 1.75rem;
  color: var(--yellow);
  white-space: nowrap;
}

@media (min-width: 640px) {
  .marquee-track span {
    gap: 2rem;
    padding: 0 2rem;
    font-size: 2.5rem;
  }
}

.marquee-track .dot {
  color: #fff;
}

/* ===== SECTIONS COMMON ===== */
section {
  position: relative;
  padding: 3.5rem 1rem;
  background: var(--ink);
}

@media (min-width: 640px) {
  section { padding: 5rem 1rem; }
}

.section-container {
  max-width: 72rem;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: clamp(2.25rem, 9vw, 4.5rem);
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 4.5rem;
    margin-bottom: 2.5rem;
  }
}

.section-subtitle {
  text-align: center;
  color: rgba(255, 251, 230, 0.7);
  margin-top: -1rem;
  margin-bottom: 1.5rem;
  font-family: 'Animated', 'Press Start 2P', monospace;
  letter-spacing: 0.15em;
  font-size: 0.65rem;
}

@media (min-width: 640px) {
  .section-subtitle {
    margin-top: -1.5rem;
    margin-bottom: 2rem;
    font-size: 0.75rem;
  }
}

/* ===== DARK CARD ===== */
.dark-card {
  background: var(--dark-card);
  border: 3px solid rgba(255, 251, 230, 0.15);
  border-radius: 1.25rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

/* ===== MEME GALLERY ===== */
.meme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .meme-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .meme-grid { grid-template-columns: repeat(4, 1fr); }
}

.meme-card {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 3px solid #000;
  box-shadow: 0 4px 0 #000;
  background: var(--cream);
  transition: transform 0.2s ease;
}

@media (min-width: 640px) {
  .meme-card {
    border-radius: 1rem;
    box-shadow: 0 6px 0 #000;
  }
}

.meme-card:hover {
  transform: translateY(-4px);
}

.meme-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== CHART SECTION ===== */
.chart-frame {
  width: 100%;
  height: 400px;
  border-radius: 0.75rem;
  border: 2px solid #000;
  background: #000;
}

@media (min-width: 640px) {
  .chart-frame { height: 520px; }
}

@media (min-width: 1024px) {
  .chart-frame { height: 600px; }
}

.chart-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ===== SWAP SECTION ===== */
.swap-card {
  max-width: 36rem;
  margin: 0 auto;
  padding: 1.25rem;
  text-align: center;
}

@media (min-width: 640px) {
  .swap-card { padding: 2rem; }
}

.swap-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: 'Press Start 2P', monospace;
  font-size: 1.75rem;
  color: var(--cream);
}

@media (min-width: 640px) {
  .swap-pair {
    gap: 1rem;
    font-size: 2.25rem;
  }
}

.swap-pair .arrow {
  color: var(--yellow);
}

.swap-pair .token {
  color: var(--yellow);
}

.swap-desc {
  margin-top: 1rem;
  color: rgba(255, 251, 230, 0.7);
  font-size: 0.875rem;
}

.swap-buttons {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.swap-buttons .rpg-pill {
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
}

/* Swap CA card */
.swap-ca {
  margin-top: 1.5rem;
  background: var(--cream);
  border: 3px solid #000;
  border-radius: 0.75rem;
  padding: 0.75rem;
  text-align: left;
}

.swap-ca .label {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(0,0,0,0.7);
}

.swap-ca .ca-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.swap-ca code {
  flex: 1;
  font-family: 'Space Mono', monospace;
  font-size: 0.625rem;
  word-break: break-all;
  color: rgba(0,0,0,0.9);
}

@media (min-width: 640px) {
  .swap-ca code { font-size: 0.75rem; }
}

.swap-ca .copy-btn {
  width: 2.25rem;
  height: 2.25rem;
}

/* ===== PFP GENERATOR ===== */
.pfp-desc {
  text-align: center;
  color: rgba(255, 251, 230, 0.7);
  margin-top: -1.5rem;
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.pfp-desc strong {
  color: var(--yellow);
}

.pfp-wrapper {
  max-width: 36rem;
  margin: 0 auto;
}

.pfp-card {
  background: var(--cream);
  border: 4px solid #000;
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 8px 0 #000;
}

.pfp-canvas {
  aspect-ratio: 1;
  width: 100%;
  border-radius: 0.375rem;
  border: 2px solid var(--ink);
  overflow: hidden;
  background: #f5f0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pfp-placeholder {
  text-align: center;
  padding: 2rem;
}

.pfp-placeholder img {
  width: 8rem;
  height: 8rem;
  margin: 0 auto;
  border-radius: 0.375rem;
  opacity: 0.6;
}

.pfp-placeholder .title {
  margin-top: 1rem;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.85rem;
  color: var(--ink);
}

.pfp-placeholder .subtitle {
  font-size: 0.875rem;
  color: rgba(10, 6, 6, 0.6);
  margin-top: 0.5rem;
}

.pfp-generate-btn {
  margin-top: 1.25rem;
  width: 100%;
  font-size: 1.125rem;
  padding: 1rem;
}

/* ===== HOW TO BUY ===== */
.how-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .how-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .how-grid { grid-template-columns: repeat(4, 1fr); }
}

.how-card {
  padding: 1.5rem;
}

.how-card .number {
  font-family: 'Press Start 2P', monospace;
  font-size: 2.75rem;
  color: var(--yellow);
}

.how-card .card-title {
  margin-top: 0.75rem;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.85rem;
  color: var(--cream);
}

.how-card .card-desc {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 251, 230, 0.7);
  line-height: 1.6;
}

/* ===== TOKENOMICS ===== */
.tokenomics-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .tokenomics-grid { grid-template-columns: repeat(3, 1fr); }
}

.token-card {
  padding: 1.5rem;
  text-align: center;
}

.token-card .token-value {
  font-family: 'Press Start 2P', monospace;
  font-size: 1.75rem;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}

.token-card .token-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.65rem;
  color: var(--cream);
  letter-spacing: 0.1em;
}

.token-card .token-desc {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 251, 230, 0.6);
}

/* ===== FOOTER ===== */
footer {
  position: relative;
  padding: 3rem 1rem;
  background: #000;
  color: var(--cream);
  border-top: 3px solid #000;
}

.footer-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.footer-content h3 {
  font-size: 1.75rem;
}

.footer-content .disclaimer {
  color: rgba(255, 251, 230, 0.7);
  font-size: 0.875rem;
  max-width: 36rem;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-content .copyright {
  font-size: 0.75rem;
  color: rgba(255, 251, 230, 0.45);
}

/* ===== FLOATING PARTICLES (decorative) ===== */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0;
  animation: float-particle 6s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 5s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; animation-duration: 7s; }
.particle:nth-child(3) { left: 35%; animation-delay: 2s; animation-duration: 6s; }
.particle:nth-child(4) { left: 50%; animation-delay: 0.5s; animation-duration: 8s; }
.particle:nth-child(5) { left: 65%; animation-delay: 1.5s; animation-duration: 5.5s; }
.particle:nth-child(6) { left: 75%; animation-delay: 3s; animation-duration: 7.5s; }
.particle:nth-child(7) { left: 85%; animation-delay: 0.8s; animation-duration: 6.5s; }
.particle:nth-child(8) { left: 95%; animation-delay: 2.5s; animation-duration: 5s; }

@keyframes float-particle {
  0% {
    bottom: -10px;
    opacity: 0;
    transform: translateX(0);
  }
  20% {
    opacity: 0.8;
  }
  80% {
    opacity: 0.3;
  }
  100% {
    bottom: 100%;
    opacity: 0;
    transform: translateX(30px);
  }
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--green);
  color: #000;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.65rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: 3px solid #000;
  box-shadow: 0 4px 0 #000;
  z-index: 9999;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ===== ANIMATIONS ===== */
@keyframes bounce-in {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.95); }
  100% { transform: scale(1); opacity: 1; }
}

.animate-bounce-in {
  animation: bounce-in 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Floating animation for hero image */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-image {
  animation: float 4s ease-in-out infinite;
}

/* Glow pulse for hero */
@keyframes glow-pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

.hero-image-glow {
  animation: glow-pulse 3s ease-in-out infinite;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* X Button sizing override inside Hero CTAs */
#cta-x {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0;
}

@media (min-width: 640px) {
  #cta-x {
    width: 3.6rem;
    height: 3.6rem;
  }
}

