:root {
  --bg: #0a0a0a;
  --bg-2: #1a1a1a;
  --accent: #ffd700;       /* bright gold */
  --accent-2: #ffcc00;     /* slightly darker gold for gradients */
  --muted: #cfcfcf;
  --card: #1f1f1f;
  --glass: rgba(255, 255, 255, 0.05);
  --radius: 14px;
  --max-width: 1100px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
}

.container { width: 92%; max-width: var(--max-width); margin: 0 auto; }

/* topbar */
.topbar {
  position: sticky;
  top: 0;
  backdrop-filter: blur(6px);
  background: linear-gradient(90deg, #111, #222);
  border-bottom: 1px solid rgba(255, 204, 0, 0.15);
  z-index: 50;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}
.brand:hover { transform: scale(1.05); }
.logo { width: 44px; height: 44px; }
.brand-text { font-weight: 700; font-size: 1.15rem; color: var(--accent); text-shadow: 0 0 6px #ffd700; }

.top-actions { display: flex; align-items: center; gap: 14px; }

.discord-link {
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #000;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.discord-link:hover { 
  transform: scale(1.05); 
  box-shadow: 0 0 12px var(--accent);
}

.player-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--glass);
  padding: 6px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.player-box:hover { 
  transform: scale(1.05); 
  box-shadow: 0 0 10px var(--accent);
}
.player-box .indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3adb57;
  box-shadow: 0 0 10px #3adb57aa;
}
.playercount { color: var(--accent); font-weight: 700; font-size: 1rem; }

/* hero */
.hero { padding: 64px 0; }
.hero-inner { display: grid; grid-template-columns: 1fr 420px; gap: 36px; align-items: start; }
.hero-left h1 { font-size: 2.8rem; margin-bottom: 12px; letter-spacing: -0.02em; color: var(--accent); text-shadow: 0 0 10px #ffd700; }
.lead { color: var(--muted); margin-bottom: 20px; font-size: 1.1rem; }

/* server-card */
.server-card { margin: 18px 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.server-info { display: flex; gap: 12px; align-items: center; }
.server-ip {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid rgba(255,255,255,0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.server-ip:hover { 
  transform: scale(1.05);
  box-shadow: 0 0 10px var(--accent);
}

/* buttons */
.btn {
  border: 0;
  padding: 10px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: scale(1.05); }
.btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,0.05); color: var(--accent); display: inline-block; }
.btn.primary { 
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); 
  color: #000; 
  box-shadow: 0 0 12px var(--accent);
}
.copy-btn { position: relative; overflow: hidden; }
.btn-copied { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0; transition: opacity 0.18s; }
.copy-btn.copied .btn-text { opacity: 0; }
.copy-btn.copied .btn-copied { opacity: 1; }

/* server status */
.server-status { display: flex; gap: 12px; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--glass); border: 1px solid rgba(255,255,255,0.02); }
.indicator { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 12px rgba(0,0,0,0.5); }

/* right side cards */
.hero-right { display: flex; flex-direction: column; gap: 16px; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.05));
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 0 10px rgba(255,215,0,0.05);
}
.card h3, .card h4 { margin-bottom: 8px; color: var(--accent); text-shadow: 0 0 6px #ffd700; }
.stats ul { list-style: none; padding: 0; margin: 0; }
.stats li { margin: 8px 0; font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.screenshot-placeholder {
  height: 180px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255,215,0,0.06), rgba(255,215,0,0.02));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

/* features */
.features { padding: 60px 0; }
.features h2 { text-align: center; margin-bottom: 28px; color: var(--accent); text-shadow: 0 0 6px #ffd700; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 20px; border-radius: 12px; background: linear-gradient(180deg, rgba(255,215,0,0.01), transparent); text-align: left; }
.feature .icon { font-size: 1.8rem; margin-bottom: 8px; }

/* join */
.join { padding: 48px; border-radius: 12px; margin: 36px auto; background: linear-gradient(180deg, rgba(255,215,0,0.02), rgba(0,0,0,0.03)); text-align: center; }
.join-actions { display: flex; gap: 12px; justify-content: center; margin-top: 16px; }

/* footer */
.site-footer { padding: 26px 0; border-top: 1px solid rgba(255,255,255,0.02); color: var(--muted); font-size: 0.95rem; text-align: center; }

/* responsive */
@media (max-width:980px){
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .hero-right { order: 2; }
}
