/* Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: #0d1117;
  color: #c9d1d9;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Header layout */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(22,27,34,0.95);
  padding: 0.8rem 2rem;
  border-bottom: 1px solid #30363d;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.nav-left {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-left .nav-link {
  text-decoration: none;
  color: #58a6ff;
  font-weight: 600;
  position: relative;
  transition: 0.3s;
}

.nav-left .nav-link::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #58a6ff;
  transition: 0.3s;
}

.nav-left .nav-link:hover::after {
  width: 100%;
}

.nav-left .nav-link:hover {
  color: #1f6feb;
}

/* Remove any special ban-link styling */
.nav-left .nav-link {
  text-decoration: none;
  color: #58a6ff;
  font-weight: 600;
  position: relative;
  transition: 0.3s;
}

.nav-left .nav-link::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #58a6ff;
  transition: 0.3s;
}

.nav-left .nav-link:hover::after {
  width: 100%;
}

.nav-left .nav-link:hover {
  color: #1f6feb;
}

/* Center title */
.nav-center {
  text-align: center;
  flex: 1;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.site-title .forkya {
  color: #ffffff;
}

.site-title .productions {
  color: #58a6ff;
}

/* Right logo */
.nav-right .logo {
  height: 50px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
  transition: transform 0.3s;
}

.nav-right .logo:hover {
  transform: scale(1.05) rotate(-2deg);
}

/* Hero */
.hero {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(88,166,255,0.5);
  animation: fadeInDown 1s ease-out;
}

.hero p {
  max-width: 700px;
  margin: auto;
  font-size: 1.2rem;
  color: #8b949e;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInDown {
  0% {opacity:0; transform: translateY(-30px);}
  100% {opacity:1; transform: translateY(0);}
}

@keyframes fadeInUp {
  0% {opacity:0; transform: translateY(30px);}
  100% {opacity:1; transform: translateY(0);}
}

/* Cards */
.card {
  background: #161b22;
  margin: 2rem auto;
  padding: 2.5rem;
  border-radius: 16px;
  max-width: 850px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  border: 1px solid #30363d;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.5);
}

.card h2 {
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 0 6px rgba(88,166,255,0.4);
}

.card p {
  margin-bottom: 1.5rem;
  color: #8b949e;
}

/* Buttons */
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.button {
  display: inline-block;
  background: #238636;
  color: white;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}

.button:hover {
  background: #2ea043;
  transform: translateY(-2px);
}

.button.alt {
  background: #f85149;
}

.button.alt:hover {
  background: #da3633;
  transform: translateY(-2px);
}

/* Members Online */
.members-online {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #58a6ff;
}

/* Discord Widget */
.discord-widget {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Footer */
footer {
  text-align: center;
  padding: 2.5rem;
  margin-top: 3rem;
  background: #161b22;
  border-top: 1px solid #30363d;
  color: #8b949e;
}

.update-info {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  color: #58a6ff;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 0.8rem;
  }
  .nav-left {
    justify-content: center;
    flex-wrap: wrap;
  }
  .nav-center {
    order: -1;
  }
  .nav-right .logo {
    height: 40px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .card {
    margin: 1rem;
    padding: 2rem;
  }
  .discord-widget iframe {
    width: 100%;
    height: 400px;
  }
}