/* ── Hero Section Wrapper ── */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* ── Hero Content ── */
.content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  pointer-events: none;
}

/* ── Left: Text Content ── */
.hero-left {
  flex: 0 1 560px;
  pointer-events: auto;
}
.battle-card {
  width: 380px;
  background: rgba(20, 27, 45, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(24px);
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(168, 85, 247, 0.05);
  transition:
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.5s;
}
.battle-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(168, 85, 247, 0.15);
}
.battle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.battle-icon svg,
.battle-icon img {
  width: 240px;
  height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.3));
}
.card-status {
  padding: 16px 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.status-label {
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-blue);
  text-transform: uppercase;
}
.status-bar {
  margin-top: 10px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.status-fill {
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-blue), var(--color-violet));
  border-radius: 2px;
  animation: fillPulse 3s ease-in-out infinite alternate;
}
@keyframes fillPulse {
  from {
    width: 65%;
  }
  to {
    width: 82%;
  }
}

/* ── Right: Battle Card ── */
.hero-right {
  flex: 0 0 auto;
  pointer-events: auto;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 0.7rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-violet);
  background: rgba(168, 85, 247, 0.06);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 4px;
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-violet);
  border-radius: 50%;
  animation: dotPulse 1.5s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
h1 .accent {
  background: linear-gradient(135deg, var(--color-blue), var(--color-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.description {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 36px;
  max-width: 480px;
}
.buttons {
  display: flex;
  gap: 16px;
  pointer-events: auto;
}

/* ── Contract Address Row ── */
.contract-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  pointer-events: auto;
}
.contract-address-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(20, 27, 45, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  flex: 1;
  min-width: 0;
}
.contract-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-violet);
  white-space: nowrap;
}
.contract-value {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.contract-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.contract-btn:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.3);
  color: var(--color-violet);
}
.contract-buy-btn {
  flex-shrink: 0;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 10px 24px;
}

/* ── Hero — Responsive ── */
@media (max-width: 900px) {
  .hero-section {
    height: auto;
    min-height: 100vh;
    overflow: initial;
  }
  .content {
    position: relative;
    inset: auto;
    flex-direction: column;
    gap: 32px;
    padding: 100px 24px 48px;
    text-align: center;
  }
  .hero-left {
    order: -1;
    flex: 0 1 auto;
  }
  .battle-card {
    width: 260px;
    margin: 0 auto;
  }
  .battle-icon {
    padding: 24px;
  }
  .battle-icon svg,
  .battle-icon img {
    width: 150px;
    height: 150px;
  }
  .hero-right {
    text-align: center;
    flex: 0 1 auto;
  }
  .description {
    margin-left: auto;
    margin-right: auto;
  }
  .buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
  .contract-row {
    justify-content: center;
    flex-wrap: wrap;
  }
  .status-badge {
    margin-left: auto;
    margin-right: auto;
  }
  h1 {
    font-size: clamp(2rem, 7vw, 3rem);
  }
}

@media (max-width: 480px) {
  .content {
    padding: 80px 16px 32px;
    gap: 20px;
  }

  .battle-card {
    width: 200px;
  }

  .battle-icon {
    padding: 16px;
  }

  .battle-icon svg,
  .battle-icon img {
    width: 100px;
    height: 100px;
  }

  h1 {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .description {
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .buttons .glass-button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .contract-row {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .contract-buy-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .status-badge {
    font-size: 0.6rem;
    padding: 5px 12px;
    margin-bottom: 16px;
  }
}
