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

:root {
  --bg-dark: #0a0908;
  --bg-section: #111010;
  --bg-accent: #1a1412;
  --gold: #c9a84c;
  --gold-dim: #8a7234;
  --gold-bright: #e6c55a;
  --text: #d4cfc4;
  --text-dim: #8a857a;
  --text-bright: #ede8dd;
  --red-deep: #6b1c1c;
  --green-veve: #2a4a2a;
}

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

body {
  font-family: 'Crimson Text', Georgia, serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* === Film Grain Overlay === */
.grain {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* === Typography === */
h1, h2, h3, h4 {
  font-family: 'Cinzel', 'Times New Roman', serif;
  color: var(--text-bright);
  letter-spacing: 0.04em;
}

h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--gold);
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

h4 {
  font-size: 1.1rem;
  color: var(--gold-dim);
  margin-bottom: 0.4rem;
}

p {
  margin-bottom: 1rem;
  max-width: 680px;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--gold-bright);
}

/* === Layout === */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
}

.section-dark {
  background: var(--bg-section);
}

.section-accent {
  background: var(--bg-accent);
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

/* === Hero === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at center bottom, rgba(201, 168, 76, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.tagline-top {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.title {
  margin-bottom: 1.5rem;
}

.title-main {
  display: block;
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--text-bright);
  text-shadow: 0 0 60px rgba(201, 168, 76, 0.15);
  line-height: 1.1;
}

.title-year {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: clamp(1.2rem, 4vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.5em;
  color: var(--gold);
  margin-top: 0.3rem;
}

.pitch {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.divider {
  font-size: 1.5rem;
  color: var(--gold-dim);
  opacity: 0.6;
}

/* === Game Cards === */
.game-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.game-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(201, 168, 76, 0.15);
  padding: 2rem;
  position: relative;
}

.game-card-label {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.5rem;
}

.game-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.game-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s, background 0.3s;
}

.game-card-link:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
}

.game-card-coming {
  opacity: 0.6;
}

.card-cta {
  display: block;
  margin-top: 1rem;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.card-cta-dim {
  color: var(--text-dim);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.05em;
}

/* === Feature List === */
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.feature {
  padding: 1rem 0;
  border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.feature p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* === Attributes === */
.attr-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.attr {
  text-align: center;
  padding: 1.5rem 0.5rem;
  border: 1px solid rgba(201, 168, 76, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.attr-name {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.attr-align {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.8rem;
}

.attr p {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 0 auto;
  max-width: 180px;
}

/* === CTA === */
.cta-row {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.cta-link {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--gold-dim);
  transition: all 0.3s;
}

.cta-link:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold);
  color: var(--gold-bright);
}

/* === Footer === */
footer {
  padding: 3rem 0;
  text-align: center;
  background: var(--bg-dark);
  border-top: 1px solid rgba(201, 168, 76, 0.08);
}

.footer-text {
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.footer-sub {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--gold-dim);
  margin-top: 0.5rem;
}

/* === Responsive === */
@media (max-width: 768px) {
  .game-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

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

  .attr:last-child {
    grid-column: 1 / -1;
  }

  section {
    padding: 3rem 0;
  }

  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .attr-grid {
    grid-template-columns: 1fr;
  }

  .attr:last-child {
    grid-column: auto;
  }

  h2 {
    font-size: 1.5rem;
  }
}
