/* ============================================
   Delta Force - Fan Site Styles
   Inspired by www.playdeltaforce.com
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: Arial, Helvetica, 'Noto Sans', sans-serif;
  background-color: #0a0a0a;
  color: #ffffff;
  overflow-x: hidden;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
}

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

.logo-icon svg {
  display: block;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav ul {
  display: flex;
  gap: 28px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.3s ease;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #f97316, #ea580c);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: #ffffff;
}

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

.btn-download {
  display: inline-flex;
  align-items: center;
  padding: 10px 28px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.4);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(10, 10, 10, 0.98);
  z-index: 2000;
  transition: right 0.4s ease;
  padding: 24px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 36px;
  color: #ffffff;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 40px;
}

.mobile-menu-inner ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-menu-inner a {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #a1a1aa;
  transition: color 0.3s ease;
}

.mobile-menu-inner a:hover {
  color: #f97316;
}

.btn-download-mobile {
  display: inline-flex;
  padding: 14px 40px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff !important;
  border-radius: 4px;
  font-weight: 700 !important;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0a0a0a 0%, #1a0a00 50%, #0a0a0a 100%);
  z-index: 0;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: grayscale(0.5) contrast(1.2);
}

.hero-bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0.4) 50%, rgba(10,10,10,0.9) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(249, 115, 22, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(234, 88, 12, 0.06) 0%, transparent 60%);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-logo {
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 4px;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.2s forwards;
}

.hero-subtitle {
  font-size: clamp(14px, 2vw, 18px);
  color: #a1a1aa;
  letter-spacing: 2px;
  margin-bottom: 48px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.4s forwards;
}

.hero-btn {
  display: inline-flex;
  position: relative;
  padding: 18px 60px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 2px;
  color: #ffffff;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.6s forwards;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(249, 115, 22, 0.5);
}

.hero-btn-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.hero-btn:hover .hero-btn-mask {
  transform: translateX(100%);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  display: block;
  width: 24px;
  height: 24px;
  border-right: 2px solid #f97316;
  border-bottom: 2px solid #f97316;
  transform: rotate(45deg);
  opacity: 0.6;
}

/* ============================================
   Sections (Warfare, Operations, Universe, Community)
   ============================================ */
.section {
  position: relative;
  padding: 120px 24px;
  overflow: hidden;
}

.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

.section-label {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #f97316;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 60px;
}

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

/* Warfare & Operations specific */
.warfare, .operations {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.warfare .section-container,
.operations .section-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.warfare .section-bg {
  background: linear-gradient(180deg, #0a0a0a 0%, #0d1a0a 50%, #0a0a0a 100%);
}

.operations .section-bg {
  background: linear-gradient(180deg, #0a0a0a 0%, #0a0a14 50%, #0a0a0a 100%);
}

.section-content-left {
  padding-right: 40px;
}

.mode-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #f97316;
  letter-spacing: 3px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
  line-height: 1.1;
}

.section-desc {
  font-size: clamp(14px, 1.5vw, 18px);
  color: #a1a1aa;
  line-height: 1.6;
  letter-spacing: 1px;
}

.section-content-right {
  display: flex;
  justify-content: center;
}

.preview-box {
  width: 100%;
}

.preview-label {
  font-size: 12px;
  font-weight: 700;
  color: #f97316;
  letter-spacing: 3px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.preview-media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-media img {
  width: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 0.6s ease;
  background: linear-gradient(135deg, #1a1a1a, #2a1a0a);
}

.preview-media:hover img {
  transform: scale(1.05);
}

.preview-title {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.preview-desc {
  font-size: 14px;
  color: #a1a1aa;
  line-height: 1.7;
}

/* ============================================
   Universe Section
   ============================================ */
.universe .section-bg {
  background: linear-gradient(180deg, #0a0a0a 0%, #0a0a1a 50%, #0a0a0a 100%);
}

.universe-header {
  text-align: center;
  margin-bottom: 80px;
}

.universe-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #f97316;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 2px;
}

.universe .section-title {
  font-size: clamp(28px, 3.5vw, 48px);
}

.universe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.universe-card {
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  text-align: center;
  transition: all 0.4s ease;
}

.universe-card:hover {
  background: rgba(249, 115, 22, 0.05);
  border-color: rgba(249, 115, 22, 0.2);
  transform: translateY(-8px);
}

.universe-card-icon {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.universe-card h3 {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.universe-card p {
  font-size: 14px;
  color: #a1a1aa;
  line-height: 1.7;
}

.learn-more {
  text-align: center;
}

.learn-more-btn {
  display: inline-flex;
  position: relative;
  padding: 14px 48px;
  border: 2px solid rgba(249, 115, 22, 0.5);
  border-radius: 4px;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 3px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.learn-more-btn:hover {
  border-color: #f97316;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.3);
}

.btn-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(249, 115, 22, 0.1) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.learn-more-btn:hover .btn-mask {
  transform: translateX(100%);
}

/* ============================================
   Community Section
   ============================================ */
.community .section-bg {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a0a00 50%, #0a0a0a 100%);
}

.community-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.community-badge {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #f97316;
  letter-spacing: 4px;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.community .section-desc {
  margin-bottom: 60px;
}

.cta-wrapper {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 60px;
}

.cta-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.cta-subtitle {
  font-size: clamp(16px, 2vw, 24px);
  color: #f97316;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 40px;
}

.cta-btn {
  display: inline-flex;
  position: relative;
  padding: 16px 52px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 4px;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(249, 115, 22, 0.5);
}

.cta-btn:hover .btn-mask {
  transform: translateX(100%);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 60px 24px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

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

.social-icon:hover {
  background: rgba(249, 115, 22, 0.2);
  transform: translateY(-3px);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 32px;
}

.footer-links a {
  font-size: 12px;
  color: #71717a;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #f97316;
}

.footer-copyright {
  font-size: 12px;
  color: #52525b;
  letter-spacing: 0.5px;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(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);
  }
}

/* ============================================
   Section Animation on Scroll
   ============================================ */
.section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .warfare .section-container,
  .operations .section-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .section-content-left {
    padding-right: 0;
    text-align: center;
  }

  .universe-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .btn-download {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-inner {
    height: 60px;
  }

  .mobile-menu {
    display: block;
  }

  .section {
    padding: 80px 20px;
  }

  .universe-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-links {
    gap: 6px 16px;
  }
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}
