@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: #0a0a0f;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 1px;
  height: 1px;
  background: #6366f1;
  border-radius: 50%;
  opacity: 0.6;
  animation: float 12s ease-in-out infinite;
  box-shadow: 0 0 4px #6366f1;
}

@keyframes float {
  0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

.mobile-menu {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  z-index: 10001;
  transition: all 0.3s ease;
}

.mobile-menu:hover {
  color: #6366f1;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  z-index: 10000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav .logo {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  user-select: none;
  transition: all 0.3s ease;
}

.logo-container {
  position: relative;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
}

.logo-container:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(99, 102, 241, 0.4);
}

.vs-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: white;
  letter-spacing: -1px;
  text-shadow: none;
}

.logo-text {
  font-weight: 700;
  letter-spacing: -0.01em;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
  transition: all 0.3s ease;
}

nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  padding: 8px 0;
}

nav a:hover {
  color: #ffffff;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -4px;
  background: #6366f1;
  border-radius: 1px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover::after {
  width: 100%;
}

section {
  padding: 120px 60px 100px;
  max-width: 1400px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(20px);
  position: relative;
  z-index: 2;
}

section h2 {
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 60px;
  color: #ffffff;
  letter-spacing: -0.02em;
  position: relative;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 2px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  padding: 0 20px;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  padding: 0 20px;
}

.card {
  background: rgba(20, 20, 30, 0.6);
  backdrop-filter: blur(20px);
  padding: 40px 32px;
  border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.project {
  background: rgba(20, 20, 30, 0.6);
  backdrop-filter: blur(20px);
  padding: 40px 32px;
  border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card:hover,
.project:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card::before,
.project::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
  transition: left 0.6s ease;
}

.card:hover::before,
.project:hover::before {
  left: 100%;
}

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.project-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.project-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
}

.project:hover .project-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.4);
}

.project h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.project-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #22c55e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.project-description {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.project-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.play-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  position: relative;
  overflow: hidden;
}

.play-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.play-btn:hover::before {
  left: 100%;
}

.play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.info-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 14px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-2px);
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.card p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

#home {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  position: relative;
  overflow: hidden;
}

.main-logo {
  margin-bottom: 32px;
  animation: logoFloat 6s ease-in-out infinite;
}

.hero-logo-container {
  position: relative;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
  margin: 0 auto;
}

.hero-vs-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 48px;
  color: white;
  letter-spacing: -2px;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.button-container {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  font-weight: 600;
  font-size: 15px;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.discord-btn {
  background: linear-gradient(135deg, #5865f2, #7289da);
}

.discord-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(88, 101, 242, 0.4);
}

.roblox-btn {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.roblox-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(45, 45, 45, 0.6);
  background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
}

#home .content {
  max-width: 800px;
  animation: fadeInScale 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
  transform: scale(0.95);
  position: relative;
  z-index: 3;
}

#home h1 {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.1;
}

#home p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.events-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  padding: 0 20px;
}

.no-events {
  text-align: center;
  background: rgba(20, 20, 30, 0.6);
  backdrop-filter: blur(20px);
  padding: 60px 40px;
  border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  max-width: 500px;
  width: 100%;
}

.events-icon {
  font-size: 4rem;
  margin-bottom: 24px;
  opacity: 0.7;
}

.no-events h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.no-events p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  line-height: 1.6;
}

.discord-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #5865f2, #7289da);
  color: white;
  font-weight: 600;
  font-size: 15px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.discord-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

footer {
  text-align: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  font-size: 14px;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  user-select: none;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  z-index: 10001;
  transition: width 0.1s ease;
}

@media (max-width: 768px) {
  .mobile-menu {
    display: block;
  }

  nav {
    padding: 16px 20px;
  }

  nav ul {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 40px;
    gap: 32px;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  nav ul.active {
    left: 0;
  }

  nav a {
    font-size: 18px;
  }

  section {
    padding: 100px 24px 80px;
  }

  section h2 {
    font-size: 2.25rem;
    margin-bottom: 40px;
  }

  #home h1 {
    font-size: 2.75rem;
  }

  #home p {
    font-size: 1.125rem;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0;
  }

  .projects {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0;
  }

  .project {
    padding: 32px 24px;
  }

  .project-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .project h3 {
    font-size: 1.5rem;
  }

  .project-actions {
    width: 100%;
    justify-content: center;
  }

  .play-btn,
  .info-btn {
    flex: 1;
    justify-content: center;
    min-width: 120px;
  }

  .button-container {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn {
    width: 200px;
    justify-content: center;
  }

  .hero-logo-container {
    width: 100px;
    height: 100px;
    border-radius: 24px;
  }

  .hero-vs-logo {
    font-size: 40px;
  }

  .logo-container {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .vs-logo {
    font-size: 16px;
  }

  .logo-text {
    font-size: 1.25rem;
  }

  .no-events {
    padding: 40px 30px;
  }

  .events-icon {
    font-size: 3rem;
  }

  .no-events h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  #home h1 {
    font-size: 2.25rem;
  }

  section h2 {
    font-size: 1.875rem;
  }

  .project-actions {
    flex-direction: column;
    gap: 8px;
  }

  .play-btn,
  .info-btn {
    width: 100%;
  }

  .no-events {
    padding: 30px 20px;
  }

  .events-icon {
    font-size: 2.5rem;
  }

  .no-events h3 {
    font-size: 1.25rem;
  }

  .no-events p {
    font-size: 0.9rem;
  }
}