@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* === Globális stílusok === */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #f9fbfd;
  color: #222;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease, color 0.3s ease;
  scroll-behavior: smooth;
}

/* === HEADER / NAV === */
header {
  background: linear-gradient(90deg, #ff8c00, #ffa500);
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 999;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}
.logo {
  height: 48px;
  border-radius: 10px;
  margin-right: 12px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}
.nav-links a,
.darkmode-button {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.nav-links a:hover,
.darkmode-button:hover {
  background: rgba(255,255,255,0.15);
  transform: scale(1.05);
}
.hamburger {
  font-size: 2rem;
  cursor: pointer;
  color: white;
  display: none;
}
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    position: absolute;
    background: linear-gradient(180deg, #ff8c00, #e67600);
    top: 100%;
    right: 0;
    width: 100%;
    display: none;
  }
  .nav-links.active {
    display: flex;
  }
  .hamburger {
    display: block;
  }
}

/* === HERO / ABOUT / EVENTS HERO === */
.hero,
.about-hero,
.events-hero {
  margin: 2rem;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  animation: fadeIn 1.2s ease-in-out;
}
.hero {
  background: linear-gradient(145deg, #ff8c00, #ffb347);
  color: white;
  flex: 1 0 auto;
}
.about-hero {
  background: linear-gradient(145deg, #ffa500, #ffcc70);
  color: white;
}
.events-hero {
  background-color: #ff8c00;
  color: white;
}
.hero h1,
.about-hero h1,
.events-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero p,
.about-hero p,
.events-hero p {
  font-size: 1.2rem;
  animation: slideInLeft 1.2s ease-out;
}

/* === INVITE BUTTON === */
.invite-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #32cd32, #228b22);
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
.invite-button:hover:not(.disabled) {
  transform: scale(1.05);
  background: #228b22;
}
.invite-button.disabled {
  background: gray !important;
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none;
}

/* === TEAM SECTION === */
.team {
  padding: 4rem 2rem;
  background: #f9fbfd;
}
.team-title {
  text-align: center;
  font-size: 2.5rem;
  color: #ff8c00;
  margin-bottom: 2rem;
}
.team-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.team-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.team-card:hover {
  transform: translateY(-6px);
}
.team-role {
  color: #777;
  margin-bottom: 1rem;
}
.team-description {
  font-size: 1rem;
  line-height: 1.4;
  color: #333;
}

/* === EVENTS LIST === */
.events-list {
  margin: 2rem;
  padding: 2rem;
  background: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 15px;
}
.events-list h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #333;
}
.event {
  margin-bottom: 2rem;
  background: #f0f8ff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.event h3 {
  font-size: 1.5rem;
  color: #ff8c00;
}
.event p {
  font-size: 1rem;
  margin: 0.5rem 0;
}

/* === SOCIAL MEDIA === */
.social-section {
  background: #f9fbfd;
  padding: 2rem 0;
}
.follow-us-title {
  text-align: center;
  font-size: 2rem;
  margin: 2rem 0 1rem;
  color: #ff8c00;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}
.social-links a {
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}
.social-links a .fa-discord { color: #5865F2; }
.social-links a .fa-instagram { color: #E1306C; }
.social-links a .fa-facebook { color: #1877F2; }
.social-links a .fa-tiktok { color: #000; }
.social-links a .fa-youtube { color: #FF0000; }
.social-links a:hover {
  transform: scale(1.3) rotate(10deg);
  filter: brightness(1.3);
}

/* === COOKIE BANNER === */
.cookie-banner {
  display: flex;
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: white;
  padding: 1rem 2rem;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  z-index: 999;
  animation: fadeIn 1.2s ease-out;
}
.cookie-banner p {
  flex: 1 1 auto;
  margin: 0;
}
.cookie-banner button {
  background: #ff8c00;
  border: none;
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.cookie-banner button:hover {
  background-color: #e67600;
}

/* === FOOTER === */
footer {
  background: #ff8c00;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  margin-top: auto;
}

/* === LOADER & SPINNER === */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height:  100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.loader.active {
  display: flex !important;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 6px solid #32cd32;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* === ANIMÁCIÓK === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { transform: translateX(-30px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* === ALÁHÚZÁSOK ELTÜNTETÉSE === */
a, button, .invite-button, .cookie-banner button, .nav-links a {
  text-decoration: none;
}
