@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg-dark: #0c0c10;
  --bg-darker: #06060a;
  --bg-card: #14141c;
  --bg-card-hover: #1c1c28;
  --gold-primary: #d4af37;
  --gold-secondary: #b8941e;
  --gold-light: #f4d03f;
  --gold-glow: rgba(212, 175, 55, 0.15);
  --text-primary: #eaeaf0;
  --text-secondary: #8888a0;
  --border-color: #22222e;
  --border-glow: rgba(212, 175, 55, 0.25);
}

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

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg-darker);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212, 175, 55, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(100, 60, 180, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

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

/* Header / Navigation */
header {
  background: rgba(12, 12, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glow);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 0;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  border: 1px solid transparent;
}

.nav-links a:hover {
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.15);
}

.nav-links a.active {
  color: var(--bg-dark);
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.3);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 5rem 0 4rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  border-bottom: 1px solid var(--border-color);
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
  text-shadow: none;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.server-ip {
  display: inline-block;
  background: var(--bg-card);
  padding: 1rem 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-glow);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.server-ip:hover {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  color: var(--bg-dark);
  border-color: var(--gold-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  padding: 3rem 0;
}

.stat-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  transition: all 0.35s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.stat-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 175, 55, 0.08);
  background: var(--bg-card-hover);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card h3 {
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.stat-card .value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold-primary);
}

/* Content Section */
.content-section {
  padding: 3rem 0;
}

.content-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 0.75rem;
  border-bottom: none;
}

.content-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-primary), transparent);
  border-radius: 2px;
}

.info-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.info-card h3 {
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
  font-size: 1.15rem;
}

.info-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
  color: var(--bg-dark);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  letter-spacing: 0.3px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold-primary);
  color: var(--gold-primary);
}

.btn-outline:hover {
  background: var(--gold-primary);
  color: var(--bg-dark);
}

/* Footer */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-glow);
  padding: 2rem 0;
  margin-top: 4rem;
  text-align: center;
}

footer p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

footer a {
  color: var(--gold-primary);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Farm Support Specific */
.farm-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.farm-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.farm-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    gap: 0.25rem;
  }

  .nav-links a {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }

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

  .hero {
    padding: 3rem 0;
  }

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

@media (max-width: 480px) {
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-darker);
}

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

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}
