:root {
  --bg-color: #060906;
  --primary-color: #39ff14;
  /* Neon green */
  --primary-dim: #1f8a09;
  --accent: #ff073a;
  /* Neon red/pink for alerts/strikes */
  --text-color: #d1f2d1;
  --font-head: "Black Ops One", cursive;
  --font-mono: "Share Tech Mono", monospace;
  --font-body: "Roboto", sans-serif;
  --glass-bg: rgba(57, 255, 20, 0.05);
  --glass-border: rgba(57, 255, 20, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  overflow-x: hidden;
  scroll-behavior: smooth;
  line-height: 1.6;
}

/* Typography elements */
h1,
h2,
h3,
h4,
.logo,
.btn-primary,
.btn-secondary,
.section-title {
  font-family: var(--font-head);
  text-transform: uppercase;
}

p,
span,
li,
a {
  font-family: var(--font-mono);
}

/* Effects */
.crt-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
    linear-gradient(
      90deg,
      rgba(255, 0, 0, 0.06),
      rgba(0, 255, 0, 0.02),
      rgba(0, 0, 255, 0.06)
    );
  background-size: 100% 2px, 3px 100%;
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image: linear-gradient(var(--glass-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.15;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background: rgba(6, 9, 6, 0.9);
  border-bottom: 2px solid var(--primary-dim);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-logo {
  width: 40px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
}

.nav-title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--primary-color);
}

.hamburger {
  display: none;
  font-size: 2rem;
  color: var(--primary-color);
  cursor: pointer;
}

.nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
  margin-left: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  color: var(--primary-color);
  text-decoration: none;
  margin: 0 1rem;
  font-size: 1.1rem;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #fff;
  text-shadow: 0 0 8px #fff;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.nav-socials {
  display: flex;
  gap: 1rem;
}

.nav-socials a {
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: 0.3s;
}

.nav-socials a:hover {
  color: #fff;
  text-shadow: 0 0 10px #fff;
}

.custom-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  /* Matches font-awesome standard alignment */
  background-color: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.custom-dt {
  -webkit-mask-image: url("img/assets/Dextools-mcolor.svg");
  mask-image: url("img/assets/Dextools-mcolor.svg");
}

.custom-ds {
  -webkit-mask-image: url("img/assets/DEXSCREENER-ICON.svg");
  mask-image: url("img/assets/DEXSCREENER-ICON.svg");
}

/* Shadow effect for SVG custom icons inside hoverable links */
.social-btn:hover .custom-icon,
.nav-socials a:hover .custom-icon {
  filter: drop-shadow(0 0 5px #fff);
}

/* Buttons */
button,
.btn-primary,
.btn-secondary,
.social-btn {
  cursor: pointer;
  font-family: var(--font-mono);
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease-in-out;
}

.btn-primary {
  background: var(--primary-color);
  color: #000;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 2px;
  box-shadow: 0 0 15px var(--primary-color);
  text-transform: uppercase;
}

.btn-primary:hover {
  background: #fff;
  box-shadow: 0 0 25px #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--primary-color);
}

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

.huge {
  font-size: 1.3rem;
  padding: 1rem 2.5rem;
}

/* Marquee */
.marquee-container {
  background: var(--primary-color);
  color: #000;
  padding: 0.5rem 0;
  overflow: hidden;
  position: relative;
  border-bottom: 2px solid #fff;
  border-top: 2px solid #fff;
}

.marquee-content {
  white-space: nowrap;
  font-family: var(--font-head);
  font-size: 1.2rem;
  display: inline-block;
  animation: marquee 25s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(100vw);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Hero */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 2rem;
  z-index: 10;
}

.hero-logo {
  width: 200px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
  box-shadow: 0 0 40px var(--primary-color);
}

.hero-content h1 {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-shadow: 0 0 15px var(--primary-color);
}

.hero-content .subtitle {
  font-size: 1.5rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #fff;
}

.ca-container {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--primary-color);
  display: inline-flex;
  align-items: center;
  padding: 0.5rem;
  margin-bottom: 2.5rem;
}

.ca-label {
  background: var(--primary-color);
  color: #000;
  padding: 0.3rem 0.8rem;
  font-weight: bold;
}

.ca-text {
  padding: 0 1.5rem;
  color: var(--primary-color);
  letter-spacing: 1px;
}

.btn-copy {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 0.3rem 1rem;
}

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

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Glitch Effect */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 red;
  animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -2px 0 blue;
  animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
  0% {
    clip: rect(20px, 9999px, 85px, 0);
  }

  100% {
    clip: rect(65px, 9999px, 80px, 0);
  }
}

@keyframes glitch-anim-2 {
  0% {
    clip: rect(10px, 9999px, 50px, 0);
  }

  100% {
    clip: rect(40px, 9999px, 20px, 0);
  }
}

.pulse-glow {
  animation: pulse 2s infinite alternate;
}

@keyframes pulse {
  from {
    box-shadow: 0 0 20px var(--primary-color);
    transform: scale(1);
  }

  to {
    box-shadow: 0 0 60px var(--primary-color);
    transform: scale(1.02);
  }
}

.text-glitch {
  text-shadow: 0px 0px 5px var(--primary-color), 2px 0px 1px var(--accent);
}

/* Sections */
.section {
  padding: 5rem 10%;
  position: relative;
  z-index: 10;
}

.split {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split > div {
  flex: 1;
}

.section-title {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.text-center {
  text-align: center;
  border-bottom: none;
  display: block;
}

.box-glow {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  box-shadow: inset 0 0 20px var(--glass-bg);
}

.border-target {
  position: relative;
  border: 2px solid var(--primary-color);
  padding: 10px;
}

.border-target::before,
.border-target::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-color);
}

.border-target::before {
  top: -5px;
  left: -5px;
  border-right: none;
  border-bottom: none;
}

.border-target::after {
  bottom: -5px;
  right: -5px;
  border-left: none;
  border-top: none;
}

.border-target img {
  width: 100%;
  display: block;
  filter: contrast(1.2) sepia(1) hue-rotate(60deg) saturate(3);
}

.scanline {
  width: 100%;
  height: 5px;
  background: rgba(57, 255, 20, 0.4);
  position: absolute;
  top: 0;
  left: 0;
  animation: scan 3s linear infinite;
}

@keyframes scan {
  0% {
    top: 0%;
  }

  100% {
    top: 100%;
  }
}

.glitch-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  list-style: none;
}

.glitch-list li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Glossary Grid */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.glossary-item {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--primary-color);
  padding: 1.5rem;
  text-align: center;
  transition: 0.3s;
}

.glossary-item:hover {
  background: var(--primary-color);
  color: #000;
}

.glossary-item h3 {
  margin-bottom: 0.5rem;
}

/* Tokenomics Grid */
.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.token-card {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: transform 0.3s;
}

.token-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(57, 255, 20, 0.2);
}

.token-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.token-card h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.active-target {
  border-color: var(--accent);
  box-shadow: inset 0 0 15px rgba(255, 7, 58, 0.2);
}

.active-target h3 {
  color: var(--accent);
}

/* Steps */
.steps li {
  list-style: none;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 1rem;
  border-left: 4px solid var(--primary-color);
}

.steps li span {
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 1rem;
}

/* Footer */
.footer {
  text-align: center;
  background: #000;
  border-top: 2px solid var(--primary-color);
}

.footer-logo {
  width: 80px;
  filter: grayscale(1);
  margin-bottom: 1rem;
  transition: 0.3s;
}

.footer-logo:hover {
  filter: grayscale(0);
  transform: scale(1.1);
}

.social-links {
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-btn {
  padding: 1rem 2rem;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

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

.disclaimer {
  font-size: 0.8rem;
  opacity: 0.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Responsiveness */
@media (max-width: 900px) {
  /* Hamburger Menu Overrides */
  .navbar {
    padding: 1rem 1.5rem;
  }

  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
    /* Hide by default on mobile */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(6, 9, 6, 0.98);
    border-bottom: 2px solid var(--primary-dim);
    padding: 2rem 0;
    margin: 0;
    gap: 1.5rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 1.5rem;
    position: static;
    transform: none;
    left: auto;
  }

  .nav-right {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
  }

  /* General Layout Scaling Fixes */
  .section {
    padding: 3.5rem 5%;
  }

  .split {
    flex-direction: column;
  }

  .split.reverse {
    flex-direction: column;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .ca-container {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    width: 100%;
    max-width: 90vw;
  }

  .ca-text {
    font-size: 0.8rem;
    padding: 0.5rem;
    word-break: break-all;
  }
}
