:root {
  /* Space Theme Colors */
  --bg-dark: #0B0C10;
  --bg-card: #1F2833;
  --text-light: #C5C6C7;
  --text-white: #FFFFFF;
  --accent-cyan: #45F3FF;
  --accent-magenta: #FF2A7A;
  --accent-yellow: #FFD700;
  --accent-orange: #FF8C00;
  
  --font-main: 'Outfit', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
}

/* Background Stars Effect */
.stars-bg {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1;
  background: url('https://www.transparenttextures.com/patterns/stardust.png');
  animation: bg-move 100s linear infinite;
}

@keyframes bg-move {
  from { background-position: 0 0; }
  to { background-position: 1000px 1000px; }
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background: rgba(11, 12, 16, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(69, 243, 255, 0.2);
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-white);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.logo-img {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.logo span {
  color: var(--accent-magenta);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-white);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-cyan);
}

.btn-login {
  background: linear-gradient(45deg, var(--accent-cyan), #00A3FF);
  color: #000 !important;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(69, 243, 255, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(69, 243, 255, 0.6);
}

/* Hero Section / Slider */
.hero {
  min-height: 80vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 4rem 1rem;
}

.slider-container {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 0.4; /* Opacity down to see text */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 4rem;
  color: var(--text-white);
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(255, 42, 122, 0.8);
}

.hero-content h1 span {
  color: var(--accent-yellow);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(45deg, var(--accent-magenta), #ff0055);
  color: var(--text-white);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 0 20px rgba(255, 42, 122, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 30px rgba(255, 42, 122, 0.8);
}

/* Sections */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--text-white);
  margin: 4rem 0 2rem;
}

.section-title span {
  color: var(--accent-cyan);
}

/* Areas Grid */
.areas-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 5%;
  margin-bottom: 4rem;
}

.area-card {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s, border-color 0.3s;
}

.area-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 30px rgba(69, 243, 255, 0.1);
}

.area-img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.area-info {
  padding: 1.5rem;
}

.area-info h3 {
  color: var(--text-white);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

/* Auth Pages (Login/Register) */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 100px);
}

.auth-box {
  background: rgba(31, 40, 51, 0.8);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(69, 243, 255, 0.2);
  width: 100%;
  max-width: 450px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  text-align: center;
}

.auth-box h2 {
  color: var(--text-white);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(11, 12, 16, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-white);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.btn-block {
  width: 100%;
  border: none;
  cursor: pointer;
}

.auth-links {
  margin-top: 1.5rem;
}

.auth-links a {
  color: var(--accent-cyan);
  text-decoration: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    padding: 0.8rem 1rem;
    gap: 8px;
  }
  
  .logo-img {
    width: 85px;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .btn-login {
    padding: 0.4rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }

  .logo {
    font-size: 1.5rem;
  }
}
