:root {
  --primary: #ef4444;
  --primary-dark: #dc2626;
  --secondary: #991b1b;
  --danger: #b91c1c;
  --warning: #ef4444;
  --bg-dark: #1e1f22;
  --bg-darker: #111214;
  --bg-light: #2b2d31;
  --text: #ffffff;
  --text-muted: #b5bac1;
  --border: #3f4147;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

nav {
  background: var(--bg-light);
  padding: 1rem 0;
  border-bottom: 2px solid var(--primary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

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

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

.btn {
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
}

.btn-success {
  background: var(--primary);
  color: white;
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.hero {
  text-align: center;
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
  border-radius: 16px;
  margin: 2rem 0;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.card {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 2rem;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0;
}

.stat-card {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  flex: 1;
  min-width: 200px;
  border: 1px solid var(--border);
}

.stat-card h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-card p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-light);
  border-radius: 12px;
  overflow: hidden;
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--primary);
  color: white;
  font-weight: 600;
}

tr:hover {
  background: rgba(239, 68, 68, 0.1);
}

.badge {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
}

.badge-success {
  background: var(--primary);
  color: white;
}

.badge-warning {
  background: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.badge-danger {
  background: var(--danger);
  color: white;
}

.badge-primary {
  background: var(--primary);
  color: white;
}

.login-container {
  max-width: 500px;
  margin: 5rem auto;
  text-align: center;
}

.login-card {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 3rem;
  border: 1px solid var(--border);
}

.discord-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

input, select, textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-dark);
  color: var(--text);
  font-size: 1rem;
  margin: 0.5rem 0;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.alert {
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.alert-success {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid var(--primary);
  color: var(--primary);
}

.alert-danger {
  background: rgba(185, 28, 28, 0.2);
  border: 1px solid var(--danger);
  color: var(--danger);
}

.footer {
  text-align: center;
  padding: 2rem 0;
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }
}
/* Red and Black Theme Classes */
.gold-text { color: #ef4444; }
.card-dark { background: #1a1a1a; border: 1px solid #3f4147; }
.gold-gradient { background: linear-gradient(135deg, #ef4444, #dc2626); }

/* Purple Campaign Button Styles */
.btn-campaign {
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  color: white;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  font-size: 1rem;
}

.btn-campaign:hover {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(147, 51, 234, 0.4);
}
