:root {
  --primary-color: #1a237e;
  --secondary-color: #4caf50;
  --accent-color: #ff6b35;
  --gold-color: #ffc107;
  --purple-color: #9c27b0;
  --teal-color: #00bcd4;
  --text-dark: #2c3e50;
  --text-light: #546e7a;
  --bg-light: #f3f8ff;
  --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --card-gradient: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
  --border-radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  opacity: 0;
  animation: fadeInBody 1s ease-in-out forwards;
}

@keyframes fadeInBody {
  to {
    opacity: 1;
  }
}

header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 2px solid var(--secondary-color);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  color: var(--secondary-color);
}

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

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

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

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: 0.3s;
}

.hero {
  background: var(--bg-light);
  padding: 120px 5% 80px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.hero .subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, var(--accent-color), var(--gold-color));
  color: var(--white);
  padding: 15px 30px;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  background: linear-gradient(45deg, var(--gold-color), var(--accent-color));
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.features {
  padding: 80px 5%;
  background: var(--white);
}

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

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 3rem;
}

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

.feature-card {
  background: var(--card-gradient);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(76, 175, 80, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(76, 175, 80, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary-color);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.feature-card:nth-child(1) .feature-icon {
  color: var(--secondary-color);
}
.feature-card:nth-child(2) .feature-icon {
  color: var(--accent-color);
}
.feature-card:nth-child(3) .feature-icon {
  color: var(--purple-color);
}
.feature-card:nth-child(4) .feature-icon {
  color: var(--teal-color);
}
.feature-card:nth-child(5) .feature-icon {
  color: var(--gold-color);
}
.feature-card:nth-child(6) .feature-icon {
  color: var(--primary-color);
}

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

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
}

.about {
  padding: 80px 5%;
  background: var(--bg-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--card-gradient);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  opacity: 0;
  transform: perspective(800px) rotateY(90deg);
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(
    45deg,
    var(--secondary-color),
    var(--primary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-light);
  font-weight: 500;
}

.club {
  padding: 80px 5%;
  background: var(--white);
}

.club-card {
  background: var(--white);
  color: var(--text-dark);
  padding: 3rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-hover);
  position: relative;
  overflow: hidden;
  border: 2px solid var(--secondary-color);
}

.club-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 30px,
      rgba(0, 0, 0, 0.1) 30px,
      rgba(0, 0, 0, 0.1) 32px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 30px,
      rgba(0, 0, 0, 0.1) 30px,
      rgba(0, 0, 0, 0.1) 32px
    );
}

.club-card h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  color: var(--primary-color);
}

.club-card p {
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
  color: var(--text-light);
}

.contact {
  padding: 80px 5%;
  background: var(--bg-light);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

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

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.contact-item i {
  color: var(--secondary-color);
  margin-right: 1rem;
  width: 20px;
}

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

.links a {
  display: block;
  color: var(--secondary-color);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

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

footer {
  background: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 2rem 5%;
}

footer p {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: right 0.3s ease;
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  nav {
    padding: 1rem 5%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 5% 60px;
  }

  .features,
  .about,
  .club,
  .contact {
    padding: 60px 5%;
  }

  .club-card {
    padding: 2rem;
  }

  .club-card h2 {
    font-size: 2rem;
  }
}

.stat-item {
  opacity: 0;
  transform: perspective(800px) rotateY(90deg);
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.flip-left.show {
  transform: perspective(800px) rotateY(0);
  opacity: 1;
}

.flip-right.show {
  transform: perspective(800px) rotateY(0);
  opacity: 1;
}

.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.show {
  opacity: 1;
  transform: translateY(0);
}

.feature-card.fade-card {
  opacity: 0;
  transform: scale(0.8);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.feature-card.fade-card.show-card {
  opacity: 1;
  transform: scale(1);
}
