:root {
  --primary-color: #00d4ff;
  --secondary-color: #ff6b6b;
  --bg-color: #0a0a0a;
  --text-color: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

html, body {
  min-height: 100%;
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
}

body {
  position: relative;
  overflow-x: hidden;
}

#background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: -1;
}

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% { transform: translateY(100vh); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100px); opacity: 0; }
}

.container {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

/* Header */
header {
  text-align: center;
  padding: 4rem 1rem 2rem;
}

header h1 {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
}

header p {
  font-size: 1.15rem;
  opacity: 0.85;
  max-width: 550px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem 4rem;
}

.btn-discord {
  display: inline-block;
  background: var(--primary-color);
  color: #000000;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25);
  border: none;
  cursor: pointer;
}

.btn-discord:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4);
  filter: brightness(1.1);
}

/* Cards Section */
.section-title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.25s ease;
}

.card:hover {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.08);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 600;
}

.card p {
  opacity: 0.75;
  font-size: 0.95rem;
}

/* Rules Section */
.rules-section {
  margin-bottom: 3rem;
}

.rules-list {
  list-style: none;
  max-width: 650px;
  margin: 0 auto;
}

.rules-list li {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: all 0.25s ease;
}

.rules-list li:hover {
  border-color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.08);
}

/* Info Section */
.info-section {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

.info-section p {
  font-size: 1rem;
  opacity: 0.85;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  opacity: 0.7;
  font-size: 0.85rem;
}

footer .brand {
  color: var(--primary-color);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  header p {
    font-size: 1rem;
  }
  .btn-discord {
    font-size: 1rem;
    padding: 0.9rem 2rem;
  }
  .section-title {
    font-size: 1.25rem;
  }
}
