:root {
  /* Color System */
  --bg-primary: #0f0f12;
  --bg-secondary: #1c1c20;
  --bg-glass: rgba(255, 255, 255, 0.05);
  --border-glass: rgba(255, 255, 255, 0.1);
  
  /* Accent Colors */
  --neon-green: #32d74b;
  --neon-orange: #ff934f;
  --neon-cyan: #4fd9ff;
  --neon-lavender: #c87eff;
  
  /* Typography */
  --text-primary: #f5f5f5;
  --text-secondary: #b0b3b8;
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Spacing */
  --spacing-desktop: 100px;
  --spacing-tablet: 70px;
  --spacing-mobile: 50px;
  
  /* Layout */
  --sidebar-width: 90px;
  --max-width: 1400px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* Base Elements */
a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--neon-green);
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Floating Particles (Eco-Energy Effect) */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  filter: blur(15px);
  animation: float 15s infinite ease-in-out;
  opacity: 0.4;
}

.particle:nth-child(1) { width: 100px; height: 100px; background: var(--neon-green); top: 10%; left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { width: 150px; height: 150px; background: var(--neon-orange); top: 60%; left: 80%; animation-delay: -5s; }
.particle:nth-child(3) { width: 80px; height: 80px; background: var(--neon-cyan); top: 80%; left: 30%; animation-delay: -10s; }
.particle:nth-child(4) { width: 120px; height: 120px; background: var(--neon-lavender); top: 30%; left: 70%; animation-delay: -7s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Glassy UI Utilities */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-green), #1b8a2e);
  color: #fff;
  box-shadow: 0 4px 15px rgba(50, 215, 75, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(50, 215, 75, 0.4);
  color: #fff;
}

/* Layout System */
.page-wrapper {
  margin-left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Sidebar (Cinematic Farm UI) */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: rgba(28, 28, 32, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.brand-logo {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 50px;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(50, 215, 75, 0.3);
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
  align-items: center;
}

.nav-item {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  cursor: pointer;
}

.nav-item svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition: all 0.3s ease;
}

.nav-item:hover, .nav-item.active {
  background: rgba(50, 215, 75, 0.1);
  border-color: rgba(50, 215, 75, 0.5);
  color: var(--neon-green);
  transform: translateY(-5px) rotate(5deg);
  box-shadow: 0 10px 20px rgba(50, 215, 75, 0.2);
}

.nav-tooltip {
  position: absolute;
  left: 70px;
  background: var(--bg-secondary);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  white-space: nowrap;
  border: 1px solid var(--border-glass);
}

.nav-item:hover .nav-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile Header */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(28, 28, 32, 0.9);
  backdrop-filter: blur(10px);
  z-index: 99;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--border-glass);
}

.hamburger {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Sections */
section {
  padding: var(--spacing-desktop) 0;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 20px;
  background-image: url('images/veroteambridge-neon-farm-hero-bg.jpg'); /* Expected asset */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(15, 15, 18, 0.4), var(--bg-primary));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 50px;
  animation: fadeIn 1s ease-out;
}

.hero h1 {
  font-size: 4rem;
  background: linear-gradient(to right, #fff, var(--neon-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  text-shadow: 0 10px 30px rgba(50, 215, 75, 0.2);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

/* Game Section */
.game-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: radial-gradient(circle at center, rgba(50, 215, 75, 0.05) 0%, transparent 70%);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #fff;
}

.section-title span {
  color: var(--neon-green);
}

.game-container {
  width: 85%;
  aspect-ratio: 16/9;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(50, 215, 75, 0.3);
  box-shadow: 0 0 30px rgba(50, 215, 75, 0.15), inset 0 0 20px rgba(0, 0, 0, 0.8);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: scaleIn 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.game-container:hover {
  transform: scale(1.01);
  box-shadow: 0 0 40px rgba(50, 215, 75, 0.3), inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.game-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  padding: 30px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(200, 126, 255, 0.2);
  border-color: rgba(200, 126, 255, 0.4);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.feature-card:hover .feature-img {
  opacity: 1;
}

.feature-card h3 {
  color: var(--neon-lavender);
  font-size: 1.4rem;
}

/* Internal Pages Styling */
.page-header {
  padding: 150px 20px 80px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(28, 28, 32, 0.8), var(--bg-primary));
}

.page-header h1 {
  font-size: 3rem;
  color: var(--neon-cyan);
}

.content-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px;
}

.content-box h2 {
  color: var(--neon-green);
  margin-top: 30px;
}

.content-box ul {
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.content-box li {
  margin-bottom: 10px;
}

/* Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-control {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-glass);
  padding: 15px;
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--neon-orange);
  box-shadow: 0 0 15px rgba(255, 147, 79, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* Footer */
footer {
  background: var(--bg-secondary);
  padding: 60px 20px 30px;
  margin-top: auto;
  border-top: 1px solid var(--border-glass);
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

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

.footer-links a:hover {
  color: var(--neon-cyan);
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.disclaimer {
  font-size: 0.8rem;
  color: #888;
  margin-top: 10px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 1024px) {
  :root {
    --sidebar-width: 80px;
  }
  .game-container {
    width: 95%;
  }
  section {
    padding: var(--spacing-tablet) 0;
  }
  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  body {
    flex-direction: column;
  }
  .sidebar {
    transform: translateX(-100%);
  }
  body.menu-open .sidebar {
    transform: translateX(0);
    width: 250px;
    align-items: flex-start;
    padding: 30px 20px;
  }
  body.menu-open .nav-item {
    width: 100%;
    justify-content: flex-start;
    padding: 0 15px;
    border-radius: 12px;
  }
  body.menu-open .nav-tooltip {
    position: static;
    opacity: 1;
    transform: none;
    background: transparent;
    border: none;
    padding: 0 0 0 15px;
    font-size: 1rem;
  }
  .page-wrapper {
    margin-left: 0;
    width: 100%;
    padding-top: 70px;
  }
  .mobile-header {
    display: flex;
  }
  .game-container {
    width: 100%;
    border-radius: 12px;
  }
  section {
    padding: var(--spacing-mobile) 0;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-content {
    padding: 20px;
  }
  .content-box {
    padding: 30px 20px;
  }
}