:root {
  --primary-gradient: linear-gradient(135deg, #ff6200, #ffd700);
  --secondary-gradient: linear-gradient(135deg, #ffd700, #ff6200);
  --dark-bg: #0a0a1a;
  --darker-bg: #060612;
  --card-bg: rgba(16, 16, 32, 0.7);
  --text-primary: #ffffff;
  --text-secondary: #a0a0b8;
  --accent: #ffd700;
  --accent-alt: #ff6200;
  --nav-height: 70px;
  --glow: 0 0 15px rgba(255, 215, 0, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: var(--dark-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(255, 98, 0, 0.1) 0%, transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 25%);
  background-attachment: fixed;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
nav {
  background: rgba(6, 6, 18, 0.8);
  backdrop-filter: blur(10px);
  height: var(--nav-height);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo h1 {
  font-size: 24px;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  margin-left: 30px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.nav-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

.nav-links a:hover:after {
  width: 100%;
}

/* Hero section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-content {
  max-width: 600px;
  z-index: 1;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero h1 span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.7;
}

.btn {
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  border: none;
  outline: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.7);
}

/* Donate section */
.features {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-title h2 span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 215, 0, 0.2);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.feature-card select {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  background: var(--darker-bg);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Login/Register Section */
.login-section, .register-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
}

.login-card, .register-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.login-card h1, .register-card h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
}

.login-card h1 span, .register-card h1 span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.login-form, .register-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-form input, .register-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: var(--darker-bg);
  color: var(--text-primary);
  font-size: 16px;
  outline: none;
}

.login-form input:focus, .register-form input:focus {
  border-color: var(--accent);
  box-shadow: var(--glow);
}

/* Profile Section */
.userpanel-section {
  padding: 100px 20px;
}

.tab-content {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.tab-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.tab-content p {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 10px 0;
}

/* Flash Messages */
.flash-success {
  background: rgba(0, 255, 0, 0.2);
  color: #00ff00;
  padding: 10px;
  border-radius: 5px;
  margin: 10px 0;
}

.flash-error {
  background: rgba(255, 0, 0, 0.2);
  color: #ff0000;
  padding: 10px;
  border-radius: 5px;
  margin: 10px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}