@font-face {
  font-family: 'Handel Gothic D';
  src: url('/assets/fonts/handel-gothic-d-bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

html, body {
  background: #111;
  color: #fff;
  font-family: 'Handel Gothic D', Arial, sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

body {
  font-size: 1rem;
  line-height: 1.6;
}

/* HEADER AND NAVIGATION */
.site-header {
  background: #000;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  border-bottom: 2px solid #ff2020;
}
.container.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  position: relative;
  width: 95%;
  margin: 0 auto;
}
.logo img, .logo {
  height: 40px;
  width: auto;
  display: block;
  background: transparent;
}

/* BURGER ICON */
.menu-toggle {
  font-size: 2.1rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  display: block;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1002;
  padding: 0 0.1em;
  height: 2.2rem;
  line-height: 2.2rem;
  user-select: none;
  transition: color 0.2s;
}
.menu-toggle.closed {
  color: #ff2020;
}

@media (max-width: 700px) {
  .container.header-top {
    padding: 0.7rem 0;
  }
  .menu-toggle {
    font-size: 1.7rem;
    right: 1rem;
  }
}

/* NAV ROW ALWAYS HORIZONTAL, ALWAYS FITS */
.main-nav {
  width: 100%;
  background: #000;
  border-bottom: 2px solid #ff2020;
  margin: 0 auto;
  transition: opacity 0.3s, max-height 0.3s;
}
.main-nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(0.2rem, 2vw, 1.3rem);
  margin: 0;
  padding: 0.7rem 0 0.6rem 0;
  width: 100%;
  background: #000;
  border-bottom: 2px solid #ff2020;
  flex-wrap: nowrap;
  overflow-x: hidden;
  opacity: 1;
  max-height: 120px;
  transition: max-height 0.25s, opacity 0.25s;
}
.main-nav.closed ul {
  opacity: 0;
  max-height: 0 !important;
  padding: 0;
  pointer-events: none;
}
.main-nav li {
  flex: 0 0 auto;
}
.main-nav li a {
  color: #fff;
  text-decoration: none;
  font-size: clamp(0.68rem, 3vw, 1.11rem);
  font-weight: bold;
  padding: 0.2rem clamp(0.1rem, 1vw, 0.36rem);
  border-bottom: 2px solid transparent;
  transition: border 0.2s, color 0.2s, font-size 0.2s;
  white-space: nowrap;
  display: inline-block;
  letter-spacing: 0.02em;
}
.main-nav li a.active,
.main-nav li a:hover {
  border-bottom: 2px solid #ff2020;
  color: #ff2020;
}
@media (max-width: 900px) {
  .main-nav ul {
    gap: clamp(0.14rem, 1vw, 0.7rem);
    padding: 0.6rem 0 0.5rem 0;
  }
}
@media (max-width: 700px) {
  .main-nav ul {
    gap: clamp(0.06rem, 1vw, 0.35rem);
    padding: 0.45rem 0 0.45rem 0;
  }
  .main-nav li a {
    font-size: clamp(0.62rem, 4vw, 0.95rem);
    padding: 0.11rem clamp(0.07rem, 1vw, 0.13rem);
  }
}
@media (max-width: 440px) {
  .main-nav ul {
    padding-left: 0;
    padding-right: 0;
  }
}

/* HERO SECTION */
.hero {
  background: #111;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: unset;
  padding: 2rem 0 1.7rem 0;
  border-radius: 16px;
  margin-bottom: 2.5rem;
  overflow: hidden;
  position: relative;
}
.hero-content {
  padding: 0 1rem 1rem 1rem;
}
.hero-image img {
  width: 92vw;
  max-width: 400px;
  margin: 1.2rem auto 0 auto;
  border-radius: 12px;
  display: block;
  background: #1a1a1a;
}

/* FEATURES / CARDS */
.features .feature-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.feature-item {
  flex: 1 1 250px;
  background: #1a1a1a;
  border-radius: 12px;
  padding: 2rem 1.3rem;
  box-shadow: 0 1px 10px 0 rgba(40,60,120,0.18);
  text-align: center;
  min-width: 220px;
  color: #fff;
}
.feature-item img {
  height: 56px;
  margin-bottom: 0.6rem;
  background: transparent;
}
.feature-item h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.feature-item p {
  color: #b8b8b8;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

/* STATS BAR */
.stats-bar {
  background: #191919;
  border-radius: 14px;
  margin: 2rem auto 2rem auto;
  padding: 1.5rem 0;
}
.stats-grid {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.stat h3 {
  color: #ff2020;
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
}
.stat p {
  color: #fff;
  font-size: 1rem;
  margin: 0;
}
@media (max-width: 700px) {
  .stats-grid {
    gap: 1.2rem;
  }
  .stat h3 {
    font-size: 1.5rem;
  }
}

/* CTA BANNER */
.cta-banner {
  background: #191919;
  border-radius: 18px;
  margin: 2.5rem auto 2rem auto;
  padding: 2rem 0;
  text-align: center;
}

/* BUTTONS */
.btn-primary.cta, .btn-primary {
  margin-top: 1.2rem;
  background: #ff2020;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.8rem 1.7rem;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 8px 0 rgba(40,60,120,0.19);
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.btn-primary.cta:hover, .btn-primary:hover {
  background: #fff;
  color: #ff2020;
}

/* FOOTER */
.site-footer {
  background: #000;
  color: #b8b8b8;
  text-align: center;
  padding: 2.5rem 0 2rem 0;
  margin-top: 4rem;
  font-size: 1rem;
  border-radius: 14px 14px 0 0;
  border-top: 2px solid #ff2020;
}
.site-footer a {
  color: #ff2020;
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.hide { display: none !important; }
.show { display: block !important; }

/* Fade-in Animation */
.fade-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s, transform 0.6s;
}
.fade-in.js-fade-init {
  opacity: 0;
  transform: translateY(40px);
}
.fade-in.fade-in-animate {
  opacity: 1;
  transform: translateY(0);
}