:root {
  --bg: #191a1f;
  --text: #ffffff;
  --muted: #c7c9d1;
  --accent: #fcd434; /* Binance yellow */
  --accent-dark: #d7b82f;
  --card: #23252c;
  --shadow: rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Poppins', 'Rubik', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Helvetica, Arial;
  background: var(--bg);
  color: var(--text);
}

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

.brand {
  text-align: center;
  font-size: 3rem;
  margin: 18px 0 12px; /* un poco de espacio bajo Buy Now */
  color: var(--accent);
  letter-spacing: 1px;
}

.hero {
  border-bottom: 1px solid #2a2d35;
}

.cover {
  display: block;
  margin: 0 auto 16px;
  width: 100%;
  max-height: 380px;
  object-fit: contain; /* mostrar completa */
  border-radius: 16px;
  border: 3px solid var(--accent);
  background: #101114;
}

.profile {
  display: block;
  margin: 0 auto 16px;
  width: 440px;
  height: 440px;
  object-fit: cover;
  border-radius: 16px;
  border: 3px solid var(--accent);
}

.ca-box {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.ca-box .label {
  color: var(--muted);
}
.ca-box .ca-value {
  background: var(--card);
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #2a2d35;
}

.btn {
  position: relative;
  background: linear-gradient(180deg, #ffe680, var(--accent));
  color: #000;
  border: none;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 20px var(--shadow), inset 0 -4px 0 rgba(0,0,0,0.25);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0));
  opacity: 0.35;
  pointer-events: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 24px var(--shadow), inset 0 -4px 0 rgba(0,0,0,0.25); }
.btn:active { transform: translateY(1px); box-shadow: 0 8px 16px var(--shadow), inset 0 -2px 0 rgba(0,0,0,0.35); }
.btn.primary { background: linear-gradient(180deg, #ffe680, var(--accent)); }
.btn.outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.4);
}

.socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 8px 0 18px;
}
.socials .social img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid #2a2d35;
  padding: 6px;
}

.cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 10px 0 22px;
}
.cta-row.outside { margin: 12px auto 26px; }

main {
  padding: 24px 0 48px;
}

.card {
  background: var(--card);
  border: 2px solid var(--accent-dark);
  border-radius: 18px;
  padding: 18px;
  margin: 18px auto;
  max-width: 1100px;
  box-shadow: 0 0 0 3px rgba(252, 212, 52, 0.25), 0 10px 24px rgba(0,0,0,0.35);
}

.card-title {
  margin: 0 0 8px 0;
  color: var(--accent);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
}
.card-title .subtitle { font-size: 1.1rem; color: var(--muted); font-weight: 700; }

.card-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
}
.card-body.wrap { display: block; }
.card-image {
  width: min(100%, 480px);
  max-height: 520px;
  object-fit: contain; /* mostrar completa */
  border-radius: 12px;
  border: 2px solid #2a2d35;
  background: #0f1014;
}
.card-body.wrap .card-image.float {
  float: left;
  width: clamp(280px, 40%, 420px);
  margin: 6px 18px 12px 0;
  shape-outside: inset(0 round 14px);
  shape-margin: 12px;
}
.card-body.wrap .card-image.float.right {
  float: right;
  width: clamp(240px, 32%, 360px);
  margin: -34px 0 12px 18px;
  shape-outside: inset(0 round 14px);
  shape-margin: 12px;
  min-height: 460px; /* ayuda a que todo el texto quepa al lado */
  background: transparent;
  border: none;
  border-radius: 12px;
}
.cmo-card .text { margin-top: 10px; }
.cmo-card .card-body.wrap { display: block; }
.cmo-card .card-image { border-radius: 12px; background: #0f1014; border: 2px solid #2a2d35; }
.cmo-card .card-image.float.right { float: right; margin: -28px 0 12px 18px; }
/* Forzar borde y fondo igual que img1, y redondeo 12px */
.cmo-card .card-body.wrap .card-image.float.right {
  border: 2px solid #2a2d35;
  background: #0f1014;
  border-radius: 12px;
}
.card-body.wrap .text::after { content: ""; display: block; clear: both; }
.text p { color: var(--text); line-height: 1.6; margin: 0 0 8px; }

.expander > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
  font-size: 2rem;
}
.expander[open] > summary { margin-bottom: 12px; }

/* Tokenomics */
.tokenomics .token-wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 18px;
  align-items: center;
}
.token-image {
  width: 100%;
  border-radius: 12px;
  border: 2px solid #2a2d35;
}
.token-grid {
  display: grid;
  gap: 12px;
}
.token-grid .row {
  background: var(--accent);
  border-radius: 12px;
  padding: 12px 16px;
  border: 2px solid var(--accent-dark);
  box-shadow: 0 4px 0 var(--accent-dark);
  color: #000;
  font-weight: 700;
}
.token-grid .row span { color: #2b2b2b; }
.token-grid .row.highlight { text-align: center; }

/* Memes marquee */
.carousel.marquee {
  overflow: hidden;
}
.marquee .track {
  display: flex;
  gap: 10px;
  align-items: center;
  animation: scroll 14s linear infinite;
  transition: transform 0.4s ease;
}
.marquee .track.paused { animation: none !important; }
.marquee img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #2a2d35;
  cursor: zoom-in;
}
/* Controles del carrusel de memes */
.meme-nav { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* How to buy */
.how-to-buy .how-wrap {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  align-items: center;
}
.how-to-buy .how-image {
  width: 100%;
  border-radius: 12px;
  border: 2px solid #2a2d35;
  background: #0f1014;
}
.how-to-buy .how-list {
  margin: 0;
  padding-left: 20px;
}
.how-to-buy .how-list li { margin-bottom: 10px; }
.how-to-buy .how-list li strong {
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}
.how-to-buy .how-list p {
  margin: 4px 0 0;
  color: var(--muted);
}

/* Video carousel */
.video-carousel {
  overflow: hidden;
}
.video-track {
  display: flex;
  transition: transform 0.5s ease;
}
.video-track .slide {
  min-width: 100%;
  padding: 6px 0;
}
.video-track video {
  width: 100%;
  max-height: 420px;
  border-radius: 12px;
  border: 2px solid #2a2d35;
  background: #000;
}
.video-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.video-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.footer {
  border-top: 1px solid #2a2d35;
  padding: 18px 0;
  text-align: center;
  color: var(--muted);
}
.footer .container { display: flex; justify-content: center; }
.footer-banner {
  display: inline-block;
  padding: 12px 18px;
  background: var(--accent);
  color: #000;
  border-radius: 14px;
  border: 4px solid #000;
  box-shadow: 0 8px 0 #000;
  font-weight: 800;
}

/* Responsive */
@media (max-width: 960px) {
  .card-body { grid-template-columns: 1fr; }
  .tokenomics .token-wrap { grid-template-columns: 1fr; }
  .profile { width: 320px; height: 320px; }
  .brand { font-size: 2.4rem; }
  .marquee img { width: 180px; height: 180px; }
  .how-to-buy .how-wrap { grid-template-columns: 1fr; }
  .how-to-buy .how-image { max-width: 520px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .marquee img { width: 150px; height: 150px; }
  .profile { width: calc(100% - 24px); height: auto; max-width: 520px; }
  /* About (Expander) en móviles: imagen arriba, texto debajo */
  .expander .card-body.wrap .card-image.float {
    float: none;
    display: block;
    width: 100%;
    max-width: 480px;
    margin: 0 auto 12px;
    shape-outside: none;
    min-height: initial;
  }
  .expander .card-body.wrap .text {
    clear: both;
    margin-top: 6px;
  }
  /* CMO en móviles: imagen arriba, texto debajo; sin marco */
  .cmo-card .card-body.wrap .card-image.float.right {
    float: none;
    display: block;
    width: 100%;
    max-width: 480px;
    margin: 0 auto 12px;
    shape-outside: none;
    min-height: initial;
    background: transparent;
    border: none;
    border-radius: 12px;
  }
  .cmo-card .card-body.wrap .text {
    clear: both;
    margin-top: 6px;
  }
}
/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.85); display: none; align-items: center; justify-content: center; z-index: 9999; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 92vh; border-radius: 12px; border: 2px solid #2a2d35; }
.lightbox .close { position: absolute; top: 18px; right: 18px; background: var(--accent); color: #000; border-radius: 12px; border: 3px solid #000; box-shadow: 0 6px 0 #000; cursor: pointer; padding: 8px 12px; font-weight: 800; }