/* ================================================================
   playoutstrat.com — unified stylesheet
   Sections: Variables → Shared → Auth → Marketing (index)
   ================================================================ */


/* ================================================================
   VARIABLES
   ================================================================ */
:root {
  /* Backgrounds */
  --bg-deep:       #0f0804;
  --bg-dark:       #1c0f08;
  --bg-mid:        #2d1a0e;
  --bg-light:      #4a2c18;

  /* Brass */
  --brass-dim:     #5a3e00;
  --brass:         #b8860b;
  --brass-mid:     #d4a830;
  --brass-bright:  #f0c848;

  /* Text */
  --parchment:     #f4e0b0;
  --parchment-dim: #c8a878;
  --cream:         #fdf6e3;
  --text:          #e0ccaa;
  --text-dim:      #90784a;
  --text-muted:    #5a4830;

  /* Accents */
  --crimson:       #7a1010;
  --crimson-mid:   #aa2020;
  --crimson-bright:#cc3030;
  --teal:          #1a4a44;
  --teal-bright:   #3abfad;

  /* Semantic */
  --error:         #cc3030;
  --success:       #3abfad;
}


/* ================================================================
   SHARED — reset, base body, film grain, chess grid, animations
   ================================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background: var(--bg-deep);
  color: var(--text);
  font-family: 'EB Garamond', Georgia, serif;
  overflow-x: hidden;
}

/* Film-grain overlay — all pages */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .035;
  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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* Scroll-reveal utility (index only, harmless elsewhere) */
.rev {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.rev.in {
  opacity: 1;
  transform: none;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50%       { opacity: 1;  transform: scaleY(1.15); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .25; }
}


/* ================================================================
   AUTH — login.html + register.html
   ================================================================ */

/* body modifier classes — set on <body> in each auth page */
body.auth-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.auth-top {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
}

/* Chess grid background — auth pages */
body.auth-center::before,
body.auth-top::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background-image:
    linear-gradient(45deg,  rgba(55,30,12,.5) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(55,30,12,.5) 25%, transparent 25%),
    linear-gradient(45deg,  transparent 75%, rgba(55,30,12,.5) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(55,30,12,.5) 75%);
  background-size: 64px 64px;
  background-position: 0 0, 0 32px, 32px -32px, -32px 0;
  opacity: .13;
}

/* Warm centre glow */
.bg-glow {
  position: fixed; z-index: 0;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 500px;
  background: radial-gradient(ellipse, rgba(184,134,11,.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Card */
.card {
  position: relative; z-index: 1;
  width: 100%; max-width: 420px;
  margin: 2rem 1rem;
  border: 1px solid rgba(184,134,11,.25);
  background: linear-gradient(160deg, rgba(45,26,14,.97), rgba(15,8,4,.98));
  padding: 2.8rem 2.4rem 2.4rem;
  animation: fadeIn .6s ease forwards;
}

/* Register card is slightly wider */
.card.card--wide { max-width: 460px; }

/* Corner accents */
.card::before, .card::after {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  border-color: var(--brass-dim);
  border-style: solid;
}
.card::before { top: 0; left: 0; border-width: 1px 0 0 1px; }
.card::after  { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

/* Card header */
.card-header { text-align: center; margin-bottom: 2rem; }

.logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brass-mid);
  text-shadow: 0 0 30px rgba(212,168,48,.35);
  display: block;
  margin-bottom: .5rem;
  text-decoration: none;
}

.card-header p {
  font-family: 'Cinzel', serif;
  font-size: .65rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Brass rule */
.rule {
  display: flex; align-items: center; gap: .8rem;
  margin: 1.4rem 0;
}
.rule-line {
  flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, var(--brass-dim));
}
.rule-line.r { background: linear-gradient(to left, transparent, var(--brass-dim)); }
.rule-gem {
  width: 5px; height: 5px;
  background: var(--brass);
  transform: rotate(45deg);
}

/* Section label (register only) */
.section-label {
  font-family: 'Cinzel', serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--text-dim);
  text-align: center;
  margin: 1.4rem 0 1rem;
  display: flex; align-items: center; gap: .7rem;
}
.section-label::before, .section-label::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(184,134,11,.15);
}

/* Form layout */
.form-group { margin-bottom: 1rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-bottom: 1rem;
}

/* Labels */
label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--parchment);
  margin-bottom: .4rem;
}
label span { color: var(--error); margin-left: .2rem; }

/* Inputs & selects */
input[type="email"],
input[type="password"],
input[type="text"],
select {
  width: 100%;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(184,134,11,.2);
  color: var(--parchment);
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  padding: .68rem 1rem;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  border-radius: 0;
  -webkit-appearance: none;
}
select { cursor: pointer; }
select option { background: var(--bg-dark); color: var(--parchment); }
input::placeholder { color: var(--text-muted); }
input:focus, select:focus {
  border-color: rgba(184,134,11,.6);
  box-shadow: 0 0 0 3px rgba(184,134,11,.07);
}

/* Zip row */
.zip-row { display: flex; gap: .6rem; }
.zip-row input { flex: 1; }
.btn-zip {
  font-family: 'Cinzel', serif;
  font-size: .6rem; letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(184,134,11,.18);
  padding: .68rem .9rem;
  cursor: pointer; white-space: nowrap;
  transition: all .25s;
}
.btn-zip:hover { border-color: rgba(184,134,11,.4); color: var(--brass-mid); }

/* Field status (zip lookup feedback) */
.field-status {
  font-family: 'Cinzel', serif;
  font-size: .6rem; letter-spacing: .05em;
  margin-top: .3rem; display: block;
}
.field-status.error   { color: var(--error); }
.field-status.success { color: var(--success); }

/* Turnstile */
.turnstile-wrap {
  display: flex; justify-content: center;
  margin: 1.4rem 0 1rem;
}

/* Status messages */
.status {
  font-family: 'Cinzel', serif;
  font-size: .7rem; letter-spacing: .08em;
  text-align: center; padding: .6rem;
  margin-bottom: .8rem; display: none;
}
.status.error   { color: var(--error);   background: rgba(204,48,48,.08);  border: 1px solid rgba(204,48,48,.2);  display: block; }
.status.success { color: var(--success); background: rgba(58,191,173,.08); border: 1px solid rgba(58,191,173,.2); display: block; }

/* Primary button */
.btn-primary {
  width: 100%;
  font-family: 'Cinzel', serif;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--bg-deep);
  background: linear-gradient(140deg, var(--brass-bright), var(--brass));
  border: none; padding: .95rem;
  cursor: pointer; position: relative;
  transition: all .3s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  margin-bottom: .5rem;
}
.btn-primary::before {
  content: '';
  position: absolute; top: 2px; left: 2px; right: 2px; height: 40%;
  background: linear-gradient(to bottom, rgba(255,255,255,.15), transparent);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184,134,11,.4);
}
.btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Ghost button */
.btn-ghost-auth {
  width: 100%;
  font-family: 'Cinzel', serif;
  font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid rgba(184,134,11,.18);
  padding: .75rem; cursor: pointer;
  transition: all .25s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  margin-bottom: .5rem;
}
.btn-ghost-auth:hover { border-color: rgba(184,134,11,.45); color: var(--brass-mid); }

/* Social button */
.btn-social {
  width: 100%;
  font-family: 'Cinzel', serif;
  font-size: .78rem; letter-spacing: .06em;
  color: var(--text-dim);
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(184,134,11,.1);
  padding: .72rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  transition: all .25s; margin-bottom: .5rem;
}
.btn-social:hover { border-color: rgba(184,134,11,.3); color: var(--parchment); }
.social-icon { width: 16px; height: 16px; opacity: .6; }

/* Divider */
.divider {
  display: flex; align-items: center; gap: .8rem;
  font-family: 'Cinzel', serif;
  font-size: .72rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-dim);
  margin: 1rem 0;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(184,134,11,.15);
}

/* Link button */
.btn-link {
  width: 100%;
  font-family: 'Cinzel', serif;
  font-size: .82rem; font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-dim);
  background: none; border: none; cursor: pointer;
  padding: .5rem; transition: color .25s; text-align: center;
}
.btn-link:hover { color: var(--brass-mid); }

/* Auth responsive */
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}


/* ================================================================
   MARKETING — index.html
   ================================================================ */

/* Index body override — no flex centering, standard scroll */
body.page-index {
  display: block;
}

/* Navigation */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 3.5rem;
  background: linear-gradient(to bottom,
    rgba(7,4,2,0.92) 0%,
    rgba(7,4,2,0) 100%);
}

.nav-logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brass-mid);
  text-decoration: none;
  text-shadow: 0 0 28px rgba(212,168,48,.45);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.8rem;
}

.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color .25s;
}
.nav-links a:hover { color: var(--brass-mid); }

.nav-play {
  font-family: 'Cinzel', serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: linear-gradient(140deg, var(--brass-bright), var(--brass));
  padding: .62rem 1.9rem;
  text-decoration: none;
  display: inline-block;
  transition: all .3s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.nav-play:hover {
  background: linear-gradient(140deg, #fff5cc, var(--brass-bright));
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184,134,11,.45);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 9rem 2rem 5rem;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(45deg,  rgba(55,30,12,.55) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(55,30,12,.55) 25%, transparent 25%),
    linear-gradient(45deg,  transparent 75%, rgba(55,30,12,.55) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(55,30,12,.55) 75%);
  background-size: 72px 72px;
  background-position: 0 0, 0 36px, 36px -36px, -36px 0;
  opacity: .16;
}

.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%,
    transparent 20%,
    rgba(7,4,2,.85) 80%,
    rgba(7,4,2,1) 100%);
}

.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(184,134,11,.07) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: .68rem;
  letter-spacing: .52em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: slideUp .8s ease .25s forwards;
}

.hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(4.5rem, 13vw, 10rem);
  font-weight: 900;
  line-height: .92;
  color: var(--parchment);
  letter-spacing: -.01em;
  text-shadow:
    0 0 80px rgba(184,134,11,.22),
    0 6px 40px rgba(0,0,0,.85),
    3px 3px 0 rgba(184,134,11,.1);
  margin-bottom: .6rem;
  opacity: 0;
  animation: slideUp .9s ease .45s forwards;
}

.hero-sub {
  font-family: 'Cinzel', serif;
  font-size: clamp(.6rem, 1.4vw, .85rem);
  letter-spacing: .55em;
  text-transform: uppercase;
  color: var(--brass-mid);
  margin-bottom: 2.8rem;
  opacity: 0;
  animation: slideUp .9s ease .65s forwards;
}

/* Ornamental brass rule */
.rule-index {
  display: flex;
  align-items: center;
  gap: .9rem;
  justify-content: center;
  margin: 0 auto 2.4rem;
  opacity: 0;
  animation: fadeIn 1s ease .85s forwards;
}
.rule-index .rule-line {
  height: 1px;
  width: 90px;
  background: linear-gradient(to right, transparent, var(--brass));
  flex: unset;
}
.rule-index .rule-line.r { background: linear-gradient(to left, transparent, var(--brass)); }
.rule-index .rule-gem {
  width: 7px; height: 7px;
  background: var(--brass-mid);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(212,168,48,.5);
}

.hero-tagline {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  color: var(--text-dim);
  max-width: 520px;
  line-height: 1.65;
  margin: 0 auto 3.2rem;
  opacity: 0;
  animation: slideUp .9s ease 1s forwards;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: slideUp .9s ease 1.2s forwards;
}

/* Primary CTA */
.btn-gold {
  font-family: 'Cinzel', serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: linear-gradient(140deg, var(--brass-bright) 0%, var(--brass) 100%);
  padding: 1.05rem 3rem;
  text-decoration: none;
  display: inline-block;
  position: relative;
  transition: all .3s;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}
.btn-gold::before {
  content: '';
  position: absolute;
  top: 2px; left: 2px; right: 2px; height: 40%;
  background: linear-gradient(to bottom, rgba(255,255,255,.18), transparent);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}
.btn-gold:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 45px rgba(184,134,11,.55);
}

/* Ghost CTA */
.btn-ghost {
  font-family: 'Cinzel', serif;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  background: transparent;
  border: 1px solid var(--brass-dim);
  padding: 1.05rem 3rem;
  text-decoration: none;
  display: inline-block;
  transition: all .3s;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}
.btn-ghost:hover {
  border-color: var(--brass-mid);
  color: var(--brass-mid);
  transform: translateY(-4px);
}

/* Scroll caret */
.scroll-caret {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2; opacity: 0;
  animation: fadeIn 1s ease 2s forwards;
}
.scroll-caret::before {
  content: '';
  display: block;
  width: 1px; height: 55px;
  background: linear-gradient(to bottom, var(--brass), transparent);
  margin: 0 auto;
  animation: pulse 2.2s ease infinite;
}

/* Shared section chrome */
section { position: relative; padding: 7rem 2rem; }
.inner { max-width: 1100px; margin: 0 auto; }

.sec-eye {
  font-family: 'Cinzel', serif;
  font-size: .63rem;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: .9rem;
}

.sec-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--parchment);
  line-height: 1.2;
  margin-bottom: 1.4rem;
}

.sec-sub {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 540px;
}

.sec-header { text-align: center; margin-bottom: 5rem; }
.sec-header .sec-sub { margin: 0 auto; }

/* How to Play */
.how-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 50%, var(--bg-deep) 100%);
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0 1.5rem;
}

.step-connector {
  display: flex; align-items: center;
  padding-top: 2.8rem;
}
.step-connector::before {
  content: ''; width: 100%; height: 1px;
  background: linear-gradient(to right, var(--brass-dim), transparent, var(--brass-dim));
}

.step { text-align: center; padding: 0 1rem; }

.step-num {
  width: 56px; height: 56px;
  border: 1px solid var(--brass-dim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.6rem;
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.1rem; color: var(--brass-mid);
  background: var(--bg-dark);
  box-shadow: 0 0 22px rgba(184,134,11,.18), inset 0 0 12px rgba(184,134,11,.06);
  position: relative;
}

.step h3 {
  font-family: 'Cinzel', serif;
  font-size: .95rem; font-weight: 600;
  letter-spacing: .06em; color: var(--parchment);
  margin-bottom: .7rem;
}

.step p {
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.72;
}
.step p em { color: var(--brass-mid); font-style: normal; }

/* Pieces */
.pieces-section { background: var(--bg-deep); }

.pieces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.piece-card {
  border: 1px solid rgba(184,134,11,.18);
  background: linear-gradient(155deg, rgba(45,26,14,.85), rgba(28,15,8,.95));
  padding: 3rem 2.2rem 2.5rem;
  text-align: center;
  position: relative; overflow: hidden;
  transition: border-color .4s, transform .4s, box-shadow .4s;
}

.piece-card::before, .piece-card::after {
  content: '';
  position: absolute;
  width: 22px; height: 22px;
  border-color: var(--brass-dim); border-style: solid;
}
.piece-card::before { top: 0; left: 0; border-width: 1px 0 0 1px; }
.piece-card::after  { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

.piece-card-inner {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(184,134,11,.06), transparent 60%);
  opacity: 0; transition: opacity .4s;
}

.piece-card:hover {
  border-color: rgba(184,134,11,.55);
  transform: translateY(-8px);
  box-shadow: 0 24px 70px rgba(0,0,0,.55), 0 0 35px rgba(184,134,11,.08);
}
.piece-card:hover .piece-card-inner { opacity: 1; }

.piece-glyph {
  display: block; font-size: 4.5rem;
  margin-bottom: 1.4rem; line-height: 1;
  filter: drop-shadow(0 0 18px rgba(184,134,11,.35));
  transition: filter .4s;
}
.piece-card:hover .piece-glyph { filter: drop-shadow(0 0 30px rgba(212,168,48,.5)); }

.piece-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem; font-weight: 700;
  letter-spacing: .1em; color: var(--parchment);
  margin-bottom: .4rem;
}

.piece-moves {
  font-family: 'Cinzel', serif;
  font-size: .6rem; letter-spacing: .32em;
  text-transform: uppercase; color: var(--brass);
  margin-bottom: 1.2rem; display: block;
}

.piece-card p {
  font-size: 1.1rem;
  color: var(--text-dim); line-height: 1.72;
}

/* Tile system */
.tiles-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 50%, var(--bg-deep) 100%);
}

.tiles-row {
  display: flex; align-items: center;
  justify-content: center; gap: 2.5rem; flex-wrap: wrap;
}

.tile-sep {
  width: 1px; height: 110px;
  background: linear-gradient(to bottom, transparent, var(--brass-dim), transparent);
}

.tile-card {
  text-align: center; flex: 1;
  min-width: 190px; max-width: 260px;
}

.tile-face {
  width: 88px; height: 88px;
  border: 1px solid rgba(184,134,11,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; margin: 0 auto 1.5rem; position: relative;
}
.tile-face.t-std  { background: linear-gradient(135deg, #3a2515, #2a1a0d); }
.tile-face.t-fast {
  background: linear-gradient(135deg, #132535, #0d1820);
  border-color: rgba(58,191,173,.35);
  box-shadow: 0 0 22px rgba(58,191,173,.12), inset 0 0 16px rgba(58,191,173,.05);
}
.tile-face.t-slow {
  background: linear-gradient(135deg, #3a1010, #2a0808);
  border-color: rgba(200,60,60,.35);
  box-shadow: 0 0 22px rgba(200,60,60,.12), inset 0 0 16px rgba(200,60,60,.05);
}

.tile-card h4 {
  font-family: 'Cinzel', serif; font-size: .88rem;
  color: var(--parchment); margin-bottom: .3rem; letter-spacing: .07em;
}

.tile-cost {
  font-family: 'Cinzel', serif; font-size: .62rem;
  letter-spacing: .25em; color: var(--brass);
  display: block; margin-bottom: .8rem;
}

.tile-card p {
  font-size: 1.08rem;
  color: var(--text-dim); line-height: 1.68;
}

/* Compete */
.compete-section { background: var(--bg-deep); }

.compete-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}

.compete-copy h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700; color: var(--parchment);
  line-height: 1.2; margin-bottom: 1.5rem;
}

.compete-copy p {
  font-size: 1.18rem;
  color: var(--text-dim); line-height: 1.82; margin-bottom: 1.1rem;
}
.compete-copy p strong { color: var(--brass-mid); font-weight: 400; }

.feature-bullets { list-style: none; margin-top: 2rem; }
.feature-bullets li {
  display: flex; align-items: baseline; gap: .8rem;
  font-size: 1.1rem;
  color: var(--text-dim); margin-bottom: .75rem; line-height: 1.55;
}
.feature-bullets li::before {
  content: '◆'; color: var(--brass); font-size: .45rem;
  flex-shrink: 0; position: relative; top: -.05rem;
}

/* Leaderboard widget */
.lb-widget {
  border: 1px solid rgba(184,134,11,.25);
  background: linear-gradient(160deg, rgba(45,26,14,.92), rgba(12,7,3,.96));
  overflow: hidden;
}

.lb-top {
  background: linear-gradient(90deg, rgba(184,134,11,.14), rgba(184,134,11,.04));
  border-bottom: 1px solid rgba(184,134,11,.2);
  padding: 1rem 1.6rem;
  display: flex; align-items: center; justify-content: space-between;
}

.lb-top-title {
  font-family: 'Cinzel', serif; font-size: .68rem;
  letter-spacing: .25em; text-transform: uppercase; color: var(--brass-mid);
}

.lb-live {
  font-family: 'Cinzel', serif; font-size: .6rem;
  letter-spacing: .1em; color: var(--crimson-bright);
  display: flex; align-items: center; gap: .5rem;
}
.lb-live::before {
  content: ''; width: 6px; height: 6px;
  background: var(--crimson-bright); border-radius: 50%;
  animation: blink 1.6s ease infinite;
}

.lb-entry {
  display: flex; align-items: center; gap: 1rem;
  padding: .88rem 1.6rem;
  border-bottom: 1px solid rgba(184,134,11,.06);
  transition: background .25s;
}
.lb-entry:last-child { border-bottom: none; }
.lb-entry:hover { background: rgba(184,134,11,.04); }

.lb-pos {
  font-family: 'Cinzel', serif; font-size: .68rem;
  color: var(--text-muted); width: 1.4rem;
  text-align: center; flex-shrink: 0;
}
.lb-pos.gold { color: var(--brass-mid); }

.lb-name { font-family: 'EB Garamond', serif; font-size: 1.05rem; color: var(--parchment); flex: 1; }

.lb-elo { font-family: 'Cinzel', serif; font-size: .72rem; letter-spacing: .05em; color: var(--brass); }

.lb-delta { font-family: 'Cinzel', serif; font-size: .62rem; width: 2.8rem; text-align: right; }
.lb-delta.up   { color: var(--teal-bright); }
.lb-delta.down { color: var(--crimson-bright); }
.lb-delta.flat { color: var(--text-muted); }

/* CTA finale */
.cta-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, #060300 100%);
  text-align: center; padding: 9rem 2rem 10rem;
}

.cta-ornament {
  display: flex; align-items: center;
  justify-content: center; gap: 1.5rem; margin-bottom: 3.5rem;
}
.cta-arm { height: 1px; width: 130px; background: linear-gradient(to right, transparent, var(--brass-dim)); }
.cta-arm.r { background: linear-gradient(to left, transparent, var(--brass-dim)); }
.cta-icon { font-size: 1.6rem; color: var(--brass); line-height: 1; text-shadow: 0 0 20px rgba(184,134,11,.45); }

.cta-section h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 700; color: var(--parchment);
  line-height: 1.15; margin-bottom: 1.5rem;
}

.cta-section p {
  font-family: 'EB Garamond', serif;
  font-style: italic; font-size: 1.35rem;
  color: var(--text-dim); max-width: 460px;
  margin: 0 auto 3.5rem; line-height: 1.72;
}

/* Footer */
footer {
  background: #050302;
  border-top: 1px solid rgba(184,134,11,.1);
  padding: 2.2rem 3.5rem;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1.2rem;
}

.footer-logo { font-family: 'Cinzel Decorative', serif; font-size: .85rem; letter-spacing: .18em; color: var(--brass-dim); }

.footer-links { list-style: none; display: flex; gap: 2.2rem; }
.footer-links a {
  font-family: 'Cinzel', serif; font-size: .62rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none; transition: color .25s;
}
.footer-links a:hover { color: var(--brass); }

.footer-copy { font-size: .82rem; color: rgba(90,72,48,.5); }

/* Marketing responsive */
@media (max-width: 900px) {
  nav { padding: 1.1rem 1.6rem; }
  .nav-links { display: none; }

  .steps { grid-template-columns: 1fr; gap: 2.5rem 0; }
  .step-connector { display: none; }

  .pieces-grid { grid-template-columns: 1fr; }
  .compete-grid { grid-template-columns: 1fr; gap: 3rem; }

  .tile-sep { display: none; }
  .tiles-row { flex-direction: column; }

  footer { flex-direction: column; text-align: center; }
}
