/* ═══════════════════════════════════════════
   ROOT & RESET
═══════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:          #080808;
  --bg-2:        #0f0f0f;
  --bg-3:        #141414;
  --green:       #FFD700;
  --green-dark:  #E5C200;
  --green-glow:  rgba(255, 215, 0, 0.18);
  --white:       #ffffff;
  --gray-1:      #a0a0a0;
  --gray-2:      #4a4a4a;
  --border:      rgba(255,255,255,0.08);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  0.25s ease;
  --font:        'Inter', sans-serif;
  --shadow-green: 0 0 30px rgba(255,215,0,0.25);
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 120px;
}

body {
  background-color: var(--bg);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ═══════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent {
  color: var(--green);
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: #000;
}

.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: var(--shadow-green);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: 14px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn-coming-soon:disabled {
  opacity: 1;
  cursor: default;
  pointer-events: none;
  background: var(--green);
  color: #000;
}

/* ═══════════════════════════════════════════
   PLACEHOLDER IMAGES
═══════════════════════════════════════════ */
.placeholder-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-3);
  border: 2px dashed var(--gray-2);
  border-radius: var(--radius-lg);
  color: var(--gray-1);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(8, 8, 8, 0.98);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 120px;
  width: auto;
  display: block;
  max-width: 320px;
  object-fit: contain;
}

.navbar .logo-img {
  height: 150px;
  max-width: 420px;
}

@media (max-width: 768px) {
  .navbar .logo-img {
    height: 90px;
    max-width: 280px;
  }

  .logo-img {
    height: 70px;
    max-width: 220px;
  }
}

/* Nav right group — socials + links + button */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

/* Social icons in nav */
.nav-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-social {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-1);
  transition: color var(--transition);
  flex-shrink: 0;
}

.nav-social svg {
  width: 18px;
  height: 18px;
}

.nav-social:hover {
  color: var(--white);
}

/* Divider between socials and nav links */
.nav-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
  flex-shrink: 0;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-1);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 768px) {
  .nav-socials,
  .nav-divider {
    display: none;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 120px;
    left: 0;
    right: 0;
    background: rgba(8,8,8,0.98);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 1rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-right .btn-primary {
    display: none;
  }
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 180px 0 100px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,215,0,0.12) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.3);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--gray-1);
  max-width: 460px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-img-wrap {
  position: relative;
}

.hero-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  max-height: 520px;
}

.hero-character-img {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

.stat-bubble {
  position: absolute;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  backdrop-filter: blur(8px);
}

.stat-bubble--top {
  top: 30px;
  right: -20px;
}

.stat-bubble--bottom {
  bottom: 50px;
  left: -20px;
}

.stat-num {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--gray-1);
  font-weight: 500;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    align-items: center;
  }

  .hero-sub {
    text-align: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-placeholder {
    max-height: 380px;
  }

  .stat-bubble--top  { right: 0; }
  .stat-bubble--bottom { left: 0; }
}

/* ═══════════════════════════════════════════
   SPLIT SECTIONS (About + Features)
═══════════════════════════════════════════ */
.split-section {
  padding: 100px 0;
  background: var(--bg-2);
}

.split-section--reverse .split-inner {
  direction: rtl;
}

.split-section--reverse .split-inner > * {
  direction: ltr;
}

.split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Image col */
.split-img-col {
  position: relative;
}

.char-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  max-height: 480px;
}

.char-img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.4));
}

.floating-tag {
  position: absolute;
  bottom: 30px;
  right: -20px;
  background: var(--green);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.tag-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: #000;
  line-height: 1;
}

.tag-lbl {
  font-size: 0.75rem;
  color: #000;
  font-weight: 700;
}

/* Text col */
.split-text-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-tag {
  display: inline-flex;
  width: fit-content;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.3);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.split-text-col h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.split-text-col p {
  color: var(--gray-1);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 480px;
}

/* Stats row */
.stats-row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-big {
  font-size: 2rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--gray-1);
  font-weight: 500;
}

/* Feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-1);
}

.check {
  display: inline-flex;
  width: 22px;
  height: 22px;
  background: var(--green);
  color: #000;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* Chart graphic */
.chart-graphic {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.chart-graphic svg {
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .split-section--reverse .split-inner {
    direction: ltr;
  }

  .split-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .split-text-col {
    align-items: center;
  }

  .split-text-col p {
    text-align: center;
  }

  .stats-row {
    justify-content: center;
  }

  .feature-list {
    align-items: flex-start;
    max-width: 320px;
  }

  .char-placeholder {
    max-height: 340px;
  }

  .floating-tag {
    right: 0;
  }
}

/* ═══════════════════════════════════════════
   COLLECTION / GAMES SECTION
═══════════════════════════════════════════ */
.collection-section {
  padding: 100px 0;
  background: var(--bg);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--gray-1);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

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

/* NFT Cards */
.nft-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--bg-2);
}

.nft-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.nft-card-img-link {
  display: block;
}

.nft-card-img {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--bg-3);
}

.nft-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.nft-card:hover .nft-card-img img {
  transform: scale(1.04);
}

.nft-card-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nft-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nft-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.nft-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--green);
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nft-badge--soon {
  background: var(--gray-2);
  color: var(--white);
}

.nft-desc {
  font-size: 0.82rem;
  color: var(--gray-1);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .nft-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ═══════════════════════════════════════════
   FAQ
═══════════════════════════════════════════ */
.faq-section {
  padding: 100px 0;
  background: var(--bg-2);
}

.faq-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.faq-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.faq-header p {
  color: var(--gray-1);
  font-size: 1rem;
  line-height: 1.7;
}

/* Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}

.faq-question:hover {
  background: rgba(255,255,255,0.03);
}

.faq-question[aria-expanded="true"] {
  color: var(--green);
}

.faq-icon {
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--green);
  transition: transform var(--transition);
  line-height: 1;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
}

.faq-answer.open {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--gray-1);
  font-size: 0.9rem;
  line-height: 1.75;
}

.faq-answer a {
  color: var(--green);
  font-weight: 600;
}

.faq-answer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ═══════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════ */
.cta-section {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,215,0,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  position: relative;
}

.cta-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cta-text p {
  color: var(--gray-1);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 500px;
}

.cta-socials {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}

.cta-social-link {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--gray-1);
  transition: all var(--transition);
}

.cta-social-link svg {
  width: 24px;
  height: 24px;
}

.cta-social-link:hover {
  background: var(--green);
  border-color: var(--green);
  color: #000;
  transform: translateY(-3px);
  box-shadow: var(--shadow-green);
}

@media (max-width: 768px) {
  .cta-inner {
    padding: 60px 24px;
  }
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}

.footer-top {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 100px;
  padding-bottom: 60px;
}

/* Brand col */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 280px;
}

.footer-brand .logo-img {
  height: 70px;
  max-width: 220px;
}

.footer-tagline {
  color: var(--gray-1);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
}

/* Social links */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--gray-1);
  transition: all var(--transition);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  background: var(--green);
  border-color: var(--green);
  color: #000;
}

/* Footer link groups */
.footer-links-group h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-group a {
  font-size: 0.88rem;
  color: var(--gray-1);
  transition: color var(--transition);
}

.footer-links-group a:hover {
  color: var(--green);
}

/* Newsletter */
.footer-newsletter h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 10px;
}

.footer-newsletter p {
  font-size: 0.88rem;
  color: var(--gray-1);
  line-height: 1.6;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input::placeholder {
  color: var(--gray-2);
}

.newsletter-form input:focus {
  border-color: var(--green);
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--gray-1);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--gray-1);
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

@media (max-width: 600px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .footer-brand {
    align-items: center;
  }

  .social-links {
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   WALLET CONNECT BUTTON STATE
═══════════════════════════════════════════ */
#walletBtn {
  min-width: 140px;
  text-align: center;
}

/* WalletConnect modal — must float above fixed navbar (z-index:100) */
wcm-modal {
  z-index: 1000 !important;
  position: relative;
}

