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

:root {
  --bg-color: #0d0d14;
  --text-main: #f0f0f5;
  --text-muted: #888899;

  /* SMP Colors */
  --smp-purple: #8e2de2;
  --smp-cyan: #4a00e0;
  
  /* Anarchy Colors */
  --anarchy-green: #3a5a40;
  --anarchy-brown: #2c1e16;
  
  --glass-bg: rgba(20, 20, 30, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-image 1s ease-in-out;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
}

/* Glassmorphism Containers */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 16px;
  padding: 2rem;
}

/* Navigation - Glass Panel Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.nav-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(to right, #fff, #aaa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  transition: color 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: #00f2fe;
}

/* Page Content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 20px 40px;
}

.hero {
  text-align: center;
  margin-bottom: 4rem;
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 4rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.theme-smp .hero h1 {
  background: linear-gradient(135deg, var(--smp-cyan), var(--smp-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.theme-anarchy .hero h1 {
  background: linear-gradient(135deg, #a3b18a, var(--anarchy-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  text-align: center;
}

.stat-card h3 {
  font-size: 2.5rem;
  color: #00e676;
  margin-bottom: 0.5rem;
  font-family: 'Outfit', sans-serif;
}

.stat-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Gallery / Admin */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
  border: 1px solid var(--glass-border);
}

.gallery-item:hover {
  transform: scale(1.05);
  z-index: 2;
}

.admin-upload-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.admin-upload-form input, .admin-upload-form select, .admin-upload-form button {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-family: 'Inter', sans-serif;
}

.admin-upload-form button {
  background: #00f2fe;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: filter 0.2s;
}

.admin-upload-form button:hover {
  filter: brightness(1.2);
}

/* Animations */
.hamburger.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
.hamburger.toggle .line2 { opacity: 0; }
.hamburger.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }
