:root {
  /* Colors - Kitsune Theme */
  --kitsune-red: #C8102E;
  --kitsune-crimson: #8B0000;
  --ember: #FF4444;
  --obsidian: #0A0A0A;
  --void: #111111;
  --ash: #1A1A1A;
  --smoke: #2A2A2A;
  --paper: #F5F0E8;
  --ink: #1C1C1E;
  --ghost: #E8E8E8;
  --white: #FFFFFF;
  
  /* Typography */
  --font-display: 'Cinzel Decorative', serif;
  --font-heading: 'Noto Serif JP', serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Orbitron', sans-serif;

  /* Sizes */
  --header-height: 80px;
  --container-max: 1280px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.5);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 15px rgba(200, 16, 46, 0.4);
  --shadow-glow-strong: 0 0 25px rgba(255, 68, 68, 0.6);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--obsidian);
  color: var(--ghost);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--white);
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
  outline: none;
}

/* Typography Utilities */
.text-display { font-family: var(--font-display); }
.text-accent { font-family: var(--font-accent); }
.text-red { color: var(--kitsune-red); }
.text-glow { text-shadow: var(--shadow-glow); }

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--kitsune-red);
  box-shadow: var(--shadow-glow);
  border-radius: var(--radius-full);
}

.bg-paper {
  background-color: var(--paper);
  color: var(--ink);
}

.bg-paper h1, .bg-paper h2, .bg-paper h3, .bg-paper h4 {
  color: var(--void);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--void);
}
::-webkit-scrollbar-thumb {
  background: var(--smoke);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--kitsune-red);
}

/* Visual rework layer */
:root {
  --kitsune-red: #c20f2f;
  --kitsune-crimson: #7a0015;
  --ember: #ff5b35;
  --sun-gold: #f2b84b;
  --jade: #2e8b57;
  --indigo: #3859c7;
  --paper: #f6efe3;
  --paper-deep: #ead9bd;
  --ink-soft: #242023;
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.32);
}

body {
  background:
    radial-gradient(circle at 18% 12%, rgba(194, 15, 47, 0.16), transparent 30rem),
    radial-gradient(circle at 82% 28%, rgba(242, 184, 75, 0.11), transparent 26rem),
    linear-gradient(180deg, #080606 0%, #151011 42%, #0a0808 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.site-ember-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  opacity: 0.95;
  mix-blend-mode: screen;
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-kicker,
.hero-kicker,
.promo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--kitsune-red);
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-kicker::before,
.section-kicker::after,
.hero-kicker::before,
.promo-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.section-title {
  margin: 0.65rem 0 0;
  display: block;
  left: auto;
  transform: none;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: 0;
}

.section-title::after {
  width: 90px;
  height: 4px;
  bottom: -16px;
  background: linear-gradient(90deg, transparent, var(--kitsune-red), var(--sun-gold), transparent);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
