/* ============================================================
  FUNDAMENTOS DE JOGOS DIGITAIS — Home / Introdução
  ============================================================ */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Fundos — chumbo / quase-preto */
  --hades-bg: #0a0908;
  --hades-bg-alt: #14110f;
  --hades-panel: rgba(20, 16, 14, 0.92);
  --hades-panel-alt: rgba(28, 20, 18, 0.9);

  /* Roxo profundo */
  --hades-purple: #2e1a3d;
  --hades-purple-bright: #6a3f8f;

  /* Vermelho-sangue */
  --hades-blood: #5c141d;
  --hades-blood-bright: #c23548;

  /* Ouro metálico / bronze envelhecido */
  --hades-gold: #cfa759;
  --hades-gold-bright: #f2d59a;
  --hades-gold-dark: #7a5c2e;
  --hades-bronze: #5c4322;

  /* Texto (pergaminho claro) */
  --hades-text: #ece1d1;
  --hades-text-dim: #ab9c8a;
  --hades-text-muted: #6f6459;

  /* Tipografia */
  --font-title: "Cinzel", serif;
  --font-body: "Crimson Text", serif;

  /* Sombras / Brilhos */
  --shadow-gold-glow: 0 0 10px rgba(207, 167, 89, 0.5), 0 0 26px rgba(207, 167, 89, 0.2);
  --shadow-blood-glow: 0 0 10px rgba(194, 53, 72, 0.5), 0 0 26px rgba(194, 53, 72, 0.2);
  --shadow-purple-glow: 0 0 10px rgba(106, 63, 143, 0.5), 0 0 26px rgba(106, 63, 143, 0.22);
  --shadow-panel: 0 14px 40px rgba(0, 0, 0, 0.65);

  /* Transições */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Espaçamento */
  --space-2: 0.5rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
}

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

/* ---------- 3. Base / Tela Cheia ---------- */
html,
body {
  height: auto;
  overflow-y: auto;
  color-scheme: dark;
}

body.game-screen {
  min-height: 100vh;
  display: block;
  background:
    radial-gradient(circle at 50% 0%, rgba(106, 63, 143, 0.16), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(194, 53, 72, 0.12), transparent 55%),
    var(--hades-bg);
  color: var(--hades-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
}

::selection {
  background-color: var(--hades-blood-bright);
  color: var(--hades-text);
}

/* Vinheta escura nas bordas — profundidade de tela de menu */
.vignette {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  pointer-events: none;
  box-shadow: inset 0 0 180px 60px rgba(0, 0, 0, 0.85);
}

/* ---------- 4. Introdução ---------- */
.intro-shell {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 4.5rem 0 4rem;
}

.intro-hero {
  padding: 3.5rem 2.5rem;
  border: 1px solid rgba(207, 167, 89, 0.22);
  background:
    radial-gradient(circle at top left, rgba(207, 167, 89, 0.14), transparent 38%),
    radial-gradient(circle at bottom right, rgba(194, 53, 72, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(24, 18, 26, 0.94), rgba(14, 10, 16, 0.98));
  box-shadow:
    var(--shadow-panel),
    inset 0 0 0 1px rgba(242, 213, 154, 0.06),
    inset 0 0 44px rgba(0, 0, 0, 0.22);
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.intro-hero__eyebrow {
  font-family: var(--font-title);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--hades-text-muted);
}

.intro-hero__title {
  margin-top: 1rem;
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: 0.08em;
  color: var(--hades-gold-bright);
  text-shadow: 0 0 24px rgba(207, 167, 89, 0.28), 0 6px 20px rgba(0, 0, 0, 0.42);
}

.accent {
  color: var(--hades-blood-bright);
  text-shadow: 0 0 16px rgba(194, 53, 72, 0.55);
}

.intro-hero__lead {
  width: min(62rem, 100%);
  margin: 1.25rem auto 0;
  color: var(--hades-text-dim);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.intro-hero__actions {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

.intro-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.8rem;
  padding: 1rem 2.2rem;
  border: 1px solid rgba(207, 167, 89, 0.55);
  background:
    linear-gradient(180deg, rgba(122, 31, 43, 0.38), rgba(40, 19, 26, 0.98)),
    radial-gradient(circle at top, rgba(242, 213, 154, 0.2), transparent 60%);
  color: var(--hades-gold-bright);
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-gold-glow), 0 14px 32px rgba(0, 0, 0, 0.36);
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast);
  filter: saturate(110%) contrast(108%);
}

.intro-cta:hover,
.intro-cta:focus-visible {
  transform: translateY(-2px);
  border-color: var(--hades-gold-bright);
  box-shadow: 0 0 18px rgba(207, 167, 89, 0.38), 0 16px 34px rgba(0, 0, 0, 0.34);
}

.intro-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.intro-card {
  padding: 1.35rem 1.15rem;
  border: 1px solid rgba(207, 167, 89, 0.14);
  background:
    linear-gradient(180deg, rgba(24, 18, 26, 0.9), rgba(13, 10, 16, 0.96)),
    radial-gradient(circle at top right, rgba(207, 167, 89, 0.06), transparent 34%);
  box-shadow:
    inset 0 0 0 1px rgba(242, 213, 154, 0.03),
    0 10px 24px rgba(0, 0, 0, 0.16);
}

.intro-card__eyebrow {
  font-family: var(--font-title);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hades-text-muted);
}

.intro-card__title {
  margin-top: 0.7rem;
  font-family: var(--font-title);
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--hades-gold-bright);
}

.intro-card__text {
  margin-top: 0.7rem;
  color: var(--hades-text-dim);
}

/* Divisor ornamentado (linha + gema central) */
.ornate-divider {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  padding: var(--space-6) var(--space-8) var(--space-4);
}
.ornate-divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hades-gold-dark), transparent);
}
.ornate-divider__gem {
  color: var(--hades-blood-bright);
  font-size: 0.7rem;
  text-shadow: var(--shadow-blood-glow);
}

/* ---------- 5. Motion / Acessibilidade ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 3px solid var(--hades-gold-bright);
  outline-offset: 2px;
}

/* ---------- 6. Responsividade ---------- */
@media (max-width: 860px) {
  .intro-shell {
    width: min(100%, calc(100% - 1.5rem));
    padding: 2rem 0 2.5rem;
  }

  .intro-hero {
    padding: 1.6rem 1rem;
  }

  .intro-hero__title {
    font-size: clamp(1.6rem, 7.2vw, 2.5rem);
  }

  .intro-overview {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .ornate-divider {
    padding: 0 0.75rem 0.75rem;
  }

  html,
  body {
    padding: 0.75rem;
  }
}
