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

:root {
  --purple-deep: #2d1049;
  --purple: #6b2fa0;
  --purple-bright: #a855f7;
  --purple-glow: #c084fc;
  --bone: #ede5d8;
  --bone-dim: #b8ad9a;
  --shadow: #0c0a12;
  --panel: #181520;
  --panel-border: #2a2436;
  --violet-mist: rgba(107, 47, 160, 0.12);

  /* band backgrounds */
  --band-dark: #0c0a12;
  --band-mid: #1a1228;
  --band-deep: #120818;
}

html { scroll-behavior: smooth; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

body {
  font-family: 'Crimson Pro', Georgia, serif;
  background: var(--shadow);
  color: var(--bone);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.8;
  font-size: 17px;
  font-weight: 300;
}

/* noise texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  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)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.3;
}

/* ══════════════════════════════════
   HERO BANNER
   ══════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  overflow: visible;
}

/* Banner image container */
.hero-img-wrap {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  background: #1a1510;
}
.hero-img {
  width: 100%;
  max-width: 1800px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Vignette overlay on image edges */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, var(--shadow) 0%, transparent 8%),
    linear-gradient(to right, var(--shadow) 0%, transparent 12%),
    linear-gradient(to left, var(--shadow) 0%, transparent 12%);
  z-index: 1;
}

/* ── SOCIAL BAR (below hero) ── */
.social-bar {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1.2rem 2rem 0;
  margin-top: -2rem;
  background: transparent;
}
.social-bar a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid;
  transition: all 0.3s ease;
}
.social-bar a svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}
.social-bar .social-dc {
  color: #c5cdf7;
  border-color: rgba(139, 156, 247, 0.3);
  background: rgba(88, 101, 242, 0.15);
}
.social-bar .social-dc:hover {
  background: rgba(88, 101, 242, 0.35);
  border-color: rgba(139, 156, 247, 0.6);
}
.social-bar .social-fb {
  color: #a8cef7;
  border-color: rgba(111, 168, 247, 0.3);
  background: rgba(24, 119, 242, 0.15);
}
.social-bar .social-fb:hover {
  background: rgba(24, 119, 242, 0.35);
  border-color: rgba(111, 168, 247, 0.6);
}


/* ── TORN PARCHMENT EDGE ── */
.hero-tear {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
  color: var(--band-dark);
}
.hero-tear svg {
  width: 100%;
  height: 140px;
  display: block;
}

/* ── BLOOD DRIPS ── */
.hero-drips {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  z-index: 3;
  pointer-events: none;
  height: 60px;
}
.drip {
  position: absolute;
  color: #3a0a0a;
  opacity: 0;
  animation: dripFall 1.8s ease-in forwards;
}
.drip--1 {
  left: 8%;
  width: 8px;
  height: 45px;
  animation-delay: 0.6s;
  color: #5c1010;
}
.drip--2 {
  left: 23%;
  width: 6px;
  height: 28px;
  animation-delay: 1.2s;
  color: #4a0c0c;
}
.drip--3 {
  left: 48%;
  width: 9px;
  height: 55px;
  animation-delay: 0.3s;
  color: #5c1010;
}
.drip--4 {
  left: 72%;
  width: 6px;
  height: 22px;
  animation-delay: 1.5s;
  color: #4a0c0c;
}
.drip--5 {
  left: 89%;
  width: 7px;
  height: 38px;
  animation-delay: 0.9s;
  color: #521010;
}
@keyframes dripFall {
  0% {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
  }
  40% {
    opacity: 0.8;
    clip-path: inset(0 0 30% 0);
  }
  100% {
    opacity: 0.55;
    clip-path: inset(0 0 0% 0);
  }
}

/* ══════════════════════════════════
   FULL-WIDTH BANDS
   ══════════════════════════════════ */
.band {
  position: relative;
  width: 100%;
}

/* Decreasing z-index so each band's divider overlaps the next band */
.band:nth-of-type(1) { z-index: 4; }
.band:nth-of-type(2) { z-index: 3; }
.band:nth-of-type(3) { z-index: 2; }
.band:nth-of-type(4) { z-index: 1; }

.band--dark {
  background: var(--band-dark);
}
.band--mid {
  background: var(--band-mid);
}
.band--deep {
  background: var(--band-deep);
}

/* Subtle texture per band */
.band--mid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 80% 30%, rgba(107, 47, 160, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.band--deep::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 20% 60%, rgba(90, 20, 140, 0.07) 0%, transparent 50%);
  pointer-events: none;
}
.band--dark:first-of-type::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 20%, rgba(107, 47, 160, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Inner content — constrained width, alternating alignment */
.band-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 5rem 3rem;
}

.band-inner--left {
  margin-left: 6vw;
  margin-right: auto;
}
.band-inner--right {
  margin-right: 6vw;
  margin-left: auto;
}

/* Two-column wide layout */
.band-wide {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 4rem;
  align-items: start;
}
.band-wide--reverse {
  grid-template-columns: 340px 1fr;
}


.band-col {
  min-width: 0;
}
.band-aside {
  display: flex;
  align-items: flex-start;
  padding-top: 2.5rem;
}

/* ── AT A GLANCE (About aside) ── */
.at-a-glance {
  width: 100%;
}
.glance-title {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}
.glance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.5rem;
}
.glance-item {
  display: flex;
  flex-direction: column;
}
.glance-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--bone);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.glance-label {
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-dim);
  opacity: 0.6;
}

/* ── PULL QUOTE (How We Play & Join Us aside) ── */
.pull-quote {
  border-left: 2px solid var(--purple);
  padding-left: 1.5rem;
}
.pull-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--bone);
  opacity: 0.7;
}
.pull-quote--small p {
  font-size: 1.45rem;
}
.pull-quote cite {
  display: block;
  margin-top: 0.8rem;
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bone-dim);
  font-style: normal;
  opacity: 0.5;
}

/* ── FIRST GAME (Learn aside) ── */
.first-game {
  width: 100%;
}
.first-game-title {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}
.first-game-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.first-game-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--bone-dim);
}
.first-game-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple);
  opacity: 0.6;
}

/* ── GOTHIC DIVIDERS ── */
.gothic-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.gothic-divider svg {
  width: 100%;
  display: block;
}

/* Arches divider — about (dark) hangs over how-we-play (mid) */
.gothic-divider--arches {
  color: var(--band-dark);
}
.gothic-divider--arches svg {
  height: 70px;
}

/* Fence divider — how-we-play (mid) hangs over learn (deep) */
.gothic-divider--fence {
  color: var(--band-mid);
}
.gothic-divider--fence svg {
  height: 70px;
}

/* Battlement divider — learn (deep) hangs over join-us (dark) */
.gothic-divider--battlement {
  color: var(--band-deep);
}
.gothic-divider--battlement svg {
  height: 65px;
}

/* ── SECTION HEADINGS ── */
.section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--panel-border), transparent);
}

/* Right-aligned bands: flip the line direction */
.band-inner--right .section-label {
  flex-direction: row-reverse;
}
.band-inner--right .section-label::after {
  background: linear-gradient(270deg, var(--panel-border), transparent);
}

/* ── ABOUT ── */
.about {
  position: relative;
  padding-left: 1.8rem;
  border-left: 2px solid var(--purple);
}
.about p {
  color: var(--bone-dim);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 1rem;
  max-width: 640px;
}
.about p:last-of-type { margin-bottom: 0; }
.about strong {
  color: var(--bone);
  font-weight: 600;
}
.about-cta {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-glow);
  text-decoration: none;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(168, 85, 247, 0.4);
  transition: all 0.3s ease;
}
.about-cta:hover {
  color: #fff;
  border-bottom-color: #fff;
}
.about a {
  color: var(--purple-glow);
  text-decoration: none;
  border-bottom: 1px solid rgba(168, 85, 247, 0.3);
  transition: border-color 0.3s, color 0.3s;
}
.about a:hover {
  color: #fff;
  border-bottom-color: var(--purple-glow);
}

/* ── HOW WE PLAY ── */
.play-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 1.5rem;
}
.play-mode {
  display: flex;
  flex-direction: column;
  padding: 0 2.2rem;
  position: relative;
}
.play-mode:first-child {
  padding-left: 0;
  border-right: 1px solid var(--panel-border);
}
.play-mode:last-child {
  padding-right: 0;
}
.play-mode-icon {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  display: block;
  filter: grayscale(0.2);
}
.play-mode h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bone);
  margin-bottom: 0.6rem;
}
.play-mode p {
  font-size: 0.95rem;
  color: var(--bone-dim);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.play-mode a {
  color: var(--bone);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s;
}
.play-mode a:hover {
  color: #fff;
}
.play-cta {
  font-size: 0.95rem;
  color: var(--bone-dim);
}
.band-inner--right .play-cta {
  text-align: right;
}
.play-cta a {
  color: var(--bone);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s;
}
.play-cta a:hover {
  color: #fff;
}
.play-mode .play-freq {
  display: inline-block;
  margin-top: auto;
  padding-top: 1.2rem;
  align-self: flex-start;
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-bright);
  opacity: 0.7;
}

/* ── LEARN TO PLAY ── */
.learn-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin-bottom: 1.8rem;
}
.learn-video {
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease;
}
.learn-video:hover {
  transform: translateY(-2px);
}
.learn-video-thumb {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 2px;
}
.learn-video-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
}
.learn-video:hover .learn-video-thumb img {
  filter: brightness(1.1);
}
.learn-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.learn-video:hover .learn-video-play {
  background: #cc0000;
}
.learn-video-play::after {
  content: '';
  display: block;
  border-style: solid;
  border-width: 7px 0 7px 14px;
  border-color: transparent transparent transparent #fff;
  margin-left: 2px;
}
.learn-video-label {
  padding: 0.7rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bone);
}
.learn-links {
  margin-bottom: 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--panel-border);
}
.learn-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  text-decoration: none;
  transition: all 0.3s ease;
}
.learn-link:hover .learn-link-title {
  color: #fff;
}
.learn-link-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  filter: grayscale(0.2);
}
.learn-link-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bone);
  transition: color 0.3s;
}
.learn-link-desc {
  font-size: 0.85rem;
  color: var(--bone-dim);
  margin-top: 0.15rem;
}

/* ── COMMUNITY LINKS ── */
.community-links {
  display: flex;
  gap: 2rem;
  margin-bottom: 0.5rem;
}
.community-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0;
  text-decoration: none;
  color: var(--bone);
  transition: all 0.3s ease;
}
.community-link:hover {
  color: #fff;
}
.community-link-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.community-link:hover .community-link-icon {
  transform: scale(1.08);
}
.community-link-icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}
.community-link-icon--fb { background: #1877f2; }
.community-link-icon--dc { background: #5865f2; }
.community-link-body {
  display: flex;
  flex-direction: column;
}
.community-link-title {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.community-link-desc {
  font-size: 0.82rem;
  color: var(--bone-dim);
  margin-top: 0.1rem;
  transition: color 0.3s;
}
.community-link:hover .community-link-desc {
  color: var(--bone);
}

.community-note {
  margin-top: 1.2rem;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--bone-dim);
  opacity: 0.7;
  padding-top: 1.2rem;
  border-top: 1px solid var(--panel-border);
}
.band-inner--right .community-note {
  text-align: right;
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--band-mid);
  border-top: 1px solid var(--panel-border);
  position: relative;
}
footer p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--bone-dim);
}
footer .footer-legal {
  margin-top: 0.6rem;
  font-family: 'Crimson Pro', serif;
  font-style: normal;
  font-size: 0.7rem;
  opacity: 0.4;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
footer .footer-legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
footer .footer-legal a:hover {
  opacity: 0.7;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero-img { animation: fadeIn 1s ease 0.2s both; }
.social-bar { animation: fadeIn 1s ease 0.6s both; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger the aside column slightly */
.reveal .band-aside {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}
.reveal.is-visible .band-aside {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .band-inner {
    max-width: 100%;
    padding: 4rem 2rem;
  }
  .band-inner--left,
  .band-inner--right {
    margin-left: 2rem;
    margin-right: 2rem;
  }
  .band-wide {
    grid-template-columns: 1fr;
    padding: 4rem 2rem;
    gap: 2.5rem;
  }
  .band-wide--reverse {
    grid-template-columns: 1fr;
  }
  .band-wide--reverse .band-aside {
    order: 2;
  }
  .band-aside {
    padding-top: 0;
  }
}

@media (max-width: 700px) {
  .social-bar a { font-size: 0.5rem; padding: 0.4rem 0.8rem; }
  .hero-tear svg { height: 50px; }
  .hero-drips { bottom: -50px; height: 50px; }
  .drip--1 { height: 30px; }
  .drip--3 { height: 38px; }
  .drip--5 { height: 25px; }

  .band-inner {
    padding: 3rem 1.25rem;
  }
  .band-inner--left,
  .band-inner--right {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .band-wide {
    padding: 3rem 1.25rem;
    gap: 2rem;
  }
  .play-modes { grid-template-columns: 1fr; }
  .play-mode:first-child {
    border-right: none;
    border-bottom: 1px solid var(--panel-border);
    padding: 0 0 1.8rem 0;
  }
  .play-mode:last-child {
    padding: 1.8rem 0 0 0;
  }
  .community-links { flex-direction: column; gap: 1.2rem; }
  .learn-videos { grid-template-columns: 1fr; }

  .gothic-divider--arches svg { height: 40px; }
  .gothic-divider--fence svg { height: 40px; }
  .gothic-divider--battlement svg { height: 35px; }

  .play-cta,
  .community-note {
    text-align: left !important;
  }

  .glance-grid { gap: 1.5rem 1rem; }
  .glance-value { font-size: 2rem; }
  .pull-quote p { font-size: 1.4rem; }
  .pull-quote--small p { font-size: 1.2rem; }
}
