/* ====== BASE STYLES ====== */
:root {
  --primary-color: #46932a;
  --secondary-color: #1d2631;
  --accent-color: #e63912;
  --text-color: #e5e5e5;
  --dark-bg: #0a0e12;
  --dark-bg-alt: #151b22;
  --overlay-color: rgba(10, 14, 18, 0.8);
  --border-color: rgba(255, 255, 255, 0.1);
  --highlight-color: #46932a;
  
  --heading-font: 'Rajdhani', sans-serif;
  --body-font: 'Barlow', sans-serif;
  
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
  
  --section-padding: 100px 0;
  --section-padding-mobile: 60px 0;
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

section {
  position: relative;
  padding: var(--section-padding);
  overflow: hidden;
}

.highlight {
  color: var(--highlight-color);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--heading-font);
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  position: relative;
}

.title-underline {
  height: 3px;
  width: 80px;
  background: var(--highlight-color);
  margin: 0 auto;
  position: relative;
}

.title-underline::before, .title-underline::after {
  content: '';
  position: absolute;
  height: 3px;
  background: var(--highlight-color);
  top: 0;
}

.title-underline::before {
  width: 40px;
  left: -50px;
}

.title-underline::after {
  width: 40px;
  right: -50px;
}

/* ====== LOADER ====== */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  width: 120px;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

.progress-bar {
  width: 300px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto 10px;
  border-radius: 2px;
  overflow: hidden;
}

.progress {
  height: 100%;
  width: 0%;
  background: var(--highlight-color);
  transition: width 0.5s ease;
}

.loading-text {
  font-family: var(--heading-font);
  font-size: 1rem;
  letter-spacing: 2px;
  animation: blink 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ====== NAVBAR ====== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 0;
  z-index: 1000;
  transition: background 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
  background: linear-gradient(135deg, rgba(25, 25, 25, 0.75) 0%, rgba(10, 10, 10, 0.85) 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(70, 147, 42, 0.3);
}

.navbar.scrolled {
  background: linear-gradient(135deg, rgba(25, 25, 25, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 8px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(70, 147, 42, 0.5);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo img {
  height: 32px;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.1);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-link {
  margin: 0 12px;
  padding: 3px 0;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  position: relative;
  text-transform: uppercase;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--highlight-color);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--highlight-color);
}

.nav-link:hover::after {
  width: 100%;
}

.download-btn {
  background: var(--highlight-color);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-family: var(--heading-font);
  font-weight: 600;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  border: 2px solid var(--highlight-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.download-btn:hover {
  background: transparent;
  color: var(--highlight-color);
  transform: translateY(-2px);
}

.btn-icon {
  margin-left: 8px;
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: 0.3s;
}

/* ====== HERO SECTION ====== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 0;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#hero-video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 14, 18, 0.8) 0%,
    rgba(10, 14, 18, 0.6) 50%,
    rgba(10, 14, 18, 0.9) 100%
  );
}

.hero-content {
  max-width: 1000px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  margin-top: 60px;
}

.title {
  font-family: var(--heading-font);
  font-size: 5rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 4px;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  animation: fadeInDown 1s ease;
}

.subtitle {
  font-size: 1.5rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  animation: fadeIn 1s ease 0.4s both;
}

.primary-btn {
  background: var(--highlight-color);
  color: white;
  padding: 12px 30px;
  border-radius: 4px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid var(--highlight-color);
  text-transform: uppercase;
}

.primary-btn:hover {
  background: transparent;
  color: var(--highlight-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.secondary-btn {
  background: transparent;
  color: var(--text-color);
  padding: 12px 30px;
  border-radius: 4px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid var(--text-color);
  text-transform: uppercase;
}

.secondary-btn:hover {
  background: var(--text-color);
  color: var(--dark-bg);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  animation: fadeIn 1s ease 0.6s both;
}

.platform-icons {
  display: flex;
  margin-left: 15px;
  gap: 15px;
}

.platform-icons i {
  font-size: 1.5rem;
  transition: var(--transition-fast);
}

.platform-icons i:hover {
  color: var(--highlight-color);
  transform: scale(1.2);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeIn 1s ease 0.8s both, bounce 2s infinite;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  padding: 10px;
  z-index: 10;
}

.scroll-indicator:hover {
  opacity: 0.8;
  transform: translateX(-50%) translateY(-5px);
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--text-color);
  border-radius: 15px;
  margin: 0 auto 5px;
  position: relative;
  transition: border-color 0.3s ease;
}

.scroll-indicator:hover .mouse {
  border-color: var(--highlight-color);
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--text-color);
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scroll 1.5s infinite;
  transition: background-color 0.3s ease;
}

.scroll-indicator:hover .wheel {
  background-color: var(--highlight-color);
}

.scroll-indicator p {
  font-size: 0.8rem;
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

.scroll-indicator:hover p {
  color: var(--highlight-color);
}

@keyframes scroll {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 15px); opacity: 0; }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ====== ABOUT HERO SECTION REWORKED STYLES ====== */
.about-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/images/Page images/Default-ver-4k.488868a6.jpg') center center/cover no-repeat;
  z-index: 0;
  opacity: 0.3; /* خففنا الصورة كتير */
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
  
    to bottom,
    rgba(10, 14, 18, 0.9),
    rgba(10, 14, 18, 0.95)
  );
  z-index: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  
}

.about-hero-container {
  position: relative;
  z-index: 2;
  max-width: 1150px;
  width: 100%;
  margin: 0 auto;
  background: rgba(20, 28, 36, 0.7);
  border-radius: 18px;
  padding: 20px 80px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.about-hero .about-logo {
  width: 64px;
  margin-bottom: 18px;
}
.about-hero .section-title {
  font-size: 2.6rem;
  margin-bottom: 18px;
  letter-spacing: 2px;
}
.about-hero .about-lead {
  font-size: 1.15rem;
  margin-bottom: 32px;
  color: #e5e5e5;
}
.about-hero .about-features-cards {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.about-hero .about-feature-card {
  background: none;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 180px;
  max-width: 240px;
  padding: 0 10px;
}
.about-hero .about-feature-card i {
  font-size: 2rem;
  color: var(--highlight-color);
  margin-bottom: 10px;
}
.about-hero .about-feature-card h4 {
  font-size: 1.15rem;
  margin: 0 0 6px 0;
  color: #fff;
  font-weight: 700;
}
.about-hero .about-feature-card p {
  font-size: 1rem;
  color: #e5e5e5;
  margin: 0;
}
.about-hero .about-more-link {
  margin-top: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--highlight-color);
  letter-spacing: 1px;
  position: relative;
  transition: all 0.3s ease;
  display: inline-block;
  font-family: var(--heading-font);
}
.about-hero .about-more-link:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(70,147,42,0.6);
}
@media (max-width: 900px) {
  .about-hero-container {
    max-width: 98vw;
    padding: 32px 10vw;
  }
  .about-hero .about-features-cards {
    gap: 18px;
  }
}
@media (max-width: 700px) {
  .about-hero-container {
    padding: 18px 4vw;
  }
  .about-hero .section-title {
    font-size: 1.5rem;
  }
  .about-hero .about-features-cards {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .about-hero .about-feature-card {
    max-width: 100%;
    min-width: 0;
    padding: 0;
  }
}

/* ====== ABOUT SECTION ====== */
.about {
  position: relative;
  background: url('assets/images/Page images/Default-ver-4k.488868a6.jpg') no-repeat center center;
  background-size: cover;
  z-index: 1;
}

.about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(10,14,18,0.85) 0%, rgba(10,14,18,0.7) 60%, rgba(10,14,18,0.95) 100%);
  z-index: 0;
  pointer-events: none;
}

.about .section-container, .about-flex-row, .about-center, .about-soldier {
  position: relative;
  z-index: 1;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

.about-image img {
  display: block;
  transition: transform 0.8s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.parallax-img {
  transition: transform 0.5s ease-out;
}

.about-soldier img {
  max-width: 420px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
  position: relative;
  z-index: 1;
  box-shadow: 0 0 32px 8px rgba(70,147,42,0.10), 0 2px 24px 0 rgba(0,0,0,0.25);
  border-radius: 18px;
}

.about-soldier-left {
  position: relative;
}

.about-soldier-left::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 40%;
  background: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(10,14,18,0.7) 60%, rgba(10,14,18,0.95) 100%);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: normal;
}

.about-soldier-right {
  position: relative;
}

.about-soldier-right::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 40%;
  background: linear-gradient(to left, rgba(0,0,0,0) 0%, rgba(10,14,18,0.7) 60%, rgba(10,14,18,0.95) 100%);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: normal;
}

.about-soldier-left img {
  -webkit-mask-image: linear-gradient(to right, #fff 80%, transparent 100%);
  mask-image: linear-gradient(to right, #fff 80%, transparent 100%);
}
.about-soldier-right img {
  -webkit-mask-image: linear-gradient(to left, #fff 80%, transparent 100%);
  mask-image: linear-gradient(to left, #fff 80%, transparent 100%);
}

/* ====== FEATURES SECTION ====== */
.features {
  position: relative;
  background: var(--dark-bg);
}

.wireframe-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/images/Page images/Wireframe-ver-4k.d593025f.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 1;
}

.parallax-bg {
  background-attachment: fixed;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: rgba(29, 38, 49, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--highlight-color);
  box-shadow: 0 15px 40px rgba(70, 147, 42, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--highlight-color);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h3 {
  font-family: var(--heading-font);
  font-size: 1.3rem;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.feature-heading {
  font-family: var(--heading-font);
  font-size: 1.3rem;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.feature-subheading {
  font-size: 1.15rem;
  margin: 0 0 6px 0;
  color: #fff;
  font-weight: 700;
}

.text-link {
  color: var(--highlight-color);
  text-decoration: underline;
  transition: all 0.3s ease;
}

.text-link:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(70,147,42,0.6);
}

.feature-card p {
  font-size: 1rem;
  color: rgba(229, 229, 229, 0.8);
  line-height: 1.7;
}

/* ====== MEDIA SECTION: SCREENSHOTS ====== */
.screenshots {
  background: var(--dark-bg-alt);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 18, 0.18);
  transition: background 0.4s;
  z-index: 2;
  pointer-events: none;
}

.gallery-item:hover::after {
  background: rgba(10, 14, 18, 0);
}

.gallery-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2147483647 !important;
  pointer-events: auto !important;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
}

.lightbox-content,
.close-lightbox,
.lightbox-controls {
  z-index: 2147483647 !important;
  position: relative;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: var(--text-color);
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-lightbox:hover {
  color: var(--highlight-color);
}

.lightbox-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
}

.lightbox-controls button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--text-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-controls button:hover {
  background: var(--highlight-color);
}

/* ====== MEDIA SECTION: VIDEOS ====== */
.videos {
  background: var(--dark-bg);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.video-card {
  background: rgba(29, 38, 49, 0.8);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--highlight-color);
}

.video-thumbnail {
  position: relative;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  cursor: pointer;
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(70, 147, 42, 0.8);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.play-button i {
  color: white;
  font-size: 1.5rem;
}

.video-card:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--highlight-color);
}

.video-info {
  padding: 20px;
}

.video-info h3 {
  font-family: var(--heading-font);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.youtube-player {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.youtube-player.active {
  display: flex;
}

.youtube-player-container {
  position: relative;
  width: 80%;
  max-width: 900px;
}

#youtube-frame-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

#youtube-frame-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.close-youtube {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 2.5rem;
  color: var(--text-color);
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-youtube:hover {
  color: var(--highlight-color);
}

/* ====== SPECS SECTION ====== */
.specs {
  background: var(--dark-bg-alt);
  position: relative;
  overflow: hidden;
}

.soldier-left, .soldier-right {
  position: absolute;
  height: 100%;
  width: 20%;
  bottom: 0;
  z-index: 1;
  opacity: 0.4;
  transition: transform 0.5s ease-out;
}

.soldier-left {
  left: 0;
  background: url('assets/images/Page images/soldier-left-cropped-min.6e8b38ba.png') no-repeat;
  background-size: contain;
  background-position: bottom left;
}

.soldier-right {
  right: 0;
  background: url('assets/images/Page images/soldier-right-cropped-min.02ed977c.png') no-repeat;
  background-size: contain;
  background-position: bottom right;
}

.specs-container {
  background: rgba(29, 38, 49, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 40px;
  border: 1px solid var(--border-color);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.specs-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.specs-tab {
  background: none;
  border: none;
  color: var(--text-color);
  padding: 10px 20px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  letter-spacing: 1px;
}

.specs-tab::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -15px;
  left: 0;
  background-color: var(--highlight-color);
  transition: width 0.3s ease;
}

.specs-tab:hover {
  color: var(--highlight-color);
}

.specs-tab.active {
  color: var(--highlight-color);
}

.specs-tab.active::after {
  width: 100%;
}

.specs-content {
  display: none;
}

.specs-content.active {
  display: block;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.specs-item {
  text-align: center;
  padding: 20px;
  background: rgba(10, 14, 18, 0.3);
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.specs-item:hover {
  transform: translateY(-5px);
  border-color: var(--highlight-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.specs-icon {
  font-size: 2rem;
  color: var(--highlight-color);
  margin-bottom: 15px;
}

.specs-item h4 {
  font-family: var(--heading-font);
  font-size: 1.1rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.specs-item p {
  font-size: 0.95rem;
  color: rgba(229, 229, 229, 0.8);
}

/* ====== DOWNLOAD SECTION ====== */
.download {
  position: relative;
  background: var(--dark-bg);
  text-align: center;
}

.download-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/images/Page images/Default-ver-4k.488868a6.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 1;
}

.download-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.download-content::before {
  content: 'Download Now';
  display: block;
  font-family: var(--heading-font);
  font-size: 1.5rem;
  color: var(--highlight-color);
  margin-bottom: 20px;
  text-align: center;
}

.download-text {
  font-size: 1.3rem;
  margin-bottom: 40px;
  line-height: 1.8;
}

.download-platforms {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.download-platforms .platform-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  background: var(--secondary-color);
  border-radius: 8px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid var(--border-color);
  min-width: 200px;
}

.platform-btn i {
  font-size: 1.5rem;
  margin-right: 10px;
}

.download-now-btn {
  background: var(--highlight-color) !important;
  color: white !important;
  font-size: 1.3rem !important;
  padding: 18px 40px !important;
  min-width: 280px !important;
  border: 2px solid var(--highlight-color) !important;
  margin-bottom: 10px;
}

.download-now-btn:hover {
  background: transparent !important;
  color: var(--highlight-color) !important;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.steam-btn::before, .ps-btn::before {
  content: '';
}

.steam-btn:hover {
  background: #171a21;
  border-color: #1b2838;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.ps-btn:hover {
  background: #00439c;
  border-color: #0070d1;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* ====== FOOTER ====== */
.footer {
  background: var(--secondary-color);
  padding: 60px 0 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 40px;
  margin-right: 15px;
}

.footer-logo h3 {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  letter-spacing: 2px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-link i {
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--highlight-color);
  transform: translateY(-3px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-family: var(--heading-font);
  font-size: 1.1rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--highlight-color);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  transition: all 0.3s ease;
  font-size: 0.95rem;
  opacity: 0.8;
}

.footer-col ul li a:hover {
  color: var(--highlight-color);
  opacity: 1;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ====== FLOATING DOWNLOAD BUTTON ====== */
.floating-download {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-download.visible {
  transform: scale(1);
}

.floating-btn {
  display: flex;
  align-items: center;
  background: var(--highlight-color);
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  font-family: var(--heading-font);
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.floating-btn:hover {
  background: #387a23;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.floating-icon {
  margin-left: 10px;
}

.pulse-btn {
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0px rgba(70, 147, 42, 0.4);
  }
  100% {
    box-shadow: 0 0 0 15px rgba(70, 147, 42, 0);
  }
}

/* ====== ANIMATIONS ====== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====== MEDIA QUERIES ====== */
@media screen and (max-width: 1200px) {
  .section-title {
    font-size: 2.5rem;
  }
  
  .title {
    font-size: 4rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .soldier-left, .soldier-right {
    display: none;
  }
  .about-soldier img {
    max-width: 280px;
  }
}

@media screen and (max-width: 768px) {
  .navbar-container {
    position: relative;
  }
  
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    background: var(--dark-bg);
    height: 100vh;
    width: 80%;
    max-width: 300px;
    padding-top: 80px;
    transition: right 0.3s ease;
    z-index: 1000;
    align-items: flex-start;
    padding-left: 40px;
  }
  
  .nav-menu.active {
    right: 0;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
  }
  
  .nav-menu li {
    margin: 15px 0;
  }
  
  .nav-link {
    font-size: 1.2rem;
  }
  
  .menu-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  
  .title {
    font-size: 3rem;
  }
  
  .subtitle {
    font-size: 1.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .video-grid {
    grid-template-columns: 1fr;
  }
  
  .specs-grid {
    grid-template-columns: 1fr;
  }
  
  .download-platforms {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }
  
  .title {
    font-size: 2.5rem;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-col ul li a:hover {
    padding-left: 0;
  }
  
  .nav-cta {
    display: none;
  }
}

/* ====== FAQ SECTION ====== */
.faq {
  background: var(--dark-bg-alt);
  padding: var(--section-padding);
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.faq-item {
  background: rgba(29, 38, 49, 0.8);
  border-radius: 8px;
  padding: 30px 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--highlight-color);
  transform: translateY(-5px);
}

.faq-item h3 {
  font-family: var(--heading-font);
  font-size: 1.2rem;
  color: var(--highlight-color);
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 1rem;
  color: rgba(229, 229, 229, 0.85);
  line-height: 1.7;
}

@media screen and (max-width: 992px) {
  .faq-list {
    grid-template-columns: 1fr;
  }
}

/* ====== NEWSLETTER SECTION ====== */
.newsletter {
  background: var(--dark-bg);
  padding: var(--section-padding);
  text-align: center;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  padding: 14px 18px;
  border-radius: 30px;
  border: 2px solid var(--highlight-color);
  font-size: 1.1rem;
  outline: none;
  min-width: 260px;
  background: var(--dark-bg-alt);
  color: var(--text-color);
  transition: border 0.3s;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--accent-color);
}

.newsletter-btn {
  padding: 14px 32px;
  border-radius: 30px;
  background: var(--highlight-color);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  margin-right: 0;
}

.newsletter-btn:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
}

.newsletter-desc {
  color: rgba(229, 229, 229, 0.8);
  font-size: 1rem;
  margin-top: 10px;
}

@media screen and (max-width: 576px) {
  .newsletter-form {
    flex-direction: column;
    gap: 10px;
  }
  .newsletter-form input[type="email"],
  .newsletter-btn {
    width: 100%;
    min-width: unset;
  }
}

/* ====== DOWNLOAD SECTION SOLDIER IMAGES ====== */
.download-soldier-left {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 20%;
  height: 100%;
  background: url('assets/images/Page images/soldier-left-cropped-min.6e8b38ba.png') no-repeat left bottom;
  background-size: contain;
  opacity: 0.4;
  z-index: 2;
  pointer-events: none;
}
.download-soldier-right {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 20%;
  height: 100%;
  background: url('assets/images/Page images/soldier-right-cropped-min.02ed977c.png') no-repeat right bottom;
  background-size: contain;
  opacity: 0.4;
  z-index: 2;
  pointer-events: none;
}
.download .section-container {
  position: relative;
  z-index: 3;
}
@media screen and (max-width: 992px) {
  .download-soldier-left,
  .download-soldier-right {
    display: none;
  }
}

/* ====== ABOUT FLEX ROW CUSTOM LAYOUT ====== */
.about-flex-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}
.about-soldier {
  flex: 0 0 300px;
}

.about-soldier img {
  max-width: 960px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
}

.about-soldier-left img {
  -webkit-mask-image: linear-gradient(to right, #fff 80%, transparent 100%);
  mask-image: linear-gradient(to right, #fff 80%, transparent 100%);
}
.about-soldier-right img {
  -webkit-mask-image: linear-gradient(to left, #fff 80%, transparent 100%);
  mask-image: linear-gradient(to left, #fff 80%, transparent 100%);
}

.about-center {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
}
.about-logo {
  width: 110px;
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.3));
}
.about-text {
  max-width: 500px;
  margin: 0 auto;
}
@media screen and (max-width: 992px) {
  .about-flex-row {
    flex-direction: column;
    gap: 20px;
  }
  .about-soldier {
    flex: 0 0 120px;
  }
  .about-soldier img {
    max-width: 100px;
  }
  .about-logo {
    width: 80px;
  }
}

/* ====== BLOG SECTION / GAME OVERVIEW ====== */
.blog {
  background: var(--dark-bg);
  padding: var(--section-padding);
  position: relative;
}

.blog::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/images/Page images/Wireframe-ver-4k.d593025f.jpg');
  opacity: 0.07;
  z-index: 0;
}

.blog-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.blog-article {
  background: rgba(29, 38, 49, 0.7);
  border-radius: 10px;
  padding: 35px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.article-title {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--highlight-color);
  letter-spacing: 1px;
}

.article-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  font-size: 0.9rem;
  color: rgba(229, 229, 229, 0.7);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.article-content p {
  margin-bottom: 18px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(229, 229, 229, 0.9);
}

.article-content strong {
  color: var(--text-color);
  font-weight: 600;
}

@media screen and (max-width: 768px) {
  .blog-article {
    padding: 25px 20px;
  }
  
  .article-title {
    font-size: 1.3rem;
  }
  
  .article-meta {
    flex-direction: column;
    gap: 5px;
  }
}

.media.videos,
.video-grid {
  z-index: 0 !important;
  position: relative;
}