/* ========================================
   TimG — Futuristic Portfolio & Community Hub
   ======================================== */

/* === CSS Variables & Theme === */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #0d0d1a;
  --bg-card: rgba(15, 15, 30, 0.6);
  --bg-glass: rgba(20, 20, 45, 0.4);
  --border-glass: rgba(100, 140, 255, 0.12);
  --text-primary: #e8e8f0;
  --text-secondary: #8888aa;
  --text-muted: #555577;
  --accent: #4d7cff;
  --accent-bright: #6b9aff;
  --accent-glow: rgba(77, 124, 255, 0.4);
  --purple: #8b5cf6;
  --purple-glow: rgba(139, 92, 246, 0.3);
  --neon-blue: #00d4ff;
  --neon-glow: rgba(0, 212, 255, 0.3);
  --gradient-1: linear-gradient(135deg, #4d7cff, #8b5cf6);
  --gradient-2: linear-gradient(135deg, #0a0a0f 0%, #0d1025 50%, #0a0a0f 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px var(--accent-glow);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --bg-primary: #f0f2f8;
  --bg-secondary: #e8eaf2;
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-glass: rgba(255, 255, 255, 0.5);
  --border-glass: rgba(77, 124, 255, 0.15);
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #7777aa;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.12);
}

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* === Scrollbar === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-bright); }

/* === Loading Screen === */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-top: 1.5rem;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  background: var(--gradient-1);
  border-radius: 3px;
  animation: loaderFill 1.8s ease forwards;
}

@keyframes loaderFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* === Particle Canvas === */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* === Cursor Trail === */
#cursor-trail {
  position: fixed;
  z-index: 9998;
  pointer-events: none;
}

.trail-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  animation: trailFade 0.6s ease forwards;
  box-shadow: 0 0 8px var(--accent-glow);
}

@keyframes trailFade {
  0% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  backdrop-filter: blur(0px);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.6rem 0;
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(240, 242, 248, 0.85);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.accent {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-link {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 600;
  transition: var(--transition);
}

.mobile-link:hover { color: var(--accent); }

/* === Container === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
  position: relative;
  z-index: 1;
}

/* === Section Title === */
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.title-accent {
  color: var(--accent);
  font-family: var(--font-mono);
  margin-right: 0.5rem;
}

/* === Glass Card === */
.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(100, 140, 255, 0.25);
  box-shadow: var(--shadow-md), 0 0 40px rgba(77, 124, 255, 0.08);
  transform: translateY(-4px);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

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

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

.btn-primary {
  background: var(--gradient-1);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-discord {
  background: #5865F2;
  color: #fff;
  width: 100%;
  justify-content: center;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.3);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(77, 124, 255, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 70% 80%, rgba(139, 92, 246, 0.1), transparent),
    var(--bg-primary);
  z-index: 0;
}

.hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
  padding: 2rem;
}

.hero-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.hero-logo {
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroGlow 4s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

@keyframes heroGlow {
  0%, 100% {
    filter: drop-shadow(0 0 20px var(--accent-glow)) drop-shadow(0 0 60px rgba(77, 124, 255, 0.15));
  }
  50% {
    filter: drop-shadow(0 0 40px var(--accent-glow)) drop-shadow(0 0 100px rgba(139, 92, 246, 0.2));
  }
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  opacity: 0.4;
  filter: blur(40px);
  animation: glowPulse 4s ease-in-out infinite;
  z-index: 1;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.dot {
  color: var(--accent);
  margin: 0 0.2em;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--accent);
  border-radius: 3px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.hero-scroll-indicator span {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.about-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.about-avatar {
  width: 100px;
  height: 100px;
  position: relative;
  flex-shrink: 0;
}

.avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--gradient-1);
  animation: avatarSpin 8s linear infinite;
}

@keyframes avatarSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.avatar-ring::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bg-secondary);
}

.avatar-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: 1;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
  font-size: 0.95rem;
}

.about-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.highlight-card {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.highlight-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}

.highlight-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.highlight-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.skill-card {
  padding: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.skill-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  opacity: 0;
  transition: var(--transition);
  box-shadow: inset 0 0 30px var(--accent-glow);
}

.skill-card:hover::after { opacity: 1; }

.skill-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.skill-icon i {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.skill-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.skill-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

[data-theme="light"] .skill-bar {
  background: rgba(0, 0, 0, 0.08);
}

.skill-fill {
  height: 100%;
  background: var(--gradient-1);
  border-radius: 4px;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-fill.animate {
  width: var(--fill);
}

.skill-level {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects-category {
  margin-bottom: 3rem;
}

.category-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
}

.category-title i { color: var(--accent); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.project-card {
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}

.project-card.archived { opacity: 0.7; }
.project-card.archived:hover { opacity: 1; }

.project-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-status.active {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.project-status.archived-badge {
  background: rgba(136, 136, 170, 0.15);
  color: var(--text-muted);
  border: 1px solid rgba(136, 136, 170, 0.3);
}

.project-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.project-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.project-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.project-tags span {
  padding: 0.2rem 0.6rem;
  background: rgba(77, 124, 255, 0.1);
  color: var(--accent);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 500;
  border: 1px solid rgba(77, 124, 255, 0.15);
}

/* ========================================
   SOCIALS SECTION
   ======================================== */
.socials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}

.social-card {
  padding: 2rem;
  text-align: center;
  text-decoration: none;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.social-card i {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
  transition: var(--transition);
}

.social-card span {
  font-weight: 600;
  font-size: 0.95rem;
}

.social-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: var(--gradient-1);
  border-radius: 3px;
  opacity: 0;
  transition: var(--transition);
}

.social-card:hover .social-glow { opacity: 1; }

.social-card:hover i {
  transform: translateY(-4px) scale(1.15);
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   DISCORD SECTION
   ======================================== */
.discord-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.discord-status-card {
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.discord-avatar {
  position: relative;
  width: 70px;
  height: 70px;
  flex-shrink: 0;
}

.avatar-ring.pulse-ring {
  animation: avatarSpin 6s linear infinite;
}

.avatar-ring.pulse-ring::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: pulseOut 2s ease-out infinite;
}

@keyframes pulseOut {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.3); }
}

.avatar-text-sm {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: 1;
}

.discord-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-dot.online {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(34, 197, 94, 0.5); }
  50% { box-shadow: 0 0 16px rgba(34, 197, 94, 0.8); }
}

.status-dot.idle { background: #eab308; box-shadow: 0 0 8px rgba(234, 179, 8, 0.4); }
.status-dot.dnd { background: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.4); }
.status-dot.offline { background: #555; }

.discord-activity {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.discord-server-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.server-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.server-header i {
  font-size: 1.5rem;
  color: #5865F2;
}

.server-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.server-stats {
  display: flex;
  gap: 2rem;
}

.stat { text-align: center; }

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.online-count {
  background: linear-gradient(135deg, #22c55e, #16a34a) !important;
  -webkit-background-clip: text !important;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-card {
  padding: 3rem;
}

.contact-card p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-glass);
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
}

.footer-socials a:hover {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

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

.footer-built {
  margin-top: 0.25rem;
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .mobile-menu { display: flex; }

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

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

  .section { padding: 5rem 0; }
}

@media (max-width: 600px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

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

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .socials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 1.6rem;
  }

  .container {
    padding: 0 1.25rem;
  }

  .discord-status-card {
    flex-direction: column;
    text-align: center;
  }

  .status-indicator {
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}
