/* AVI EARN - Modern Space Theme CSS */

:root {
  --primary: #00ff88;
  --primary-dark: #00cc6a;
  --accent-yellow: #ffd700;
  --bg-dark: #0a0e27;
  --bg-card-blue: #1a2550;
  --bg-card-orange: #8b4513;
  --text-light: #ffffff;
  --text-muted: #b0b8d4;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --glow: 0 0 20px rgba(0, 255, 136, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #2d1b4e 100%);
  background-attachment: fixed;
  color: var(--text-light);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Animated background stars */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 60% 70%, white, transparent),
    radial-gradient(1px 1px at 50% 50%, white, transparent),
    radial-gradient(1px 1px at 80% 10%, white, transparent),
    radial-gradient(2px 2px at 90% 60%, white, transparent),
    radial-gradient(1px 1px at 33% 80%, white, transparent);
  background-size: 200% 200%;
  background-position: 0% 0%;
  opacity: 0.5;
  z-index: -1;
  animation: stars 120s linear infinite;
}

@keyframes stars {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

/* Navbar */
nav {
  background: rgba(10, 14, 39, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid rgba(0, 255, 136, 0.2);
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

nav .logo {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 2px;
}

nav .logo span:first-child {
  color: var(--primary);
}

nav .logo span:last-child {
  color: var(--text-light);
}

nav .nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

nav a:hover {
  color: var(--primary);
  background: rgba(0, 255, 136, 0.1);
}

nav .btn-open {
  background: linear-gradient(135deg, var(--primary) 0%, #00cc6a 100%);
  color: #0a0e27;
  padding: 0.7rem 1.8rem;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.4);
  transition: all 0.3s ease;
}

nav .btn-open:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 136, 0.6);
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 3rem 2rem;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
  line-height: 1.2;
}

.hero h1 .accent {
  color: var(--accent-yellow);
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

.hero p {
  font-size: 1.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

/* Cards */
.card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.card:nth-child(1) {
  background: linear-gradient(135deg, #1e3a8a 0%, #1a2550 100%);
  border-color: rgba(59, 130, 246, 0.5);
}

.card:nth-child(1):hover {
  border-color: rgba(59, 130, 246, 0.8);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
}

.card:nth-child(2) {
  background: linear-gradient(135deg, #d97706 0%, #92400e 100%);
  border-color: rgba(245, 158, 11, 0.5);
}

.card:nth-child(2):hover {
  border-color: rgba(245, 158, 11, 0.8);
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.4);
}

.card-head {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.8rem;
  font-weight: 700;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.card:nth-child(1) .card-head {
  background: rgba(30, 58, 138, 0.5);
}

.card:nth-child(2) .card-head {
  background: rgba(217, 119, 6, 0.5);
}

.pill {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.card-body {
  padding: 2rem;
}

.stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
}

.stat span {
  color: var(--text-muted);
  font-weight: 500;
}

.stat strong {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
}

.buy {
  display: block;
  background: linear-gradient(135deg, var(--primary) 0%, #00cc6a 100%);
  color: #0a0e27;
  text-align: center;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  margin: 2rem 0 1rem 0;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.4);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.buy:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 255, 136, 0.6);
}

.subtag {
  text-align: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  font-style: italic;
  color: var(--accent-yellow);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Section Title */
.section-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 800;
  margin: 4rem 0 2rem 0;
  color: var(--text-light);
  text-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

/* Support Section */
.support {
  background: linear-gradient(135deg, #1e3a8a 0%, #1a2550 100%);
  border: 2px solid rgba(59, 130, 246, 0.5);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.support .left {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex: 1;
}

.support .icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, #00cc6a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  color: #0a0e27;
  box-shadow: 0 4px 20px rgba(0, 255, 136, 0.4);
  flex-shrink: 0;
}

.support .meta {
  flex: 1;
}

.support .line1 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
  line-height: 1.4;
}

.support .line2 {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #00cc6a 100%);
  color: #0a0e27;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.4);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 255, 136, 0.6);
}

/* Footer */
footer {
  background: rgba(10, 14, 39, 0.9);
  backdrop-filter: blur(10px);
  padding: 2rem;
  text-align: center;
  border-top: 2px solid rgba(0, 255, 136, 0.2);
  margin-top: 4rem;
}

footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.3rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  
  nav .nav-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  .support {
    flex-direction: column;
    text-align: center;
  }
  
  .support .left {
    flex-direction: column;
    text-align: center;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem;
  }
  
  .hero {
    padding: 2rem 1rem;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .card-head {
    font-size: 1.4rem;
    padding: 1rem 1.5rem;
  }
  
  .stat strong {
    font-size: 1.2rem;
  }
  
  nav {
    padding: 1rem;
  }
  
  nav .logo {
    font-size: 1.5rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeIn 0.6s ease-out;
}

.card:nth-child(1) {
  animation-delay: 0.1s;
}

.card:nth-child(2) {
  animation-delay: 0.2s;
}