:root{
    --secondary-color: #ffbd59;
    --background-color: #121212;
    --second-background-color:#1e1e1e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  background-color: var(--background-color);
  color: #e0e0e0;
  line-height: 1.6;
}
nav {
  background-color: var(--second-background-color);
  border-bottom: 1px solid #333;
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.logo { font-size: 22px; font-weight: 700; color: #fff; }
.nav-links { display: flex; gap: 20px; list-style: none; flex-wrap: wrap; justify-content: center; }
.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--secondary-color); }

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px;
  background: linear-gradient(135deg, var(--second-background-color) 0%, var(--background-color) 100%);
  flex-direction: column;
}
.hero h1 { font-size: 64px; font-weight: 700; margin-bottom: 20px; color: #fff; }
.hero p { font-size: 20px; margin-bottom: 40px; color: #ccc; max-width: 700px; }

.cta-button {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 14px 36px;
  border-radius: 50px;
  border: 1px solid var(--secondary-color);
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, background-color 0.2s;
}
.cta-button:hover { background-color: var(--second-background-color); transform: scale(1.05); }

section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
section:nth-child(even) { background-color: #181818; }
section h2 { font-size: 36px; font-weight: 700; margin-bottom: 24px; color: #fff; text-align: center; }
section p { font-size: 18px; max-width: 800px; color: #ccc; margin: 0 auto; text-align: center; }

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.event-card {
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: left;
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}
.event-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; color: var(--secondary-color); }
.event-card .date { font-size: 14px; color: #aaa; margin-bottom: 12px; }

#join form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
  margin: 20px auto;
}
#join input, #join button {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #444;
  border-radius: 8px;
  background-color: var(--second-background-color);
  color: #fff;
  width: 100%;
}
#join button {
  background-color: var(--secondary-color);
  cursor: pointer;
  border: 1px solid var(--secondary-color);
  transition: background-color 0.2s;
}
#join button:hover { background-color: var(--second-background-color); }

footer {
  background-color: #1e1e1e;
  padding: 30px;
  text-align: center;
  font-size: 14px;
  color: #aaa;
}
.socials a {
  color: var(--secondary-color);
  text-decoration: none;
  margin: 0 8px;
  font-weight: 500;
}
.socials a:hover { opacity: 0.7; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: var(--secondary-color); border-radius: 4px; }

@media (max-width: 768px) {
  .hero h1 { font-size: 42px; }
  .hero p { font-size: 18px; }
  section h2 { font-size: 30px; }
  .nav-links { flex-direction: column; align-items: center; gap: 12px; }
  nav { text-align: center; }
}

@media (max-width: 480px) {
  .hero { padding: 60px 16px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  section { padding: 60px 16px; }
  .cta-button { padding: 12px 28px; font-size: 14px; }
}