

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

:root {
  --bg-deep: #0a0a12;
  --bg-card: rgba(17, 17, 40, 0.7);
  --border: rgba(192, 132, 252, 0.2);
  --border-hover: rgba(192, 132, 252, 0.5);
  --primary: #C084FC;
  --primary-glow: rgba(192, 132, 252, 0.4);
  --secondary: #FDBA3A;
  --green: #22c55e;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-heading: #f8fafc;
  --font-pixel: 'Press Start 2P', monospace;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }


#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}


.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px) saturate(1.8);
  background: rgba(10, 10, 18, 0.6);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 18, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.nav-brand-text {
  font-family: var(--font-pixel);
  font-size: 0.8rem;
  background: linear-gradient(135deg, #C084FC, #FDBA3A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::after { opacity: 1; }

.btn:hover {
  transform: translateY(-2px);
}

.btn-discord {
  background: linear-gradient(135deg, #5865F2, #4752C4);
  color: white;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.45);
}

.btn-store {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #1a1a2e;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.btn-store:hover {
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.45);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-icon {
  width: 18px;
  height: 18px;
}


.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3) saturate(1.2);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 18, 0.2) 0%,
    rgba(10, 10, 18, 0.5) 60%,
    var(--bg-deep) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: 0 2rem;
  animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-logo {
  width: 130px;
  height: 130px;
  margin: 0 auto 2rem;
  border-radius: 20px;
  filter: drop-shadow(0 0 25px var(--primary-glow));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero h1 {
  font-family: var(--font-pixel);
  font-size: clamp(1.4rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
  line-height: 1.4;
  background: linear-gradient(135deg, #C084FC, #FDBA3A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-server-ip {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: var(--transition);
}

.hero-server-ip:hover {
  border-color: var(--border-hover);
  transform: scale(1.03);
}

.server-ip-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.server-ip-value {
  font-family: var(--font-pixel);
  font-size: 0.85rem;
  color: var(--green);
}

.server-ip-copy {
  font-size: 0.7rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.hero-server-ip:hover .server-ip-copy {
  color: var(--primary);
}


.copy-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--green);
  color: #0a0a12;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 9999;
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


.section {
  position: relative;
  z-index: 1;
  padding: 5rem 2rem;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 0.8rem;
  display: block;
}

.section-title {
  font-family: var(--font-pixel);
  font-size: clamp(0.9rem, 2vw, 1.4rem);
  color: var(--text-heading);
  line-height: 1.6;
}


.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
}

.gallery-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.gallery-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 40px rgba(0,0,0,0.4);
  pointer-events: none;
}

.gallery-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--primary-glow);
}

.gallery-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}


.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-brand span {
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  color: var(--text-muted);
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

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


.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }


@media (max-width: 768px) {
  .navbar { padding: 0 1rem; }

  .nav-actions .btn span,
  .nav-actions .btn-icon + span { display: none; }

  .nav-actions .btn {
    padding: 8px 12px;
    gap: 0;
  }

  .hero-logo { width: 100px; height: 100px; }

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

  .hero-buttons { flex-direction: column; align-items: center; }

  .hero-server-ip {
    flex-direction: column;
    gap: 6px;
    padding: 12px 20px;
  }

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

  .gallery-card img { height: auto; }

  .footer-content { flex-direction: column; text-align: center; }

  .section { padding: 3.5rem 1.2rem; }
}

.staff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 2rem; }
.staff-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 20px; text-align: center; transition: var(--transition); }
.staff-card:hover { border-color: var(--border-hover); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.staff-avatar { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; margin: 0 auto 15px; border: 2px solid var(--border); }
.staff-avatar-placeholder { width: 90px; height: 90px; border-radius: 50%; background: var(--bg-deep); border: 2px solid var(--border); margin: 0 auto 15px; display: flex; align-items: center; justify-content: center; font-family: var(--font-pixel); font-size: 2rem; color: var(--primary); }
.staff-name { font-family: var(--font-body); font-size: 1.2rem; font-weight: 700; color: var(--text-heading); margin-bottom: 5px; }
.staff-role { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 4px 10px; border-radius: 20px; border: 1px solid; margin-bottom: 15px; }
.staff-bio { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }
.staff-socials { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.social-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.social-tag:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
  color: var(--text-heading);
  transform: translateY(-1px);
}
.social-tag.copied { color: #22c55e; border-color: rgba(34, 197, 94, 0.4); }
.social-tag svg { flex-shrink: 0; }
