@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Crimson+Pro:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Barlow+Condensed:wght@300;400;500;600;700;800&display=swap');

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

:root {
  --red: #DA291C;
  --red-dark: #a81c12;
  --red-glow: rgba(218,41,28,0.3);
  --gold: #FFC845;
  --gold-dim: rgba(255,200,69,0.15);
  --black: #0a0a0a;
  --dark: #111111;
  --dark2: #1a1a1a;
  --dark3: #222222;
  --mid: #2e2e2e;
  --light: #e8e4df;
  --muted: #888888;
  --white: #ffffff;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Crimson Pro', serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--light);
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(218,41,28,0.3);
  height: 64px;
}

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

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
}

.nav-list li a {
  color: rgba(232,228,223,0.7);
  text-decoration: none;
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 1rem;
  height: 64px;
  display: flex;
  align-items: center;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--red);
  transition: left 0.25s, right 0.25s;
}

.nav-list li a:hover {
  color: var(--white);
  background: rgba(218,41,28,0.08);
}

.nav-list li a:hover::after {
  left: 0;
  right: 0;
}

.made-by {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0;
  padding-right: 0.5rem;
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

/* Back to top */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 4px;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px var(--red-glow);
  transition: background 0.2s, transform 0.2s;
  z-index: 9999;
  font-family: var(--font-display);
}

#back-to-top:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 20;
  animation: fadeInUp 1.5s ease forwards;
}

.scroll-indicator .arrow {
  width: 28px;
  height: 28px;
  margin: 0 auto 4px;
  animation: floatArrow 2s ease-in-out infinite;
  display: block;
}

.scroll-indicator span {
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  font-family: var(--font-condensed);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
}

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

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .made-by { display: none; }

  .nav-list {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    display: none;
    border-bottom: 1px solid rgba(218,41,28,0.3);
  }

  .nav-list.active { display: flex; }

  .nav-list li a {
    height: 48px;
    padding: 0 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .nav-list li a::after { display: none; }
}


.nav-list li a.active { color: var(--white); background: rgba(218,41,28,0.12); }
.nav-list li a.active::after { left: 0; right: 0; }