:root {
  --black-bg: #000000;
  --cyan-accent: #00fff7;
  --blue-accent: #00ccff;
  --purple-accent: #6a5acd;
  --pink-accent: #ff00ff;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Orbitron', sans-serif;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gradient-text {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(
    270deg,
    var(--cyan-accent),
    var(--blue-accent),
    var(--purple-accent),
    var(--pink-accent)
  );
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease infinite;
  will-change: background-position;
}

body {
  background-color: var(--black-bg);
  color: var(--white);
  overflow-x: hidden;
  padding-top: 0;  
}

/* ---------------------------
   HEADER + LOGO FIX (PNG2)
   --------------------------- */

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 78px;                 /* FIX: lock header height */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;              /* FIX: real padding (not 0rem) */
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  overflow: visible;
}

/* Your HTML uses class="logo-left", so style THAT (not header img.logo) */
header .logo-left {
  height: 54px !important;      /* FIX: keep coin small & fully visible */
  width: auto !important;
  max-width: 90px;
  max-height: 54px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  margin: 0;
}

/* Optional: keep your old rule harmless (won’t affect anything) */
header img.logo {
  height: 50px;
}

/* Nav layout polish (more reliable than margin-left on each link) */
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Keep your link styles */
nav a {
  color: var(--white);
  margin-left: 0;               /* FIX: gap handles spacing */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--cyan-accent);
}

/* Mobile: shrink logo a bit more */
@media (max-width: 700px) {
  body { padding-top: 72px; }

  header {
    height: 72px;
    padding: 0 1rem;
  }

  header .logo-left {
    height: 42px !important;
    max-height: 42px;
    max-width: 72px;
  }

  header nav { gap: 14px; }
}

/* ---------------------------
   HERO
   --------------------------- */

.hero {
  height: 100vh;
  position: relative;
}

.hero video {
  position: absolute;
  inset: auto;                  /* IMPORTANT: cancels inset:0 */
  left: 0;
  right: 0;
  top: -0px;                     /* move video UP */
  height: calc(100% + 60px);     /* prevent bottom gap */
  width: 100%;
  object-fit: cover;
  object-position: 15% 90%;
  z-index: 0;
  transform: scale(0.92);        /* shrink ~8% */
  transform-origin: 50% 45%;     /* keeps it centered a bit upward */
}

/* Overlay (optional but cleaner than putting bg on the content) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18); /* was 0.6 */
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: absolute;
  top: 35%;                      /* move block higher inside hero */
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1100px, 92%);       /* keeps it centered and responsive */
  text-align: center;
  padding: 2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0rem;
}

.hero-content h1 {
  margin-bottom: 0rem;           /* reduce space under heading */
}

.hero p {
  font-size: 1.25rem;
  margin-top: 1rem;
}

.hero .buttons {
  margin-top: 2rem;
}

.hero .buttons a {
  padding: 0.75rem 2rem;
  background: var(--cyan-accent);
  color: var(--black-bg);
  font-weight: bold;
  border-radius: 30px;
  margin: 0 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero .buttons a:hover {
  background: var(--pink-accent);
  color: var(--white);
}

/* ---------------------------
   VIDEO SPOTLIGHT
   --------------------------- */

.video-spotlight {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  margin-top: 2rem;
}

.video-spotlight video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.video-spotlight .grid-section {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  padding: 2rem;
  width: 100%;
  max-width: 1200px;
  text-align: center;
}

.grid-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--cyan-accent);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.grid-item {
  background: #1a1a40;
  border-left: 5px solid var(--purple-accent);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s;
}

.grid-item:hover {
  transform: translateY(-10px);
}

/* ---------------------------
   NFT SECTION
   --------------------------- */

.nft-section {
  background: #ffffff;
  padding: 4rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.nft-section img {
  max-width: 600px;
  margin: 1rem;
}

/* ---------------------------
   INFO SECTION
   --------------------------- */

.info-section {
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.info-box {
  width: 90%;
  max-width: 700px;
  height: 150px;
  background-color: #1a1a40;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.info-box:hover .modal-content {
  left: 0;
}

.modal-content {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  color: var(--white);
  padding: 1rem;
  transition: left 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.info-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.logo-video {
  height: 125px;
  width: auto;
  object-fit: contain;
  display: block;
  background: transparent;
  margin-top: -30px;
}

/* ---------------------------
   FOOTER
   --------------------------- */

footer {
  background: var(--black-bg);
  color: #ccc;
  text-align: center;
  padding: 2rem;
}
