/* ==========================================================================
   1. ROOT VARIABLES & RESET
   ========================================================================== */
:root {
  --bg: #0f1115;
  --panel: #161a22;
  --text: #f1f3f5;
  --muted: #a5adba;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #5a0000;
  --max: 980px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: radial-gradient(circle at top right, rgba(27, 32, 48, 0.4) 0%, rgba(15, 17, 21, 0.85) 52%), 
              url('aztec background sans text.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

main { flex: 1; }

/* ==========================================================================
   2. UI COMPONENTS & LAYOUT
   ========================================================================== */
.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

section { padding: 3rem 0; border-bottom: 1px solid var(--line); }

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  transition: 0.25s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 25px rgba(90, 0, 0, 0.4);
  transform: translateY(-3px);
}

/* ==========================================================================
   3. NAVIGATION
   ========================================================================== */
nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(15, 17, 21, 0.85);
  border-bottom: 1px solid var(--line);
}

.nav-inner { display: flex; justify-content: space-between; padding: 0.95rem 0; }

.links a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1rem;
  font-size: 0.8rem;
  transition: 0.2s ease;
  position: relative;
  cursor: pointer;
}

.links a:hover {
  color: var(--accent);
  letter-spacing: 0.3px;
  text-shadow: 0 0 10px rgba(90, 0, 0, 0.5);
}

.links a::after {
  content: "";
  position: absolute; left: 0; bottom: -4px; width: 0%; height: 1px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(90, 0, 0, 0.6);
  transition: 0.25s ease;
}

.links a:hover::after { width: 100%; }

.nav-brand {
  transition: 0.25s; cursor: pointer; color: var(--text); text-decoration: none;
}

.nav-brand:hover {
  color: var(--accent);
  text-shadow: 0 0 14px rgba(90, 0, 0, 0.6);
  letter-spacing: 0.5px;
}

/* ==========================================================================
   4. GALLERIES & ANIMATIONS
   ========================================================================== */
/* IG/Video Rows */
.ig-row, .video-row { overflow: hidden; padding-bottom: 1rem; }

.ig-track {
  display: flex; gap: 1rem; width: max-content;
  animation: rollingGallery 30s linear infinite;
}

.ig-track:hover { animation-play-state: paused; }

@keyframes rollingGallery {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 0.5rem)); }
}

.ig-card {
  min-width: 300px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 1rem; flex: 0 0 auto;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: brightness(0.8) grayscale(0.2);
}

.ig-card:hover {
  transform: scale(1.25);
  filter: brightness(1.1) grayscale(0);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  border-color: rgba(90, 0, 0, 0.8);
}

/* Dying Neon Background */
body::before {
  content: "tone";
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 21vw;
  line-height: 0.8;
  color: rgba(120, 0, 0, 0.18);
  pointer-events: none; z-index: 0;
  animation: neonDying 8s infinite;
}

/* ... (Keep your existing @keyframes neonDying here) ... */

/* ==========================================================================
   5. UTILS, MODALS & MEDIA QUERIES
   ========================================================================== */
/* Add your modal/footer/footer-admin/media-query styles here */
