:root {
  --bg-primary: #050505;
  --bg-secondary: #0a0a0a;
  --bg-card: #0f0f0f;
  --bg-glass: rgba(15, 15, 15, 0.7);
  --gold-primary: #c9a84c;
  --gold-light: #e8d48b;
  --gold-dark: #8a7232;
  --gold-glow: rgba(201, 168, 76, 0.15);
  --text-primary: #f0ece4;
  --text-secondary: #9a9590;
  --text-muted: #5a5550;
  --border-subtle: rgba(201, 168, 76, 0.1);
  --border-gold: rgba(201, 168, 76, 0.3);
  --gradient-gold: linear-gradient(135deg, #c9a84c, #e8d48b, #c9a84c);
  --gradient-dark: linear-gradient(180deg, #050505 0%, #0a0a0a 100%);
  --shadow-gold: 0 0 40px rgba(201, 168, 76, 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'JetBrains Mono', 'Courier New', monospace;
}

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

html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--gold-dark) var(--bg-primary); }
html::-webkit-scrollbar { width: 6px; }
html::-webkit-scrollbar-track { background: var(--bg-primary); }
html::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

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

/* ============ SR-ONLY ============ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============ SKIP LINK ============ */
.skip-link {
  position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
  padding: 12px 24px; background: var(--gold-primary); color: var(--bg-primary);
  font-weight: 600; font-size: 0.9rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none; z-index: 9999; transition: top 0.3s ease;
}
.skip-link:focus { top: 0; }

/* ============ FOCUS STATES ============ */
*:focus-visible { outline: 2px solid var(--gold-primary); outline-offset: 3px; }
*:focus:not(:focus-visible) { outline: none; }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  background: rgba(5, 5, 5, 0.8);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled { border-bottom-color: var(--border-subtle); background: rgba(5, 5, 5, 0.95); }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 36px; width: 36px; border-radius: 50%; }
.nav-logo span { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: 0.5px; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; transition: var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px; background: var(--gold-primary); transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--gold-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--gold-primary); transition: var(--transition); transform-origin: center; }
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============ HERO ============ */
#hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
#particles-canvas { position: absolute; inset: 0; z-index: 1; }
.hero-gradient {
  position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  filter: blur(80px); pointer-events: none;
}
.hero-content { position: relative; z-index: 2; text-align: center; padding: 2rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 50px;
  background: rgba(201, 168, 76, 0.08); border: 1px solid var(--border-gold);
  font-size: 0.8rem; color: var(--gold-primary); font-weight: 500;
  margin-bottom: 2rem; letter-spacing: 1px; text-transform: uppercase;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-primary); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 800;
  line-height: 1.05; margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--gold-light) 50%, var(--gold-primary) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subtitle { font-size: clamp(0.9rem, 1.8vw, 1.1rem); color: var(--text-secondary); max-width: 600px; margin: 0 auto; font-weight: 400; line-height: 1.8; }

/* ============ SECTIONS ============ */
section { padding: 6rem 2rem; position: relative; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-primary); margin-bottom: 1rem; display: block; }
.section-title { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--text-primary); margin-bottom: 1rem; }
.section-line { width: 60px; height: 2px; background: var(--gradient-gold); margin: 0 auto; border-radius: 2px; }
.container { max-width: 1200px; margin: 0 auto; }

/* ============ ABOUT ============ */
#about { background: var(--bg-secondary); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.member-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); padding: 2.5rem; text-align: center;
  transition: var(--transition); position: relative; overflow: hidden;
}
.member-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-gold); opacity: 0; transition: var(--transition);
}
.member-card:hover { border-color: var(--border-gold); transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.member-card:hover::before { opacity: 1; }
.member-avatar { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 1.5rem; border: 2px solid var(--border-gold); object-fit: cover; }
.member-name { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.3rem; }
.member-handle { color: var(--gold-primary); font-size: 0.85rem; font-weight: 500; margin-bottom: 1rem; }
.member-bio { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.7; margin-bottom: 1.5rem; }
.member-links { display: flex; gap: 12px; justify-content: center; }

/* ============ HOVER BUTTONS ============ */
.hover-btn {
  position: relative;
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-subtle); color: var(--text-secondary);
  text-decoration: none; transition: var(--transition);
  background: transparent;
}
.hover-btn:hover {
  border-color: var(--gold-primary); color: var(--gold-primary);
  background: var(--gold-glow);
}
.hover-btn::after {
  content: attr(data-tooltip);
  position: absolute; bottom: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  padding: 6px 14px; border-radius: var(--radius-sm);
  background: rgba(201, 168, 76, 0.12); border: 1px solid var(--border-gold);
  color: var(--gold-light); font-size: 0.72rem; font-weight: 500;
  font-family: var(--font-body);
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.hover-btn:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.hover-btn::before {
  content: '';
  position: absolute; bottom: calc(100% + 4px); left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--border-gold);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.hover-btn:hover::before { opacity: 1; }

.hover-btn-lg { width: 52px; height: 52px; }

/* ============ CONTACT (merged into About) ============ */
.contact-inline {
  text-align: center;
  max-width: 600px;
  margin: 3rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid var(--border-subtle);
}
.contact-text { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8; margin-bottom: 2rem; }
.contact-links-row { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.footer {
  padding: 2rem; text-align: center;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-primary);
}
.footer-text { color: var(--text-muted); font-size: 0.8rem; }
.footer-text a { color: var(--gold-primary); text-decoration: none; }

/* ============ ANIMATIONS ============ */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(5,5,5,0.98); flex-direction: column; align-items: center; justify-content: center; gap: 2rem; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; z-index: 1001; }
  .about-grid { grid-template-columns: 1fr; }
  section { padding: 4rem 1.2rem; }
}
