@font-face {
  font-family: 'Streamzilla';
  src: url('../font/Godzilla-Rpgeo.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --bg: #020B11;
  --neon: #00FF88;
  --cyan: #00E5FF;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: white;
  overflow-x: hidden;
}

.nav-pill a i {
  margin-right: 6px;
  opacity: 0.8;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.2));
}

.nav-pill a:hover i {
  opacity: 1;
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.5));
}

::selection {
  background: rgba(0, 255, 136, 0.3);
  color: #00FF88;
}

/* Cyber grid base */
.cyber-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: #020B11;
  background-image:
    radial-gradient(ellipse 800px 400px at 50% -10%, rgba(0, 229, 255, 0.12), transparent 70%),
    radial-gradient(ellipse 600px 300px at 80% 110%, rgba(0, 255, 136, 0.08), transparent 60%);
}

.cyber-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Grid perspective hero */
.grid-perspective {
  position: absolute;
  inset: 0;
  perspective: 1000px;
  overflow: hidden;
  transform: translateZ(0);
}

.grid-lines {
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background-image:
    linear-gradient(to right, rgba(0, 229, 255, 0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 229, 255, 0.18) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: rotateX(68deg) translateZ(0);
  animation: gridMove 12s linear infinite;
  transform-origin: center top;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 35%, transparent 75%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 35%, transparent 75%);
}

@keyframes gridMove {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 0 72px;
  }
}

/* Clean Header Button */
.conic-btn {
  position: relative;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  border: none;
  outline: none;
}

.conic-btn-content {
  position: relative;
  display: block;
  padding: 0.65rem 1.6rem;
  background: rgba(0, 255, 136, 0.05);
  border-radius: 9999px;
  border: 1px solid rgba(0, 255, 136, 0.25);
  color: #00FF88;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
}

.conic-btn:hover .conic-btn-content {
  background: rgba(0, 255, 136, 0.12);
  border-color: #00FF88;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.25), inset 0 0 10px rgba(0, 255, 136, 0.1);
  transform: translateY(-1px);
}

.conic-btn:active .conic-btn-content {
  transform: translateY(0);
}

/* Primary electric arc button */
.btn-primary {
  position: relative;
  border-radius: 9999px;
  padding: 2px;
  background: transparent;
  isolation: isolate;
  cursor: pointer;
  filter: drop-shadow(0 0 18px rgba(0, 255, 136, 0.25));
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: -80%;
  background: conic-gradient(from 0deg, #00FF88, #00E5FF, #00FF88, #00E5FF, #00FF88);
  animation: spin 1.6s linear infinite;
  z-index: 0;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  padding: 2px;
  background: #020B11;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 0;
}

.btn-primary-content {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 2.1rem;
  background: linear-gradient(180deg, rgba(0, 255, 136, 0.12), transparent 40%), linear-gradient(180deg, #0a1f29, #020B11);
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: white;
  border: 1px solid rgba(0, 255, 136, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 0 1px rgba(0, 255, 136, 0.1);
  transition: all 0.25s ease;
  letter-spacing: 0.005em;
}

.btn-primary:hover .btn-primary-content {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 30px rgba(0, 255, 136, 0.35), 0 0 60px rgba(0, 229, 255, 0.2);
  border-color: rgba(0, 255, 136, 0.6);
}

.btn-primary .arc {
  position: absolute;
  inset: -2px;
  border-radius: 9999px;
  background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(0, 229, 255, 0.8) 20deg, transparent 40deg);
  animation: spin 2.5s linear infinite reverse;
  opacity: 0.7;
  filter: blur(3px);
  z-index: 0;
}

/* Glitch */
.glitch {
  position: relative;
  display: inline-block;
}

.glitch:hover::before,
.glitch:hover::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.glitch:hover::before {
  left: 1.5px;
  text-shadow: -1.5px 0 var(--cyan);
  animation: glitch1 0.28s infinite linear alternate-reverse;
  clip-path: polygon(0 2%, 100% 2%, 100% 38%, 0 38%);
}

.glitch:hover::after {
  left: -1.5px;
  text-shadow: 1.5px 0 var(--neon);
  animation: glitch2 0.32s infinite linear alternate-reverse;
  clip-path: polygon(0 60%, 100% 60%, 100% 95%, 0 95%);
}

@keyframes glitch1 {
  0% {
    transform: translate(0);
  }

  100% {
    transform: translate(-1px, 1px);
  }
}

@keyframes glitch2 {
  0% {
    transform: translate(0);
  }

  100% {
    transform: translate(1px, -1px);
  }
}

/* Nav pill */
.nav-pill {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-pill a {
  padding: 0.5rem 1.05rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.68);
  transition: all 0.2s;
  font-weight: 500;
  position: relative;
}

.nav-pill a:hover {
  color: white;
}

.nav-pill a.active {
  color: white;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 12px rgba(0, 229, 255, 0.15);
}

/* Scroll */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Leaderboard */
.leaderboard-row {
  transition: all 0.3s ease;
  position: relative;
}

.leaderboard-row td {
  padding: 1.05rem 1.25rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.leaderboard-row:hover {
  background: rgba(0, 255, 136, 0.045);
}

.leaderboard-row:hover td:first-child::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--neon);
  box-shadow: 0 0 14px var(--neon), 0 0 28px rgba(0, 255, 136, 0.5);
}

.leaderboard-row:hover {
  box-shadow: inset 0 1px 0 rgba(0, 255, 136, 0.1), inset 0 -1px 0 rgba(0, 255, 136, 0.05), 0 0 24px rgba(0, 255, 136, 0.08);
}

/* Footer top */
.footer-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00FF88, #00E5FF, #00FF88, transparent);
  background-size: 200% 100%;
  animation: gradientShift 5s linear infinite;
  opacity: 0.8;
}

@keyframes gradientShift {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.newsletter-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.8rem;
  color: white;
  outline: none;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-input:focus {
  border-color: rgba(0, 229, 255, 0.55);
  background: rgba(0, 229, 255, 0.03);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12), 0 0 24px rgba(0, 229, 255, 0.18), inset 0 0 12px rgba(0, 229, 255, 0.05);
}

/* Marquee Animation */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }

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

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 40px 0;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
  display: inline-flex;
  animation: marquee 50s linear infinite;
}

.partner-card {
  min-width: 280px;
  height: 200px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  padding: 24px;
  margin: 0 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(20px);
  position: relative;
  box-shadow: 0 8px 32px -4px rgba(0, 0, 0, 0.3);
}

.partner-card:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(0, 255, 136, 0.4);
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 60px -12px rgba(0, 255, 136, 0.15), 0 18px 36px -18px rgba(0, 0, 0, 0.5);
}

.logo-box {
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 18px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.partner-card:hover .logo-box {
  background: rgba(0, 255, 136, 0.05);
  border-color: rgba(0, 255, 136, 0.2);
  transform: scale(1.1);
}

.partner-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.partner-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 18px;
}

.partner-name {
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.verify-badge {
  width: 16px !important;
  height: 16px !important;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(0, 255, 136, 0.6));
}

.partner-badge {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.partner-card:hover .partner-badge {
  background: rgba(0, 255, 136, 0.1);
  color: #00FF88;
  border-color: rgba(0, 255, 136, 0.3);
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.2);
}

/* Heading Flair */
.heading-container {
  position: relative;
  isolation: isolate;
}

.text-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12vw;
  font-weight: 900;
  color: white;
  opacity: 0.03;
  letter-spacing: 0.4em;
  pointer-events: none;
  white-space: nowrap;
  z-index: -1;
  text-transform: uppercase;
}

.heading-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.1), transparent 70%);
  z-index: -2;
  filter: blur(60px);
  pointer-events: none;
}

.scanning-line {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: #00FF88;
  box-shadow: 0 0 20px #00FF88, 0 0 40px rgba(0, 255, 136, 0.5);
  animation: scanWidth 4s ease-in-out infinite;
  border-radius: 99px;
}

@keyframes scanWidth {

  0%,
  100% {
    width: 40px;
    opacity: 0.4;
  }

  50% {
    width: 140px;
    opacity: 1;
  }
}

/* Section Divider */
/* News Section */
.news-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 255, 136, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.news-image-box {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card:hover .news-image-box img {
  transform: scale(1.05);
}

.news-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 12px;
  background: #00FF88;
  color: black;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 6px;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 12px rgba(0, 255, 136, 0.3);
}

.news-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: white;
  transition: color 0.3s;
}

.news-card:hover .news-title {
  color: #00FF88;
}

.news-excerpt {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 20px;
}

.news-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #00FF88;
  transition: gap 0.3s;
}

.news-card:hover .news-link {
  gap: 12px;
}

.text-gradient {
  background: linear-gradient(90deg, #00FF88, #00E5FF, #00FF88, #00E5FF, #00FF88);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-shimmer 4s linear infinite;
  padding-right: 0.2em;
  margin-right: -0.1em;
}

.italic {
  padding-right: 0.15em;
}

/* Mobile Bottom Nav */
.mobile-bottom-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 450px;
  background: rgba(10, 31, 41, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 24px;
  display: flex;
  justify-content: space-around;
  padding: 12px 10px;
  z-index: 1000;
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(0, 255, 136, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  position: relative;
  flex: 1;
}

.mobile-nav-item i {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.mobile-nav-item span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mobile-nav-item.active {
  color: #00FF88;
}

.mobile-nav-item.active i {
  transform: translateY(-4px);
  filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.6));
}

.mobile-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  width: 4px;
  height: 4px;
  background: #00FF88;
  border-radius: 50%;
  box-shadow: 0 0 10px #00FF88;
}

.mobile-nav-item:hover {
  color: #00FF88;
}

@media (min-width: 768px) {
  .mobile-bottom-nav {
    display: none;
  }
}

@keyframes text-shimmer {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes divider-flow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(0, 229, 255, 0.2) 20%,
      var(--cyan) 40%,
      #00FF88 50%,
      var(--cyan) 60%,
      rgba(0, 229, 255, 0.2) 80%,
      transparent 100%);
  background-size: 200% auto;
  position: relative;
  margin: 40px 0;
  z-index: 10;
  animation: divider-flow 4s linear infinite;
}

.section-divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: inherit;
  filter: blur(8px);
  opacity: 0.5;
  animation: inherit;
}

/* Godzilla FX */
.godzilla-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.godzilla-img {
  position: absolute;
  top: 0;
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: top;
  opacity: 0.15;
  filter: grayscale(1) brightness(1.5) contrast(1.2);
  transition: opacity 0.5s ease;
}

.godzilla-left {
  left: -10%;
  mask-image: linear-gradient(to right, black 40%, transparent 80%), linear-gradient(to top, transparent 5%, black 20%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

.godzilla-right {
  right: -10%;
  mask-image: linear-gradient(to left, black 40%, transparent 80%), linear-gradient(to top, transparent 5%, black 20%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

@media (max-width: 1024px) {
  .godzilla-container {
    display: none;
  }
}

.eye-glow {
  position: absolute;
  width: 6px;
  height: 4px;
  background: #00FF88;
  border-radius: 50%;
  box-shadow: 0 0 15px 5px #00FF88, 0 0 30px 10px rgba(0, 255, 136, 0.4);
  animation: eye-pulse 2s ease-in-out infinite;
  z-index: 10;
  pointer-events: none;
}

@keyframes eye-pulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
    filter: blur(1px);
  }

  50% {
    opacity: 1;
    transform: scale(1.4);
    filter: blur(0px);
  }
}

@keyframes hero-monster-peek {

  0%,
  20%,
  80%,
  100% {
    transform: translateY(100%);
    opacity: 0;
  }

  40%,
  60% {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-monster-s {
  animation: hero-monster-peek 10s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
  filter: brightness(1.3) contrast(1.1);
}

/* Partner Modal Custom Styles */
#partnerModal .modal-content {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#partnerModal.flex {
  display: flex !important;
}

body.modal-open {
  overflow: hidden;
}

#partnerModal .glass-strong {
  background: rgba(8, 12, 10, 0.98);
}