:root {
  /* Color palette - Light Golf Green Theme */
  --primary-green: #15803d;
  --primary-green-dark: #166534;
  --primary-green-light: #22c55e;
  --accent-blue: #0d9488;
  --accent-blue-dark: #0f766e;
  --discord-purple: #5865f2;
  --background-dark: #14532d;
  --background-light: #f0fdf4;
  --card-bg: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #4b5563;
  --text-light: #ffffff;
  --gold: #eab308;
  --warning-bg: #fefce8;
  --warning-border: #eab308;

  /* Gradients */
  --gradient-hero: linear-gradient(
    135deg,
    #14532d 0%,
    #15803d 50%,
    #22c55e 100%
  );
  --gradient-cta: linear-gradient(135deg, #1e71de 0%, #0364e0 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);

  /* Spacing */
  --section-padding: 6rem;
  --container-max: 1200px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.16);
  --shadow-glow: 0 8px 32px rgba(24, 119, 242, 0.4);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background: var(--background-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  transition: all var(--transition-normal);
}

.nav.scrolled {
  background: rgba(20, 83, 45, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-light);
  font-weight: 700;
  font-size: 1.25rem;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  background: var(--gradient-cta);
  color: white !important;
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  opacity: 1 !important;
  box-shadow: var(--shadow-glow);
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(24, 119, 242, 0.5);
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("images/green.png") repeat;
  background-size: 400px 400px;
  opacity: 0.08;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -25%;
  width: 150%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(24, 119, 242, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-tagline {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(24, 119, 242, 0.2);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-video-container::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 50%,
    rgba(24, 119, 242, 0.3) 100%
  );
  border-radius: inherit;
  z-index: -1;
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-cta);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(24, 119, 242, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

.btn-discord {
  background: var(--discord-purple);
  color: white;
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(88, 101, 242, 0.4);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  opacity: 0.6;
}

.scroll-indicator svg {
  width: 32px;
  height: 32px;
}

/* ===== SECTION STYLES ===== */
.section {
  padding: var(--section-padding) 2rem;
}

.section-light {
  background: var(--background-light);
  color: var(--text-primary);
}

.section-white {
  background: #ffffff;
  color: var(--text-primary);
}

.section-dark {
  background: var(--background-dark);
  color: var(--text-light);
}

.section-gradient {
  background: var(--gradient-hero);
  color: var(--text-light);
  position: relative;
}

.section-gradient::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("images/green.png") repeat;
  background-size: 400px 400px;
  opacity: 0.1;
  pointer-events: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(
    135deg,
    var(--primary-green-dark) 0%,
    var(--primary-green-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-dark .section-title,
.section-gradient .section-title {
  background: linear-gradient(135deg, #ffffff 0%, #b8d4c8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-subtitle,
.section-gradient .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* ===== FEATURES SECTION ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-cta);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--primary-green-light) 100%
  );
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(26, 92, 58, 0.25);
}

.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-green-dark);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== SCREENSHOTS SECTION ===== */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.screenshot-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  aspect-ratio: 16 / 10;
  background: #1a1a1a;
}

.screenshot-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition-normal);
}

.screenshot-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.screenshot-item:hover::after {
  opacity: 1;
}

.screenshot-item {
  cursor: pointer;
}

.screenshot-expand-icon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal),
    transform var(--transition-normal);
  z-index: 2;
  pointer-events: none;
}

.screenshot-expand-icon svg {
  width: 18px;
  height: 18px;
  color: white;
}

.screenshot-item:hover .screenshot-expand-icon {
  opacity: 1;
}

/* ===== LIGHTBOX GALLERY ===== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal),
    visibility var(--transition-normal);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.lightbox.active .lightbox-image {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast),
    transform var(--transition-fast);
  z-index: 2001;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast),
    transform var(--transition-fast);
  z-index: 2001;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav svg {
  width: 28px;
  height: 28px;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 20px;
  border-radius: 20px;
}

/* Mobile lightbox adjustments */
@media (max-width: 768px) {
  .lightbox-nav {
    width: 44px;
    height: 44px;
  }

  .lightbox-nav svg {
    width: 22px;
    height: 22px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .lightbox-counter {
    bottom: 16px;
    font-size: 0.85rem;
    padding: 6px 16px;
  }

  .screenshot-expand-icon {
    opacity: 0.7;
  }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--primary-green);
  opacity: 0.1;
  line-height: 1;
}

.testimonial-rating {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.testimonial-author::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--primary-green);
}

/* ===== REQUIREMENTS SECTION ===== */
.requirements-container {
  max-width: 800px;
  margin: 0 auto;
}

.requirements-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.requirements-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--gradient-cta);
}

.requirements-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-green-dark);
  margin-bottom: 2rem;
}

.requirements-list {
  list-style: none;
  margin-bottom: 2rem;
}

.requirements-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-primary);
  font-size: 1.05rem;
}

.requirements-list li:last-child {
  border-bottom: none;
}

.check-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--primary-green-light) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  margin-top: 2px;
}

.note-box {
  background: var(--warning-bg);
  border-left: 4px solid var(--warning-border);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 2rem;
}

.note-box strong {
  color: #a16207;
}

.note-box p {
  color: #a16207;
  font-size: 0.95rem;
  line-height: 1.6;
}

.controller-note {
  margin-top: 2rem;
  color: var(--text-secondary);
  font-size: 1rem;
  font-style: italic;
  text-align: center;
}

/* ===== CTA SECTION ===== */
.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.cta-text {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
  background: #000;
  padding: 2rem;
  text-align: center;
}

.footer p {
  color: #666;
  font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

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

/* Lazy load images */
img {
  opacity: 0;
  transition: opacity var(--transition-normal);
}

img.loaded,
.lightbox-image {
  opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(20, 83, 45, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    backdrop-filter: blur(20px);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 7rem 1.5rem 3rem;
    min-height: auto;
  }

  .hero-video-container {
    margin-bottom: 2rem;
  }

  .btn {
    padding: 0.9rem 1.75rem;
    font-size: 1rem;
  }

  .section {
    padding: 4rem 1.5rem;
  }

  .feature-card {
    padding: 2rem;
  }

  .requirements-card {
    padding: 2rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
  }
}

