/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
}

.font-mono {
  font-family: var(--font-mono);
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-cyan {
  color: var(--text-mono);
}

a {
  color: var(--text-main);
  text-decoration: none;
  transition: color .3s;
}

a:hover {
  color: var(--primary);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  border-radius: var(--r-btn);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 11px 28px;
  transition: all .3s ease;
  box-shadow: 0 4px 18px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: 0 6px 24px var(--primary-glow);
  transform: translateY(-2px);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, .18);
  border-radius: var(--r-btn);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 11px 28px;
  transition: all .3s ease;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

/* ============================================================
   NAVBAR (DESKTOP)
   ============================================================ */
.hp-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: var(--bg-nav);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.hp-navbar .container {
  display: flex;
  align-items: center;
  height: 64px;
}

.hp-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: #fff;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hp-brand i {
  color: var(--primary);
  font-size: 1.1em;
}

.hp-nav-links {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  gap: 4px;
}

.hp-nav-links a {
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 6px;
  transition: all .25s;
}

.hp-nav-links a:hover,
.hp-nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, .06);
}

/* CTA Override */
.hp-nav-cta.btn-primary {
  font-weight: 300;
  letter-spacing: 2px;
  border-radius: 4px;
  padding: 4px 26px;
}

/* hamburger */
.hp-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}

.hp-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}

.hp-burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hp-burger.open span:nth-child(2) {
  opacity: 0;
}

.hp-burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   MOBILE SIDEBAR
   ============================================================ */
.hp-sidebar {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
}

/* overlay */
.hp-sidebar-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, .75);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .35s ease;
}

/* drawer */
.hp-sidebar-drawer {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background: var(--bg-darker);
  border-right: 1px solid var(--border-blue);
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 4px 0 40px rgba(0, 0, 0, .6);
}

/* open state */
.hp-sidebar.is-open {
  pointer-events: all;
}

.hp-sidebar.is-open .hp-sidebar-overlay {
  opacity: 1;
}

.hp-sidebar.is-open .hp-sidebar-drawer {
  transform: translateX(0);
}

/* sidebar header */
.hp-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 24px;
  border-bottom: 1px solid var(--border);
}

.hp-sidebar-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.hp-sidebar-close:hover {
  color: #fff;
}

/* sidebar nav */
.hp-sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 20px 0;
  flex: 1;
  overflow-y: auto;
}

.hp-sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-left: 3px solid transparent;
  transition: all .25s;
}

.hp-sidebar-nav li a:hover,
.hp-sidebar-nav li a.active {
  color: #fff;
  background: rgba(37, 99, 235, .1);
  border-left-color: var(--primary);
}

.hp-sidebar-nav li a i {
  color: var(--primary);
  width: 20px;
  text-align: center;
}

/* sidebar CTA */
.hp-sidebar-cta {
  padding: 20px 24px 0;
  border-top: 1px solid var(--border);
}

.hp-sidebar-cta .btn-primary {
  display: block;
  text-align: center;
}

/* ============================================================
   LAYOUT OFFSET FOR FIXED NAVBAR
   ============================================================ */
body {
  padding-top: 64px;
}

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.section-pad {
  padding: 90px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: .8rem;
}

.section-sub {
  text-align: center;
  font-family: var(--font-mono);
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 3.5rem;
}

/* ============================================================
   FAQ SECTION (SHARED)
   ============================================================ */
.faq-section {
  padding: 70px 0 90px;
}

.faq-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 2.5rem;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: linear-gradient(160deg, rgba(14, 27, 61, .6) 0%, rgba(6, 12, 26, .9) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: border-color .3s;
}

.faq-item.active,
.faq-item:hover {
  border-color: var(--border-blue);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: .9rem;
  font-weight: 500;
  text-align: left;
  padding: 22px 28px;
  cursor: pointer;
  gap: 16px;
  transition: color .25s;
}

.faq-question:hover {
  color: #fff;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--primary);
  font-size: .85rem;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4, 0, .2, 1), padding .4s;
  padding: 0 28px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 28px 22px;
}

.faq-answer p {
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  /* subtle radial glow behind title */
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(37, 99, 235, .18) 0%, transparent 65%),
    var(--bg-dark);
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 3px;
  text-shadow: 0 0 40px rgba(255, 255, 255, .08);
  margin-bottom: 1.2rem;
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: .95rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
  padding: 60px 0;
}

.stat-box {
  background: #060b14;
  border: 1px solid #151e32;
  border-radius: 6px;
  padding: 2.2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}

.stat-box:hover {
  border-color: rgba(37, 99, 235, .4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .5);
  transform: translateY(-4px);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: #0ea5e9;
  margin-bottom: .2rem;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #8b99af;
}

/* ============================================================
   GAMES
   ============================================================ */
.games-section {
  padding: 80px 0;
}

.game-card {
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform .3s, border-color .3s, box-shadow .3s;
  position: relative;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-blue);
  box-shadow: 0 12px 36px rgba(37, 99, 235, .22);
}

.game-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  opacity: .65;
  transition: opacity .3s;
  display: block;
}

.game-card:hover .game-img {
  opacity: .95;
}

.game-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.4rem;
  background: linear-gradient(to top, #060c1a 0%, rgba(6, 12, 26, .7) 60%, transparent 100%);
}

.game-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: .2rem;
  letter-spacing: 1.5px;
}

.game-price {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: .9rem;
}

.game-card .btn-primary {
  font-size: .78rem;
  padding: 8px 14px;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-section {
  padding: 80px 0;
}

.feature-card {
  background: linear-gradient(160deg, rgba(14, 27, 61, .7) 0%, rgba(6, 12, 26, .9) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 2.4rem 2rem;
  height: 100%;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}

.feature-card:hover {
  border-color: var(--border-blue);
  box-shadow: 0 8px 28px rgba(37, 99, 235, .15);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.4rem;
  text-shadow: 0 0 14px rgba(37, 99, 235, .5);
  display: block;
}

.feature-title {
  font-size: 1.1rem;
  margin-bottom: .9rem;
  letter-spacing: 1.5px;
}

.feature-text {
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  padding: 80px 0;
}

.testimonial-card {
  background: #08111f;
  border: 1px solid #111c30;
  border-radius: 6px;
  padding: 2.2rem 2.5rem;
  height: 100%;
  transition: border-color .3s, box-shadow .3s;
}

.testimonial-card:hover {
  border-color: rgba(37, 99, 235, .4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .5);
}

.stars {
  color: #0ea5e9;
  margin-bottom: 1.8rem;
  display: flex;
  gap: 3px;
  font-size: .95rem;
}

.testimonial-text {
  font-family: var(--font-mono);
  color: #8b99af;
  font-size: .85rem;
  line-height: 1.8;
  margin-bottom: 1.8rem;
}

.testimonial-author {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #e2e8f0;
  font-size: .85rem;
  letter-spacing: .5px;
}

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
  padding: 100px 0;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(37, 99, 235, .12) 0%, transparent 70%),
    var(--bg-dark);
}

.cta-section h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: .8rem;
}

.cta-section p {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: .9rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
  overflow: hidden;
}

/* Brand */
.footer-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 2.5px;
  gap: 8px;
}

.footer-brand i {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(37, 99, 235, .45);
}

/* Description */
.footer-desc {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: .82rem;
  line-height: 1.75;
  margin-top: .75rem;
}

/* Social icons row */
.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: color .25s, transform .25s;
  display: inline-flex;
}

.footer-social a:hover {
  color: var(--text-main);
  transform: translateY(-2px);
}

/* Column headings */
.footer-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: 2.5px;
  color: var(--text-main);
  margin-bottom: 1.4rem;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: .85rem;
}

.footer-links a {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: .82rem;
  transition: color .25s;
}

.footer-links a:hover {
  color: var(--text-main);
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.copyright {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: .75rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: .75rem;
  transition: color .25s;
}

.footer-legal a:hover {
  color: var(--text-main);
}

@media (max-width: 575.98px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
    gap: 12px;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {

  .hp-nav-links,
  .hp-nav-cta {
    display: none !important;
  }

  .hp-burger {
    display: flex;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    letter-spacing: 1.5px;
  }

  .stat-box {
    padding: 1.6rem 1rem;
  }

  .stat-value {
    font-size: 2rem;
  }
}

/* ============================================================
   FOOTER BOTTOM SOCIAL ICONS (bottom-bar variant)
   ============================================================ */
.social-icons-bottom {
  display: flex;
  gap: 18px;
  align-items: center;
}

.social-icons-bottom a {
  color: var(--text-muted);
  font-size: 1.05rem;
  transition: color .25s, transform .25s;
  display: inline-flex;
}

.social-icons-bottom a:hover {
  color: var(--text-main);
  transform: translateY(-2px);
}


