:root {
  --bg-primary: #0a0c10;
  --bg-secondary: #11151c;
  --bg-card: rgba(18, 22, 31, 0.75);
  --bg-card-hover: rgba(26, 32, 45, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(97, 218, 251, 0.3);
  
  --kiwo-green: #76db00;
  --kiwo-green-glow: rgba(118, 219, 0, 0.35);
  --kiwo-cyan: #00d2ff;
  --kiwo-cyan-glow: rgba(0, 210, 255, 0.35);
  
  --racing-red: #ff1e27;
  --racing-red-glow: rgba(255, 30, 39, 0.4);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-bright: #ffffff;
  
  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

/* Background grid pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(rgba(118, 219, 0, 0.04) 1px, transparent 1px),
    radial-gradient(rgba(0, 210, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px, 80px 80px;
  background-position: 0 0, 20px 20px;
  pointer-events: none;
  z-index: -1;
}

/* Ambient glow blobs */
.ambient-glow-1 {
  position: fixed;
  top: -10vw;
  right: -10vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(80px);
}

.ambient-glow-2 {
  position: fixed;
  bottom: 10vh;
  left: -10vw;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(118, 219, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(90px);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-bright);
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 15px var(--kiwo-green-glow);
  border: 1px solid rgba(118, 219, 0, 0.4);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-text span {
  color: var(--kiwo-green);
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--kiwo-green), var(--kiwo-cyan));
  transition: var(--transition-smooth);
}

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

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

.nav-btn {
  background: linear-gradient(135deg, var(--kiwo-green), #58a700);
  color: #05070a;
  padding: 0.55rem 1.4rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: 0 0 20px var(--kiwo-green-glow);
  transition: var(--transition-smooth);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(118, 219, 0, 0.6);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 5rem;
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.2) 0%, rgba(10, 12, 16, 0.95) 100%);
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.65) contrast(1.1);
  transform: scale(1.02);
  transition: transform 10s ease-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 60% 40%, rgba(10, 12, 16, 0.3) 0%, rgba(10, 12, 16, 0.95) 85%);
  z-index: -1;
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(118, 219, 0, 0.12);
  border: 1px solid rgba(118, 219, 0, 0.4);
  border-radius: 30px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--kiwo-green);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--kiwo-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--kiwo-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--kiwo-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--racing-red), #c91018);
  color: #ffffff;
  padding: 0.9rem 2rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: 0 0 25px var(--racing-red-glow);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(255, 30, 39, 0.7);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  color: var(--text-bright);
  padding: 0.9rem 1.8rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.hero-mascot-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-mascot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--kiwo-green), var(--kiwo-cyan));
}

.mascot-img-wrap {
  width: 240px;
  height: 240px;
  position: relative;
  margin-bottom: 1.5rem;
}

.mascot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.8));
  transition: transform 0.5s ease;
}

.hero-mascot-card:hover .mascot-img {
  transform: scale(1.05) rotate(-2deg);
}

.mascot-info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.mascot-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Section Common */
.section {
  padding: 6.5rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

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

.section-tag {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--kiwo-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Game Feature Showcase: RACING GROUNDS */
.rg-showcase {
  background: linear-gradient(145deg, rgba(17, 21, 28, 0.9), rgba(10, 12, 16, 0.95));
  border: 1px solid rgba(255, 30, 39, 0.25);
  border-radius: 24px;
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.rg-showcase::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(circle, rgba(255, 30, 39, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.rg-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.rg-logo-wrap {
  margin-bottom: 2rem;
}

.rg-logo {
  max-width: 380px;
  width: 100%;
  filter: drop-shadow(0 10px 20px rgba(255, 30, 39, 0.35));
}

.rg-subtitle {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #ff5258;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.rg-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.rg-specs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.rg-spec-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  transition: var(--transition-smooth);
}

.rg-spec-item:hover {
  background: rgba(255, 30, 39, 0.06);
  border-color: rgba(255, 30, 39, 0.3);
}

.spec-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-bright);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.spec-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Feature Preview Media Card */
.rg-media-preview {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rg-media-img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.rg-media-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.platform-pill {
  background: #1b2838;
  color: #66c0f4;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Studio & Pipeline Grid */
.studio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.studio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(14px);
  transition: var(--transition-smooth);
  position: relative;
}

.studio-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--kiwo-green-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(118, 219, 0, 0.1);
  border: 1px solid rgba(118, 219, 0, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--kiwo-green);
  font-size: 1.6rem;
}

.studio-card.vr .card-icon {
  background: rgba(0, 210, 255, 0.1);
  border-color: rgba(0, 210, 255, 0.3);
  color: var(--kiwo-cyan);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.card-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--kiwo-green);
}

.studio-card.vr .card-tag {
  color: var(--kiwo-cyan);
}

/* Contact & Community Section */
.contact-section {
  background: linear-gradient(180deg, transparent, rgba(17, 21, 28, 0.8));
  border-top: 1px solid var(--border-subtle);
  padding: 6rem 2rem;
}

.contact-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 3.5rem 2.5rem;
  backdrop-filter: blur(15px);
}

.contact-box h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.contact-box p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.2rem;
}

.email-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 1rem 2.2rem;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-bright);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.email-btn:hover {
  background: rgba(118, 219, 0, 0.15);
  border-color: var(--kiwo-green);
  color: var(--kiwo-green);
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--kiwo-green-glow);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 2rem;
  background: #07080b;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-content, .rg-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .rg-logo {
    margin: 0 auto;
  }
  
  .hero-mascot-card {
    max-width: 440px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .rg-showcase {
    padding: 2rem 1.5rem;
  }
  
  .rg-specs-list {
    grid-template-columns: 1fr;
  }
}
