/*
 Theme Name: Spaceship Builder
 Theme URI: https://spaceshipbuilder.com
 Author: Redpanda
 Author URI: https://redpanda.agency
 Description: A custom theme for Spaceship Builder
 Version: 1.0
 Text Domain: spaceship
 */
 /* Global Styles */
/* General fixes */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;700&family=Montserrat:wght@700&display=swap');

:root {
  --top-font-size: 0.875rem;
  --menu-font-size: 1.125rem;
  --button-font-size: 1rem;
  --footer-font-size: 0.75rem;
  --footer-small-font: 0.65rem;
  --header-subtitle-font-size: 1rem;
  --header-title-font-size: 3rem;
  --header-lead-font-size: 1.25rem;
  --footer-text: #e7d6d6;
  --cyan: #00ffff;
  --dark-bg: #0d192c;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  background: linear-gradient(90deg, #170030, #00203a);
}

/* Top bar */
.top-bar {
  max-width: 1110px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: var(--top-font-size);
  color: var(--cyan);
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.top-bar a {
  color: inherit;
  text-decoration: none;
  font-weight: 300;
}

.separator {
  height: 15px;
  border-left: 1px solid var(--cyan);
  margin: 0 10px;
}

.right-icons .social-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  margin-left: 20px;
  border-radius: 3px;
  background-color: var(--cyan);
  color: var(--dark-bg);
  justify-content: center;
  align-items: center;
}

/* Desktop navigation */
.main-nav {
  position: sticky;
  top:0;
  width: 1110px;
  height: 80px;
  margin: 0 auto 0 auto;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="1110" height="80" viewBox="0 0 1110 80"><defs><!-- 30% Bigger Hexagon pattern --><pattern id="hexGridBigger" width="117" height="67.548" patternUnits="userSpaceOnUse"><polygon points=" 19.5,0 58.5,0 78,33.774 58.5,67.548 19.5,67.548 0,33.774" stroke="%230090bd" fill="none" stroke-width="1"/><polygon points=" 78,-33.774 117,-33.774 136.5,0 117,33.774 78,33.774 58.5,0" stroke="%230090bd" fill="none" stroke-width="1"/></pattern><!-- Updated ClipPath for doubled angles --><clipPath id="trapClipSteeper"><polygon points="0,0 1110,0 1087.8,80 22.2,80"/></clipPath></defs><!-- Fill trapezoid with new hex pattern --><g clip-path="url(%23trapClipSteeper)"><rect width="1110" height="80" fill="%23004e96"/><rect width="1110" height="80" fill="url(%23hexGridBigger)"/></g><!-- Updated trapezoid border --><polygon points="0,0 1110,0 1087.8,80 22.2,80" fill="none" stroke="%2300ffff" stroke-width="3"/></svg>');
  background-repeat: no-repeat;
  display: grid;
  grid-template-columns: 203px 1fr 160px;
  align-items: center;
  padding: 0 40px;
  box-sizing: border-box;
  z-index: 1000;
  opacity: 1;
}

/* Sticky and animated on scroll */
.main-nav.sticky {
  position: sticky;
  top: 0;
  margin-top: 0;
  animation: slideDown 0.3s ease forwards;
  z-index: 1000;
  opacity:0.9;
}
.main-nav.scrolled {

  opacity: 0.9;
  animation: slideDown 0.3s ease forwards;
  top: 0;
  margin-top: 0;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.top-bar.hidden {
  display: none;
}

.logo {
  width: 203px;
  height: 57px;
  position: relative;
  top: -3px;
  cursor:pointer;
}

.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.menu li a {
  color: white;
  font-size: var(--menu-font-size);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}


.menu li a:hover {
  color: #fef52b;
}

.menu li.current-menu-item > a,
.menu li.current-menu-parent > a,
.menu li.current-menu-ancestor > a {
  color: #fef52b;
  position: relative;
}


.cta-button {
  width: 160px;
  height: 45px;
  background-color: #fee318;
  color: #000;
  font-size: var(--button-font-size);
  border-radius: 9px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  font-family: Lato;
  text-transform: uppercase;
}
.cta-button.weapons {
  width: 260px;
}

.cta-button:hover {
  background-color: #141d64;
  color: #fff;
}
.cta-button.single {
  display: block;
  margin: 0 auto;
  line-height: 40px;
  padding: 0 20px;
  cursor:pointer;
}
.cta-button.single:disabled {
opacity: 0.3;
}
/* Initially hide mobile nav and drawer on desktop */
.mobile-nav,
.drawer,
.overlay {
  display: none;
}
/* Mobile Styles */
@media (max-width: 1200px) {
  .top-bar, .main-nav {
      display: none;
  }

  .mobile-nav {
      display: flex;
      height: 60px;
      align-items: center;
      justify-content: center;
      position: relative;
      background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="60" viewBox="0 0 1920 60" preserveAspectRatio="xMidYMid slice" style="margin: 0; padding: 0; display: block;"><defs><!-- Reuse existing hexGrid pattern --><pattern id="hexGridBar" width="90" height="51.96" patternUnits="userSpaceOnUse"><polygon points="15,0 45,0 60,25.98 45,51.96 15,51.96 0,25.98" stroke="%230090bd" fill="none" stroke-width="1"/><polygon points="60,-25.98 90,-25.98 105,0 90,25.98 60,25.98 45,0" stroke="%230090bd" fill="none" stroke-width="1"/></pattern><!-- Left-to-right gradient background --><linearGradient id="bgGradientFourth" x1="0%" y1="0%" x2="100%" y2="0%"><stop offset="0%" stop-color="%23005097"/><stop offset="100%" stop-color="%23006cac"/></linearGradient></defs><!-- Solid or gradient background --><rect width="1920" height="60" fill="url(%23bgGradientFourth)"/><rect width="1920" height="60" fill="url(%23hexGridBar)"/></svg>');
      background-repeat: repeat;
      border-bottom: 2px solid var(--cyan);
  }

  .hamburger-menu {
    position: absolute;
    left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px; /* increased gap */
    width: 28px;
    height: 22px;
    cursor: pointer;
    z-index: 1100;
  }

  .hamburger-menu span {
    display: block;
    width: 28px; /* doubled length */
    height: 2px;
    background-color: #fee318;
  }

  .hamburger-menu.hidden {
      display: none;
  }

  .mobile-logo {
      width: 142px;
      height: 40px;
      cursor: pointer;
  }

  .drawer {
      display: block;
      position: fixed;
      top: 0;
      left: -300px; /* fully hidden */
      width: 250px;
      height: 100vh;
      background: var(--dark-bg);
      padding: 20px;
      box-shadow: 2px 0 5px rgba(0,0,0,0.5);
      transition: left 0.3s ease;
      z-index: 1050;
  }

  .drawer.active {
      left: 0;
  }

  .drawer-menu a {
      display: block;
      color: white;
      padding: 10px 0;
      text-decoration: none;
      font-size: var(--menu-font-size);
      transition: color 0.3s ease;
      font-weight: 300;
  }

  .drawer-menu a.current-menu-item {
    color: #fef52b;
    font-weight: 700;
  }
  

  .drawer-menu a.social-icon {
      padding:0;
  }
  .drawer-menu a:hover {
      color: #fef52b;
  }

  .drawer-separator {
      height: 1px;
      background-color: #fff;
      margin: 15px 0;
  }
  .drawer-social-icons {
    margin-top:15px;
  }

  .drawer-social-icons .social-icon {
      margin-right: 10px;
      background-color: var(--cyan);
      color: var(--dark-bg);
      width: 28px;
      height: 28px;
      border-radius: 3px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
  }

  /* Overlay when drawer is open */
  .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
      z-index: 1040;
      display: none;
  }

  .overlay.active {
      display: block;
  }
}

.site-footer {
  margin-top: 0;
  font-size: var(--footer-font-size);
  color: var(--footer-text);
}

/* --- Footer GFX Section (Desktop) --- */
.footer-gfx {
  height: 646px;
  width: 100%;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: flex-end;
  text-align: center;
  justify-content: center;
}

.footer-gfx .store-links {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer-gfx .store-links .store-row {
  display: flex;
  gap: 30px;
}


/* Graphic links sizing */
.footer-gfx .store-links img {
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  display: block;
}


/* --- Bottom Bar --- */
.bottom-bar {
  background-color: #000;
  padding: 10px 0;
}

.bottom-container {
  width: 1110px;
  max-width: 95%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.bottom-left, .bottom-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.bottom-left i.fa-heart {
  color: red;
  margin: 0 4px;
}

.bottom-socials a {
  background: var(--footer-text);
  color: #000;
  width: 28px;
  height: 28px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  margin-left: 8px;
  font-size: 14px;
  text-decoration: none;
}

.bottom-links {
  display: flex;
  align-items: center;
  margin-left: 20px;
  gap: 10px;
}

.pipe {
  margin: 0 6px;
}
.bottom-links a {
  color: var(--footer-text);
  text-decoration: none;
}

.bottom-links a:hover {
  text-decoration: underline;
}

.bottom-left a {
  color: var(--footer-text);
  text-decoration: none;
}

.bottom-left a:hover {
  text-decoration: underline;
}
.footer-gfx .store-links .scaled-img {
    cursor: pointer;
}
/* --- Mobile --- */
@media (max-width: 768px) {
  .mhid {
    display: none;
  }
  
  .footer-gfx .store-links .store-row {
    gap: 0;
  }
  .footer-gfx .store-links {
    position: relative;
    z-index: 2;
    background-color: #141d64;
    padding: 30px 0 0;
    margin-bottom: 0;
    width: 100%;
    gap:0;
    height: 150px;
  }
  .footer-gfx .store-links .scaled-img {
    display: inline-block;
    transform: scale(0.6);
    transform-origin: top center;
  }

  .footer-gfx .store-links img {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    display: block;
  }
  .bottom-bar {
    padding: 30px 20px;
    text-align: center;
  }

  .bottom-container {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .bottom-left, .bottom-right {
    flex-direction: column;
    align-items: center;
  }

  .bottom-left {
    font-size: var(--footer-small-font);
  }

  .bottom-right .bottom-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-left: 0;
  }
  

/* Force bottom-container children to stack vertically in specific order */
.bottom-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* Reorder groups */
.bottom-right {
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.bottom-links {
  order: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.bottom-left {
  order: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: var(--footer-small-font);
  gap: 5px;
}

.bottom-left span:first-child {
  order: 1; /* Copyright */
}

.bottom-left span:last-child {
  order: 2; /* Made by */
}


}

/* Header Section */
.site-header {
  position: relative;
  width: 100%;
  height: 470px;
  background: url('img/header-bg-sub.jpg') center center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  padding: 60px 20px 0;
  z-index: 1;
}

/* Make sure background image keeps proportions and fills container */
.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.site-header .subtitle {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: var(--header-subtitle-font-size);
  color: #fee318;
  margin-bottom: 10px;
}
.subtitle a{
  color: #fee318;
   font-weight: 700;
}

.site-header .title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: var(--header-title-font-size);
  color: white;
  margin-bottom: 15px;
}

.site-header .lead {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: var(--header-lead-font-size);
  color: white;
  max-width: 800px;
}

/* Mobile adjustments */
@media (max-width: 1200px) {
  .site-header {
    height: auto;
    padding: 30px 20px;
  }
}
@media (min-width: 1200px) {
  .site-header {
    top:-130px;
    margin-bottom: -130px;
  }
}

.patch-notes-section {
  width: 100%;
  height: auto;
  background-image:
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="90" height="51.96"><polygon points="15,0 45,0 60,25.98 45,51.96 15,51.96 0,25.98" stroke="%230090bd" fill="none" stroke-width="1"/><polygon points="60,-25.98 90,-25.98 105,0 90,25.98 60,25.98 45,0" stroke="%230090bd" fill="none" stroke-width="1"/></svg>'),
    linear-gradient(to bottom, #0067aa, #00146f);
  background-repeat: repeat;
  background-size: 90px 51.96px, cover;
  overflow: hidden;
}

.patch-notes-container {
  max-width: 1110px;
  margin: 66px auto;
  padding: 48px;
  background-color: rgba(7, 11, 40, 0.45);
  box-sizing: border-box;
  text-align: center;
}

.patch-notes-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}


.patch-notes-image-wrapper {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}


.patch-notes-image-wrapper::before {
  content: '';
  position: absolute;
  top: -120%;
  left: -120%;
  width: 240%;
  height: 240%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  opacity: 0;
  filter: blur(8px);
  pointer-events: none;
}

.patch-notes-image-wrapper:hover::before {
  animation: shine-glimpse 1s ease-in-out forwards;
}

@keyframes shine-glimpse {
  0% {
    top: -120%;
    left: -120%;
    opacity: 0;
  }
  45% {
    opacity: 1;
  }
  100% {
    top: 120%;
    left: 120%;
    opacity: 0;
  }
}



.patch-notes-text {
  color: white;
  text-align: justify;
  font-size: var(--header-lead-font-size);
  margin-top: 24px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .patch-notes-container {
    margin: 48px 16px;
    padding: 32px;
  }
}


/* Go Up Button Styles */
.go-up-button, .cart-button {
  position: fixed;
  right: 30px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #fee318, #c3ae0c); /* Gradient background */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0; /* Hidden by default */
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease; /* Smooth fade-in and fade-out */
  z-index: 1000;
}

/* Cart Button Placement (Above Go Up Button) */
.cart-button {
  bottom: 115px; /* 70px height of Go Up Button + 15px margin */
}

.go-up-button {
  bottom: 30px; /* Position at the bottom */
}

/* Icon Styles */
.go-up-button i, .cart-button i {
  color: #fff;
  font-size: 24px;
}

/* Show the buttons when scrolling */
.go-up-button.visible, .cart-button.visible {
  opacity: 1;
  visibility: visible;
}
body.home-page .home-header {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 40px;
  box-sizing: border-box;
  background-color: #020414;
}
body.home-page .home-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

body.home-page .home-header .header-inner {
  position: absolute;
  top: calc(50% - 15%);
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: 1110px;
  width: 100%;
  padding: 0 20px;
}
body.home-page .hero-content {
  max-width: 600px;
  color: #fff;
}
body.home-page .subtitle {
  font-family: 'Lato',sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fee318;
  margin-bottom: 10px;
}
body.home-page .title {
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
  text-align: left;
}
body.home-page .store-links {
  display: inline-flex;
  gap: 12px;
  margin-top: 20px;
}
body.home-page .store-links img {
  cursor: pointer;
}
body.home-page .hero-image {
  display: flex;
  justify-content: center;
}
body.home-page .hero-image img {
  max-width: 100%;
}
body.home-page .features-section {
  position: relative;
  margin-top: -80px;
  padding: 120px 20px 60px;
  background-image:
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="90" height="51.96"><polygon points="15,0 45,0 60,25.98 45,51.96 15,51.96 0,25.98" stroke="%230090bd" fill="none" stroke-width="1"/><polygon points="60,-25.98 90,-25.98 105,0 90,25.98 60,25.98 45,0" stroke="%230090bd" fill="none" stroke-width="1"/></svg>'),
    linear-gradient(to bottom,#0067aa,#00146f);
  background-repeat: repeat,no-repeat;
  background-size: 90px 51.96px,cover;
}
body.home-page .features-container {
  max-width: 1110px;
  margin: 0 auto -250px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  height: 250px;
}
.mt-20 {
  margin-top:20px;
}
body.home-page .feature-card {
  flex: 1;
  background: linear-gradient(to right, #004595, #001873);
  border: 2px solid var(--cyan);
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  transform: translateY(-60px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
body.home-page .feature-card .icon {
  width: 130px;
  height: 130px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.home-page .feature-card .icon img {
  width: 130px;
  height: 130px;
  object-fit: contain;
}
body.home-page .feature-title {
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  margin-top: 10px;
  text-transform: uppercase;
}

@media (max-width:1200px) {
  body.home-page .home-header {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
    min-height: auto;
  }
  body.home-page .hero-image {
    margin-top: 30px;
  }
  body.home-page .features-container {

    margin: 0 auto;

  }
  body.home-page .features-section {
    margin-top: 0;
  }
}

@media (min-width:1200px) {
  body.home-page .feature-card {
    transform: translateY(-250px);
  }
}

@media (max-width:1200px) {
  body.home-page .home-header {
    height: 375px;
    width: 100%;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('img/header-bg-mobile.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  body.home-page .home-header .header-inner {
    position: static;
    transform: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  body.home-page .hero-image {
    display: none;
  }
  body.home-page .title {
    font-size: 2.5rem;
    line-height: 1.2;
    text-align: center;
  }
 
}
@media (max-width:768px) {
  body.home-page .features-section {
    margin-top: 0;
    padding: 20px 16px 40px;
  }
  body.home-page .features-container {
    max-width: 360px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    background: rgba(7,11,40,0.6);
    border: 2px solid var(--cyan);
    border-radius: 12px;
    overflow: hidden;
    height: auto;
  }
  body.home-page .feature-card {
    background: transparent;
    border: none;
    box-shadow: none;
    transform: none;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  body.home-page .feature-card + .feature-card {
    border-top: none;
  }
  body.home-page .feature-card .icon {
    width: 60px;
    height: 60px;
    margin: 0;
    background: none;
  }
  body.home-page .feature-card .icon img {
    width: 100%;
    height: auto;
  }
  body.home-page .feature-title {
    flex: 1;
    font-size: 1rem;
    margin: 0;
    text-align: left;
  }
}
.features-inner {
  max-width: 1110px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  padding: 0 20px;
}
.features-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.features-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.video-container {
  position: relative;
  width: 100%;
  max-width: 1110px;
  height: 550px;
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.video-overlay img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.play-button {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-button i {
  color: #fee318;
  font-size: 24px;
}
.section-text .subtitle {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  color: #fee318;
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
}
.section-description {
  max-width: 100%;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: var(--header-lead-font-size);
  color: #fff;
  text-align: justify;
  margin: 0 auto;
}
/* Responsive Adjustments */
@media (max-width: 1200px) {
  .video-container { height: 450px; }
  .features-intro { gap: 16px; }
  .section-title { font-size: 2rem; }

}
@media (max-width: 768px) {
  .video-container { height: 250px; }
  .features-container { flex-direction: column; }
  .section-title { font-size: 1.75rem; }

}

/* --- Reviews Section --- */
.reviews-section {
  background-color: #160756;
  padding: 100px 20px;
}
.reviews-inner {
  max-width: 1110px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}
.reviews-section .subtitle {
  font-family: 'Lato',sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fee318;
  margin-bottom: 10px;
}
.reviews-title {
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.reviews-description {
  margin: 0 auto 40px;
  max-width: 100%;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: var(--header-lead-font-size);
}

/* The sliding “window” */
.reviews-window {
  position: relative;
  overflow: hidden;
}
.reviews-slider {
  display: flex;
  transition: transform 0.5s ease;
}

/* Individual review cards */
.review-item {
  flex: 0 0 100%;
  padding: 40px 20px;
  background: linear-gradient(90deg, #007abf, #000866);
  border: 2px solid var(--cyan);
  border-radius: 12px;
  position: relative;
  box-shadow:
    0 4px 10px rgba(0,0,0,0.3),
    0 8px 20px rgba(0,0,0,0.2),
    0 12px 30px rgba(0,0,0,0.1);
}
.review-item::before {
  content: "\201C";
  font-size: 600px;
  font-family: serif;
  color: #fff;
  opacity: 0.05;
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.reviews-slider,
.review-item {
  box-sizing: border-box;
}
/* Avatar circle */
.review-item .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 2px solid var(--cyan);
}
.review-item .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Name & text */
.reviewer-name {
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 20px;
}
.review-text {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: var(--header-lead-font-size);
}

/* Shadow PNG placeholder */
.reviews-shadow {
  width: 100%;
  max-width: 696px;
  height: auto;
  pointer-events: none;
  margin: 0 auto;
  display: block;
}

/* Controls underneath */
.reviews-controls {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.review-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.review-btn i {
  color: #fff;
  font-size: 16px;
  transition: color 0.3s ease;
}
.review-btn:hover {
  background: #fee318;
}
.review-btn:hover i {
  color: #000;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .reviews-section {
    padding: 60px 16px;
  }
  .reviews-controls {
    /* override any “display:none” */
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }
}


.news-section {
  background-image:
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="90" height="51.96"><polygon points="15,0 45,0 60,25.98 45,51.96 15,51.96 0,25.98" stroke="%230090bd" fill="none" stroke-width="1"/><polygon points="60,-25.98 90,-25.98 105,0 90,25.98 60,25.98 45,0" stroke="%230090bd" fill="none" stroke-width="1"/></svg>'),
    linear-gradient(to bottom, #0067aa, #00146f);
  background-repeat: repeat;
}
.news-container {
  max-width: 1110px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
  position: relative;
}
.section-subtitle {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fee318;
  text-transform: uppercase;
  margin-bottom: 40px;
}
/* Desktop cards */
.news-cards--desktop {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.news-cards--desktop.another {
  margin-top: 60px;
}
.news-card {
  width: 350px;
  background-color: #160756;
  border: 2px solid var(--cyan);
  border-radius: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.news-image {
  width: 100%;
  height: 205px;
  overflow: hidden;
  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
}
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  margin: 16px;
}
.news-lead {
  color: #fff;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 16px;
  flex-grow: 1;
  padding-bottom: 50px;
}
.news-button {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  background-color: #160756;
  border: 2px solid var(--cyan);
  color: var(--cyan);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-decoration: none;
  border-radius: 9px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.news-button:hover {
  background-color: #fee318;
  color: #000;
  border-color: #fee318;
}
.weapons-section .news-cards--desktop {
    display: flex;
     flex-wrap: wrap;
  gap: 1rem;
  }
  .weapons-section .news-cards--desktop article {
  flex: 0 0 calc((100% - 2rem) / 3);
  box-sizing: border-box;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .news-cards--desktop {
    display: none;
  }
  .news-slider-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .news-cards--mobile {
    display: block;
  }
  .news-card {
    display: none;
    width: auto;
    max-width: 80vw;
  }
  .news-card.active {
    display: flex;
  }
  .weapons-section .news-cards--desktop {
    display: flex;
     flex-wrap: wrap;
  gap: 1rem;
  }
  .weapons-section .news-cards--desktop article {
  flex: 0 0 48%;
  box-sizing: border-box;
  margin-bottom: 20px;
}
  .weapons-section .news-card {
    display: block;
  }
  .weapons-section  .news-button {
    font-size:12px;
  }
  .news-prev,
  .news-next {
    background: none;
    border: none;
    color: var(--cyan);
    font-size: 3rem;
    cursor: pointer;
    flex: 0 0 auto;
  }
}
@media (max-width: 450px) {
  .weapons-section .news-cards--desktop article {
    flex: 0 0 100%;
    margin:0 auto 30px;
  }
}
/* Hide arrows on desktop */
@media (min-width: 769px) {
  .news-prev, .news-next { display: none; }
}
@media (min-width: 769px) {
  .news-slider-mobile {
    display: none;
  }
}
@media (max-width: 768px) {
/* On the blog archive only, show desktop cards on mobile as one‐column */
body.blog .news-cards--desktop {
  display: flex;
  flex-direction: column;
  gap: 20px; /* preserve spacing */
}

/* Hide the mobile slider on the blog index */
body.blog .news-slider-mobile {
  display: none !important;
}

/* Keep your “another” margin rule */
.news-cards--desktop.another {
  margin-top: 60px;
}
}
@media (max-width: 768px) {
  body.blog .news-card {
    display: block;
    margin: 0 auto 30px;
  }
}
/* Contact Section */
.contact-section {
  width: 100%;
  background-image:
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="90" height="51.96"><polygon points="15,0 45,0 60,25.98 45,51.96 15,51.96 0,25.98" stroke="%230090bd" fill="none" stroke-width="1"/><polygon points="60,-25.98 90,-25.98 105,0 90,25.98 60,25.98 45,0" stroke="%230090bd" fill="none" stroke-width="1"/></svg>'),
    linear-gradient(to bottom, #0067aa, #00146f);
  background-repeat: repeat;
  background-size: 90px 51.96px, cover;
  overflow: hidden;
}

.contact-container {
  max-width: 1110px;
  margin: 66px auto;
  padding: 48px;
  background-color: rgba(7, 11, 40, 0.45);
  border-radius: 12px;
  box-sizing: border-box;
}

.contact-info-column {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 30px;
}

.contact-box {
  display: flex;
  align-items: flex-start;
  border: 2px solid var(--cyan);
  border-radius: 12px;
  padding: 20px;
  background: linear-gradient(to right, #00116d, #004898);
  flex: 1;
  min-height: 100%;
}
.contact-box:last-child{
  margin-bottom:0;
}
.contact-box img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  margin-right: 20px;
}

.contact-box .contact-text h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  margin: 0 0 8px;
}

.contact-box .contact-text p {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
}

.contact-box a {
  color: #fff;
  text-decoration: underline;
}

.contact-form-column h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 24px;
  padding-top:0;
  margin-top:0;
}

.contact-form {
  display: flex;
  flex-direction: column;
}
.contact-form-column {
  border: 2px solid var(--cyan);
  border-radius: 12px;

  /* <-- gradient from right to left */
  background: linear-gradient(to left, #00116d, #004898);

  padding: 40px 30px;
  box-sizing: border-box;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--cyan);
  padding: 10px 0;
  margin-bottom: 24px;
  color: #fff;
  font-size: 1rem;
  box-sizing: border-box;
  font-family: Lato;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
}

.contact-form ::placeholder {
  color: rgba(255,255,255,0.6);
}

.form-separator {
  border: none;
  border-bottom: 1px solid var(--cyan);
  margin: 24px 0;
}

@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    margin: 48px 16px;
    padding: 32px;
  }
  .contact-form .cta-button {
    align-self: flex-start;
  }
  .contact-info-column {
  flex-direction: column;
}
}
.rankings-section {
  width: 100%;
  background-image:
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="90" height="51.96"><polygon points="15,0 45,0 60,25.98 45,51.96 15,51.96 0,25.98" stroke="%230090bd" fill="none" stroke-width="1"/><polygon points="60,-25.98 90,-25.98 105,0 90,25.98 60,25.98 45,0" stroke="%230090bd" fill="none" stroke-width="1"/></svg>'),
    linear-gradient(to bottom, #0067aa, #00146f);
  background-repeat: repeat;
  background-size: 90px 51.96px, cover;
  overflow: hidden;
}

.rankings-container {
  max-width: 1110px;
  margin: 60px auto;
  padding: 30px 0 60px;
  background-color: rgba(7,11,40,0.45);
  border-radius: 12px;
  box-sizing: border-box;
}

/* Filter Bar inside container */
.rankings-filter-bar {
  width: 100%;
  background-color: rgba(7,11,40,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
  border-radius: 8px;
  margin-bottom: 24px;
}
.rankings-filter-bar .filter-button {
  background: transparent;
  border: none;
  color: #ccc;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  transition: color 0.3s;
}
.rankings-filter-bar .filter-button.active {
  color: #fee318;
}
.rankings-filter-bar .filter-separator {
  margin: 0 12px;
  color: rgba(255,255,255,0.5);
}

/* Action Bar: small centered layer */
.rankings-action-bar {
  display: flex;              /* treat as block flex */
  width: max-content;         /* shrink to content width */
  justify-content: center;    /* center internal buttons */
  background-color: rgba(7,11,40,0.6);
  padding: 8px;
  border-radius: 8px;
  margin: 0 auto 32px;        /* auto margin centers block */
}
.rankings-action-bar .action-button {
  background-color: transparent;
  border: none;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 24px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.rankings-action-bar .action-button.active {
  background-color: #fee318;
  color: #000;
  border-radius: 6px;
}
/* Table & Info Panel */
.rankings-content {
  position: relative;
  padding: 0 40px;
}
.rankings-table {
  width: 100%;
  border-collapse: collapse;
  color: white;
  text-shadow:
    0 0 4px   rgba(0, 255, 255, 0.6),  /* faint inner edge  */
    0 0 8px   rgba(0, 255, 255, 0.4),  /* mid glow          */
    0 0 16px  rgba(0, 255, 255, 0.3);  /* soft outer bloom  */
  font-size: 0.95rem;
}
.rankings-table th,
.rankings-table td {
  padding: 16px;
  text-align: left;
}
.rankings-table th {
  color: white;
  text-shadow: none;
  text-transform: uppercase;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.rankings-table tr:nth-child(even) {
  background: rgba(255,255,255,0.03);
}
.info-panel {
  color: #fff;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .rankings-content {

    padding: 0 20px;
  }
}
.form-feedback {
  width: 300px;
  height: auto;
  display: block;
  margin: 20px auto;
  text-align: center;
  background-color: white;
  border-radius: 9px;
  padding: 9px;
  font-family: Lato;
}
.form-feedback.success { color: green; } .form-feedback.error { color: red; }

/* Dark overlay covering the entire page */
.form-overlay {
  display: none;                /* hidden by default */
  position: fixed;              /* cover the viewport, not just the parent */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;                /* ensure it’s on top */
  
  /* Flexbox centering */

  align-items: center;
  justify-content: center;
}

/* Simple spinner */
.loader {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* weapons */

.weapon-category {
  font-size: 0.9rem;
  color: #888;
  margin-top: 0.25rem;
  font-style: italic;
}

.weapon-category a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
}

.weapon-category a:hover {
  color: #000;
  text-decoration: underline;
}
.weapon-category-switcher select {
  padding: 0.5em;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}
.weapon-category-links a {

  text-decoration: none;
  font-weight: bold;
  margin: 0 0.25em;
}
.weapon-category-links a.active {
  font-size: 1.5rem;
  text-decoration: underline;
}
.weapon-category-links a:hover {
  text-decoration: underline;
}
