/* =============================================================================
   ROLLER VS NYÚL — Base & Reset
   ============================================================================= */

/* Local fonts */
@font-face {
  font-family: 'RussoOne';
  src: local('Russo One'),
       url('../assets/fonts/RussoOne-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TekoBold';
  src: local('Teko Bold'),
       url('../assets/fonts/Teko-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background-color: var(--void-black);
  color: var(--bone-grey);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  letter-spacing: 0.02em;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Accessibility — screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -999px;
  left: 0;
  z-index: 9999;
  background: var(--hazard-amber);
  color: var(--void-black);
  padding: 8px 16px;
  font-family: var(--font-hud);
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.skip-link:focus {
  top: 0;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}
@media (max-width: 639px) {
  .container { padding: 0 var(--sp-sm); }
}

/* Typography Scale */
h1.hero-title {
  font-family: var(--font-hero);
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--hazard-amber);
  text-shadow: var(--glow-amber-hot);
  line-height: 1.05;
}
@media (max-width: 639px) {
  h1.hero-title {
    font-size: clamp(1.5rem, 6.5vw, 2.2rem);
  }
}
@media (min-width: 1024px) and (max-width: 1600px) {
  h1.hero-title { font-size: clamp(2rem, 3.6vw, 2.8rem); }
}

p.hero-sub {
  font-family: var(--font-flavor);
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  letter-spacing: 0.05em;
  color: var(--amber-dim);
  text-shadow: 0 1px 2px #000;
  line-height: 1.5;
}
@media (max-width: 639px) {
  p.hero-sub { font-size: 0.85rem; }
}
@media (min-width: 1024px) and (max-width: 1600px) {
  p.hero-sub { font-size: clamp(0.9rem, 1.3vw, 1rem); }
}

h2.section-title {
  font-family: var(--font-hud);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hazard-amber);
  text-shadow: var(--glow-amber);
}

span.hud-stat {
  font-family: var(--font-hud);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 400;
  color: var(--hazard-amber);
  text-shadow: var(--glow-amber);
  display: block;
  line-height: 1;
}

h2.card-title,
h3.card-title {
  font-family: var(--font-label);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fbbf24;
  text-shadow: 0 0 8px rgba(251,191,36,0.5), 0 2px 0 #000;
  line-height: 1.2;
}

.hud-label {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-shadow: 0 1px 0 rgba(0,0,0,0.8);
}

p.courier-log {
  font-family: var(--font-flavor);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  letter-spacing: 0.03em;
  color: var(--amber-dim);
  line-height: 1.7;
}

p {
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--bone-grey);
}

figcaption {
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bone-dim);
}

small, footer small {
  font-family: var(--font-flavor);
  font-size: 0.75rem;
  color: var(--bone-dim);
}

a {
  color: var(--hazard-amber);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--amber-pale); }
a:focus-visible {
  outline: 2px solid var(--hazard-amber);
  outline-offset: 2px;
  border-radius: 2px;
}

img {
  max-width: 100%;
  display: block;
}

/* Cursor blink */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  @keyframes blink { 0%, 100% { opacity: 1; } }
}
