* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;

  background-image: url("../assets/backgrounds/BANNER.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  font-family: system-ui, sans-serif;
  color: #fff;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}


a {
  color: inherit;
  text-decoration: none;
}
/* Professional sticky header */
/* FIX HEADER LAYOUT (restores your original alignment) */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  z-index: 20;

  /* professional look */
  background: linear-gradient(
    to bottom,
    rgba(3, 6, 20, 0.92),
    rgba(3, 6, 20, 0.70),
    transparent
  );
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.12);

  /* THIS was missing and caused header collapse */
  display: flex;
  justify-content: center;
  padding: 0; /* you can adjust later */
}

/* restore .container inside header (your old layout) */
header .container,
header > div,
.site-header .container {
  width: 100%;
  max-width: 1200px;
  padding: 12px 24px;
  margin: 0 auto;

  /* the important part */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* fix nav alignment */
header nav,
header .main-nav {
  display: flex;
  gap: 14px;
  align-items: center;
}

/* fix wallet button alignment */
#walletButton {
  margin-left: auto;
}



.logo {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 14px;
}

nav a {
  padding-bottom: 4px;
}

nav a.active {
  border-bottom: 2px solid #fff;
}

main {
  padding: 96px 32px 32px;
  position: relative;
  z-index: 1;
}

/* Fullscreen carousel background */
/* Three stacked background belts: characters, fruits, weapons */
#bg-rotator,
#bg-fruits,
#bg-weapons {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #050814;
  perspective: 20000px; /* depth for curve effect */
}

/* vertical positions: top, second screen, third screen */
#bg-rotator {
  top: 0;
}

#bg-fruits {
  top: 80vh;
}

#bg-weapons {
  top: 160vh;
}

/* shared track styling */
#bg-rotator .bg-track,
#bg-fruits .bg-track,
#bg-weapons .bg-track {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  gap: 20px;
  padding: 0 20px;
  transform-origin: center;
  transform: translateY(-50%) rotateX(12deg);
  animation: bg-scroll 180s linear infinite;
}

#bg-rotator .bg-track img,
#bg-fruits .bg-track img,
#bg-weapons .bg-track img {
  height: 70vh;
  width: 40vh;
  flex: 0 0 auto;
  object-fit: cover;

}



@keyframes bg-scroll {
  0% {
    transform: translate3d(0, -50%, 0) rotateX(12deg)  ;
  }
  100% {
    transform: translate3d(-50%, -50%, 0) rotateX(12deg) ;
  }
}

.section {
  max-width: 1200px;
  margin: 0 auto 32px auto;
}

.section h2 {
  font-size: 18px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.filters select {
  background: rgba(15, 15, 20, 0.96);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.20);
  padding: 8px 14px;
  color: #f5f5f5;
  font-size: 13px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.card {
  background: rgba(10, 10, 18, 0.96);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.card-title {
  font-size: 13px;
  font-weight: 600;
}

.card-meta {
  font-size: 11px;
  color: #b4b4b4;
}

.wp-section {
  background: rgba(6, 6, 14, 0.96);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px;
  margin-bottom: 18px;
}

.wp-section h3 {
  font-size: 16px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.wp-section p {
  font-size: 14px;
  line-height: 1.7;
  color: #d4d4d4;
  margin-bottom: 8px;
}

.wp-section ul {
  margin-left: 18px;
  margin-top: 4px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #d4d4d4;
}

.wp-section li {
  margin-bottom: 2px;
}

@media (max-width: 768px) {
  header {
    padding: 0 16px;
  }
  main {
    padding: 80px 16px 24px;
  }
}
/* Wallet button in header */
.wallet-btn {
  border: 1px solid rgba(255,255,255,0.5);
  background: transparent;
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.wallet-btn.connected {
  background: #00ff9d;
  color: #000;
  border-color: #00ff9d;
}

/* Page gate overlay (for protected pages) */
.gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gate-box {
  background: #111522;
  border-radius: 16px;
  padding: 24px 28px;
  max-width: 360px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.16);
}

.gate-box h2 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}

.gate-box p {
  font-size: 14px;
  color: #d0d0d0;
  margin-bottom: 16px;
}

/* Small slide-down wallet menu */
.wallet-menu {
  position: fixed;
  top: 64px;              /* just below header */
  right: 32px;
  z-index: 9999;
  background: #101523;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  padding: 6px 0;
  min-width: 220px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.16s ease-out, transform 0.16s ease-out;
}

.wallet-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.wallet-menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 14px;
  font-size: 13px;
  color: #f5f5f5;
  cursor: pointer;
}

.wallet-menu-item span.label {
  font-weight: 500;
}

.wallet-menu-item span.status {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.8;
}

.wallet-menu-item.available:hover {
  background: rgba(255,255,255,0.06);
}

.wallet-menu-item.unavailable {
  opacity: 0.45;
  cursor: default;
}
/* New icon + layout for wallet menu */
.wallet-menu-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wallet-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
}

/* Per-wallet icon gradients */
.wallet-icon-phantom {
  background: radial-gradient(circle at 30% 20%, #b794ff, #4b2fff);
}

.wallet-icon-solflare {
  background: radial-gradient(circle at 30% 20%, #ffb26e, #ff4b2f);
}

.wallet-icon-backpack {
  background: radial-gradient(circle at 30% 20%, #7bfffb, #0044ff);
}

.wallet-icon-generic {
  background: radial-gradient(circle at 30% 20%, #9ea8ff, #4b4bff);
}

/* Make label + status stack vertically */
.wallet-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.wallet-menu-item span.label {
  font-weight: 500;
  font-size: 13px;
}

.wallet-menu-item span.status {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.8;
}

.wallet-warning {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #cc2b2b;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  z-index: 99999;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.wallet-warning.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Whitepaper layout ===== */

.whitepaper-main {
  max-width: 960px;
  margin: 80px auto 60px;
  padding: 0 20px 40px;
  position: relative;
  z-index: 1; /* keep above background belts */
}

/* Section cards */
.whitepaper-section {
  background: rgba(3, 6, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 24px 20px 20px;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.7);
}

/* Headings inside whitepaper */
.whitepaper-main h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.whitepaper-main h2 {
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
}

.whitepaper-main h3 {
  font-size: 1.1rem;
  margin: 1.2rem 0 0.4rem;
}

/* Text and lists */
.whitepaper-main p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 0.8rem;
}

.whitepaper-main ul {
  padding-left: 1.35rem;
  margin: 0 0 0.8rem;
}

.whitepaper-main li {
  margin-bottom: 0.35rem;
}

/* Emphasis */
.whitepaper-main strong {
  font-weight: 600;
}



/* Home landing hero */
.landing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 200px 24px 40px; /* 110px pushes content below fixed header */
  text-align: center;
  position: relative;
  z-index: 2; /* above bg-rotator (z-index:0) */
}

.landing-hero {
  max-width: 700px;
  margin: 0 auto;
}

.landing-title {
  font-size: 36px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.landing-tagline {
  font-size: 15px;
  opacity: 0.9;
  max-width: 640px;
  margin: 0 auto 18px;
}

.landing-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #7b5bff, #ff4b93);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}

.landing-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.landing-stat {
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,0.55);
  font-size: 12px;
}

.landing-stat span {
  display: block;
  opacity: 0.8;
  margin-bottom: 2px;
}

.landing-stat strong {
  font-size: 14px;
}
/* Make hero text always readable */
.landing-title,
.landing-tagline,
.landing-actions a,
.landing-stats span,
.landing-stats strong {
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.65);
}

/* Subtle dark backdrop behind hero */
.landing-hero {
  position: relative;
  padding: 20px;
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.55),
      rgba(0,0,0,0.35),
      rgba(0,0,0,0.55)
  );
  z-index: -1;
  border-radius: 16px;
}


.count-label {
  margin-left: auto;
  font-size: 12px;
  opacity: 0.8;
}

.empty-message {
  padding: 12px;
  font-size: 13px;
  opacity: 0.8;
}

/* Rarity styling */
.card.rarity-common {
  border-color: rgba(255,255,255,0.12);
}

.card.rarity-rare {
  border-color: #4bb3ff;
}

.card.rarity-epic {
  border-color: #b36bff;
}

.card.rarity-legendary {
  border-color: #ffd54f;
}


/* relic rarity borders */
/* Relic tier colors */

/* Abilities: unique 11, special teal */
.card.relic-card.tier-ability {
  border-color: #cc1515;
  box-shadow: 0 0 0 1px rgba(241, 14, 14, 0.4);
}

/* Fruits tiers */
.card.relic-card.tier-god-tire {
  border-color: #ffd54f;
  box-shadow: 0 0 0 1px rgba(255, 213, 79, 0.5);
}

.card.relic-card.tier-unique {
  border-color: #ff80ab;
  box-shadow: 0 0 0 1px rgba(255, 128, 171, 0.5);
}

.card.relic-card.tier-rare {
  border-color: #64b5f6;
  box-shadow: 0 0 0 1px rgba(100, 181, 246, 0.5);
}

/* Weapon tiers */
.card.relic-card.tier-apex {
  border-color: #ff8a65;
  box-shadow: 0 0 0 1px rgba(255, 138, 101, 0.5);
}

.card.relic-card.tier-high {
  border-color: #ba68c8;
  box-shadow: 0 0 0 1px rgba(186, 104, 200, 0.5);
}

.card.relic-card.tier-standard {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.home-section {
  max-width: 800px;
  margin: 40px auto 24px;
  padding: 0 24px;
  text-align: left;
}

.home-section h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.home-section p {
  font-size: 14px;
  opacity: 0.9;
}

.home-grid {
  max-width: 1000px;
  margin: 16px auto 24px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.home-card {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 14px;
}

.home-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.official-links {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  font-size: 13px;
}

.official-links li {
  margin-bottom: 4px;
}

.official-links a {
  color: #80cfff;
  text-decoration: none;
}

.official-links a:hover {
  text-decoration: underline;
}

.roadmap-timeline {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  border-left: 2px solid rgba(255,255,255,0.25);
}

.roadmap-timeline li {
  position: relative;
  padding: 10px 0 10px 14px;
}

.roadmap-timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff4b93;
}

.phase-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.75;
}

.roadmap-timeline h3 {
  margin: 2px 0 2px;
  font-size: 14px;
}

.roadmap-timeline p {
  margin: 0;
  font-size: 13px;
  opacity: 0.9;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.team-card {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 13px;
}

.team-card h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.modal-overlay.open {
  display: flex;
}

.modal-dialog {
  max-width: 500px;
  width: 90%;
  background: rgba(5,8,20,0.98);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 18px 18px 16px;
  font-size: 14px;
}

.modal-dialog h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.modal-dialog p {
  margin: 3px 0;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
}

/* Make home sections match landing card readability */
.home-section,
.home-grid {
  color: #fff;
}

.home-card {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.home-section h2,
.home-card h3,
.home-section p,
.home-card p,
.official-links a,
.roadmap-timeline p,
.roadmap-timeline h3,
.roadmap-timeline .phase-label,
.team-card h3,
.team-card p {
  color: #fff;
}

.team-card {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5; /* above #bg-rotator (z-index:0) but below header if header is >5 */
  padding: 8px 16px;
  border-top: 1px solid rgba(255,255,255,0.25);
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  text-align: center;
  background: rgba(5,8,20,0.95);
}

/* Blur for background rotator images */
.bg-blur {
  filter: blur(10px) brightness(0.9);
  opacity: 0.55;
}

.bg-clear {
  filter: brightness(1.3);
  opacity: 1;
}


/* Fullscreen image lightbox for character + relic cards */
/* Fullscreen image viewer for characters + relics */
.image-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 8, 20, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.image-lightbox-overlay.is-visible {
  display: flex;
}

.image-lightbox-content {
  max-width: 100vw;
  max-height: 100vh;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #050814;

  display: flex;
  align-items: center;
  justify-content: center;

  /* IMPORTANT: allow the image to use full height, no cropping */
  overflow: visible;
}

.image-lightbox-img {
  display: block;

  /* fit inside viewport */
  max-width: 100vw;
  max-height: calc(100vh - 80px);

  width: auto;
  height: auto;
  object-fit: contain;
}



/* Phase lock overlay for Characters / Relics */
.phase-lock-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(77, 76, 76, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.phase-lock-box {
  max-width: 520px;
  width: 100%;
  text-align: center;
  background: rgba(10, 10, 15, 0.95);
  border-radius: 16px;
  padding: 28px 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.85);
}

.phase-lock-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.phase-lock-text {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 6px;
}

.phase-lock-date {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Mint countdown on home hero */
.landing-countdown {
  margin-top: 20px;
  font-size: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.countdown-label {
  opacity: 0.8;
}

.countdown-value {
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 600;
}

/* Footer social icons */
.footer-social {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
  justify-content: center;
}

.footer-social .social-icon img {
  width: 26px;
  height: 26px;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-social .social-icon img:hover {
  opacity: 1;
  transform: scale(1.08);
}

/* Team members inside cards */
.team-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.team-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.team-member-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  opacity: 0.9;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.25));
}

.team-member-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.team-member-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.team-member-role {
  font-size: 0.85rem;
  opacity: 0.85;
}
.team-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.team-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.team-member-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  opacity: 0.9;

  /* turn black SVGs into white on dark background */
  filter: invert(1) brightness(2);
}

.team-member-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.team-member-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.team-member-role {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Dashboard / Gods slots */

.god-slot {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

.god-slot h3 {
  margin-bottom: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.god-slot-body {
  margin-top: 4px;
}

.god-slot-body img {
  border-radius: 6px;
}

.god-slot-empty {
  font-size: 13px;
  opacity: 0.7;
  padding: 16px 8px;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 6px;
}

/* Dashboard visual polish */

#holderStatus {
  font-size: 13px;
  opacity: 0.85;
  padding: 8px 12px;
  border-radius: 999px;
  background: radial-gradient(circle at left, rgba(163,230,255,0.2), transparent 55%);
  border: 1px solid rgba(148,163,184,0.5);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#holderNftCount {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: linear-gradient(90deg, rgba(56,189,248,0.15), rgba(129,140,248,0.15));
  border: 1px solid rgba(148,163,184,0.35);
}

#holderNftGrid .card {
  background: radial-gradient(circle at top left, rgba(56,189,248,0.16), rgba(15,23,42,0.98));
  border-color: rgba(148,163,184,0.55);
  box-shadow:
    0 0 0 1px rgba(15,23,42,0.9),
    0 20px 35px rgba(15,23,42,0.95);
}

#holderNftGrid .card img {
  border-radius: 12px;
}
/* Holder dashboard cards (match old .card styling but for .holder-card) */
.holder-card {
  background: radial-gradient(circle at top left, rgba(56,189,248,0.16), rgba(15,23,42,0.98));
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.55);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow:
    0 0 0 1px rgba(15,23,42,0.9),
    0 20px 35px rgba(15,23,42,0.95);
}
.holder-card-meta {
  font-size: 12px;
  opacity: 0.8;
}

.holder-card img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

#godsSlots {
  margin-top: 12px;
}

#godsSlots .card {
  background: radial-gradient(circle at top, rgba(248,250,252,0.05), rgba(15,23,42,0.98));
  border-color: rgba(249,250,251,0.35);
  box-shadow:
    0 0 0 1px rgba(15,23,42,0.9),
    0 18px 32px rgba(15,23,42,0.95);
}

#godsSlots .god-slot-empty {
  background: rgba(15,23,42,0.9);
}

#godsLeaderboard {
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.55);
  background: radial-gradient(circle at top, rgba(51,65,85,0.85), rgba(15,23,42,0.98));
}

#godsLeaderboard thead tr {
  background: linear-gradient(90deg, rgba(56,189,248,0.2), rgba(129,140,248,0.2));
}

#godsLeaderboard th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

#godsLeaderboard td,
#godsLeaderboard th {
  border-bottom: 1px solid rgba(30,64,175,0.4);
}

#godsLeaderboard tbody tr:last-child td {
  border-bottom: none;
}

#godsLeaderboard tbody tr:hover {
  background: rgba(15,118,110,0.35);
}
/* ===== Dashboard Layout ===== */

.dashboard-main {
  max-width: 1200px;
  margin: 0 auto 72px;
  position: relative;
  z-index: 1; /* above background belts */
}

/* Top header strip */
.dashboard-header h2 {
  margin-bottom: 8px;
}

.dashboard-status {
  font-size: 13px;
  opacity: 0.85;
  padding: 8px 12px;
  border-radius: 999px;
  background: radial-gradient(circle at left, rgba(163,230,255,0.2), transparent 55%);
  border: 1px solid rgba(148,163,184,0.5);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Layout columns */
.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: flex-start;
}

.dashboard-column {
  min-width: 0;
}

/* Panels */
.dashboard-panel {
  background: rgba(3, 6, 18, 0.9);
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,0.5);
  padding: 16px 18px 18px;
  box-shadow:
    0 0 0 1px rgba(15,23,42,0.9),
    0 18px 32px rgba(15,23,42,0.95);
}

.dashboard-panel h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.dashboard-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.dashboard-subtext {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 10px;
}

/* Small pill (used for NFT count) */
.dashboard-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: linear-gradient(90deg, rgba(56,189,248,0.15), rgba(129,140,248,0.15));
  border: 1px solid rgba(148,163,184,0.35);
}

/* Your Vault cards (reuse holder-card styling if present) */
.holder-card {
  background: radial-gradient(circle at top left, rgba(56,189,248,0.16), rgba(15,23,42,0.98));
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.55);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow:
    0 0 0 1px rgba(15,23,42,0.9),
    0 20px 35px rgba(15,23,42,0.95);
}

.holder-card img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.holder-card-meta {
  font-size: 12px;
  opacity: 0.8;
}

/* The Gods panel */
.gods-panel h3 {
  margin-bottom: 4px;
}

.gods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.god-slot {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.god-slot h4 {
  margin-bottom: 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.god-slot-body img {
  border-radius: 8px;
  display: block;
  width: 100%;
}

.god-slot-empty {
  font-size: 13px;
  opacity: 0.7;
  padding: 16px 8px;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 6px;
}

/* God slot "name" text */
.god-slot-name {
  margin-top: 6px;
  font-size: 13px;
}

/* Gods ranking table */
.gods-ranking-panel h3 {
  margin-bottom: 4px;
}

.gods-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 13px;
}

.gods-table th,
.gods-table td {
  padding: 6px 6px;
  border-bottom: 1px solid rgba(30,64,175,0.4);
  text-align: left;
}

.gods-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: linear-gradient(90deg, rgba(56,189,248,0.2), rgba(129,140,248,0.2));
}

.gods-table tbody tr:last-child td {
  border-bottom: none;
}

.gods-table tbody tr:hover {
  background: rgba(15,118,110,0.35);
}

/* Responsive layout */
@media (max-width: 900px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }
}
body.page-static-bg {
  background-image: url("../assets/backgrounds/BANNER.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
body.page-home {
  background: #111318;
}
/* ===== Mobile nav (hamburger) ===== */
.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.25);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  display: block;
  border-radius: 999px;
}

@media (max-width: 900px) {
  header {
    justify-content: space-between;
    padding: 0;
  }

  header .logo { z-index: 30; }

  .nav-toggle {
    display: inline-flex;
    z-index: 30;
    margin-left: 10px;
  }

  /* make nav a dropdown panel */
  header nav.main-nav {
    position: fixed;
    top: 64px;
    left: 12px;
    right: 12px;
    z-index: 25;
    background: rgba(5,8,20,0.98);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 14px;
    padding: 12px;
    display: none;
    box-shadow: 0 18px 60px rgba(0,0,0,0.65);
    backdrop-filter: blur(10px);
  }

  header nav.main-nav.open {
    display: block;
  }

  header nav.main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
  }

  header nav.main-nav a {
    display: block;
    padding: 10px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
  }

  /* keep wallet button usable on phone */
  #walletButton {
    z-index: 30;
    margin-left: auto;
  }
}
#bg-rotator,
#bg-fruits,
#bg-weapons {
  display: none !important;
}
@media (max-width: 520px) {
  .site-footer {
    position: static !important;
  }

  main {
    padding-bottom: 24px !important;
  }
}
/* ===============================
   MOBILE LAYOUT HARD FIX
   =============================== */

@media (max-width: 520px) {

  html, body {
    overflow-x: hidden;
    width: 100%;
  }

 

  /* hero */
  .landing {
    padding: 120px 12px 24px;
  }

  .landing-title {
    font-size: 24px;
    line-height: 1.2;
  }

  .landing-tagline {
    font-size: 14px;
  }

  /* buttons stack */
  .landing-actions {
    flex-direction: column;
    gap: 10px;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
  }

  /* stats wrap */
  .landing-stats {
    flex-direction: column;
    gap: 8px;
  }

  /* grids → 2 columns */
  .grid,
  .home-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  /* cards */
  .card,
  .home-card,
  .team-card {
    padding: 10px;
  }

  .card-title {
    font-size: 12px;
  }

  .card-meta {
    font-size: 10px;
  }

  /* filters full width */
  .filters select {
    width: 100%;
  }

  /* footer */
  .site-footer {
    font-size: 11px;
    padding: 8px 10px;
  }

  /* wallet menu fits screen */
  .wallet-menu {
    left: 12px;
    right: 12px;
    width: auto;
  }
}
