*,*::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);
}

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;
}

/* ══════════════════════════════════
   FULL-VIEWPORT HERO
   ══════════════════════════════════ */
.splash {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Peace Tower background image */
.splash-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}
.splash-bg img {
  height: 110%;
  width: auto;
  max-height: 1100px;
  opacity: 0.15;
  filter: invert(1) brightness(0.15);
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at center, rgba(0,0,0,1) 30%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 75% at center, rgba(0,0,0,1) 30%, transparent 70%);
}

/* atmospheric glow */
.splash-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 45%, rgba(107, 47, 160, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(45, 16, 73, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

/* bottom fade into content */
.splash::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--shadow));
  pointer-events: none;
}

/* branding */
.splash-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}
.splash-logo {
  width: 72px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(107, 47, 160, 0.4));
  margin-bottom: 0.5rem;
}
.splash-title {
  font-family: 'Cinzel', serif;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bone);
  line-height: 1;
  text-shadow: 0 0 60px rgba(107, 47, 160, 0.3);
}
.splash-wordmark {
  max-width: 260px;
  height: auto;
  opacity: 0.65;
}
/* gothic ornamental divider */
.splash-ornament {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 280px;
  margin-top: 0.3rem;
}
.splash-ornament::before,
.splash-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-bright), transparent);
  opacity: 0.4;
}
.splash-ornament svg {
  width: 28px;
  height: 28px;
  color: var(--purple-bright);
  opacity: 0.5;
  flex-shrink: 0;
}

.splash-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--bone-dim);
  max-width: 420px;
  line-height: 1.5;
  margin-top: 0.3rem;
}

/* splash social links */
.splash-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.8rem;
}
.splash-social a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  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;
}
.splash-social a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}
.splash-social .social-dc {
  color: #8b9cf7;
  border-color: rgba(139, 156, 247, 0.25);
  background: rgba(88, 101, 242, 0.08);
}
.splash-social .social-dc:hover {
  background: rgba(88, 101, 242, 0.2);
  border-color: rgba(139, 156, 247, 0.5);
}
.splash-social .social-fb {
  color: #6fa8f7;
  border-color: rgba(111, 168, 247, 0.25);
  background: rgba(24, 119, 242, 0.08);
}
.splash-social .social-fb:hover {
  background: rgba(24, 119, 242, 0.2);
  border-color: rgba(111, 168, 247, 0.5);
}

/* corner flourishes */
.splash-corner {
  position: absolute;
  width: 60px;
  height: 60px;
  opacity: 0.12;
  color: var(--purple-bright);
  pointer-events: none;
  z-index: 2;
}
.splash-corner--tl { top: 2.5rem; left: 2.5rem; }
.splash-corner--tr { top: 2.5rem; right: 2.5rem; transform: scaleX(-1); }
.splash-corner--bl { bottom: 2.5rem; left: 2.5rem; transform: scaleY(-1); }
.splash-corner--br { bottom: 2.5rem; right: 2.5rem; transform: scale(-1); }

/* scroll indicator */
.splash-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--bone-dim);
  opacity: 0.5;
  animation: pulse 2s ease-in-out infinite;
}
.splash-scroll span {
  font-family: 'Cinzel', serif;
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.splash-scroll svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.6; transform: translateX(-50%) translateY(4px); }
}

/* ══════════════════════════════════
   CONTENT AREA
   ══════════════════════════════════ */
.content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
}

/* atmospheric gradient behind content */
.content::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(107, 47, 160, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(107, 47, 160, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* ── 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.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--panel-border), transparent);
}

/* ── ABOUT CARD ── */
.about {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  padding: 2rem 2.2rem;
  margin-bottom: 2.5rem;
  position: relative;
}
.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-bright), var(--purple));
}
.about p {
  color: var(--bone-dim);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 0.8rem;
}
.about p:last-child { margin-bottom: 0; }
.about strong { color: var(--bone); font-weight: 600; }
.about-cta {
  display: inline-block;
  margin-top: 0.8rem;
  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;
  border: 1px solid rgba(168, 85, 247, 0.25);
  background: rgba(168, 85, 247, 0.06);
  padding: 0.55rem 1.2rem;
  transition: all 0.3s ease;
}
.about-cta:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: var(--purple-glow);
  color: #fff;
}
.play-mode a {
  color: var(--bone);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s;
}
.play-mode a:hover {
  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);
}

/* ── LEARN TO PLAY ── */
.learn-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.learn-video {
  border: 1px solid var(--panel-border);
  background: var(--panel);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
}
.learn-video:hover {
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(168, 85, 247, 0.06);
}
.learn-video-thumb {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
}
.learn-video-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.learn-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 42px;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 10px;
  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: 8px 0 8px 16px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}
.learn-video-label {
  padding: 0.8rem 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bone);
}
.learn-links {
  margin-bottom: 2.5rem;
}
.learn-link {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  text-decoration: none;
  transition: all 0.3s ease;
}
.learn-link:hover {
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(168, 85, 247, 0.06);
}
.learn-link-icon {
  font-size: 1.5rem;
  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);
}
.learn-link-desc {
  font-size: 0.85rem;
  color: var(--bone-dim);
  margin-top: 0.15rem;
}
@media (max-width: 600px) {
  .learn-videos {
    grid-template-columns: 1fr;
  }
}

/* ── HOW WE PLAY ── */
.play-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.play-mode {
  display: flex;
  flex-direction: column;
  padding: 1.8rem 2rem;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  position: relative;
  overflow: hidden;
}
.play-mode::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--violet-mist), transparent);
  pointer-events: none;
}
.play-mode-icon {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  display: block;
  filter: grayscale(0.2);
}
.play-mode h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bone);
  margin-bottom: 0.5rem;
}
.play-mode p {
  font-size: 0.92rem;
  color: var(--bone-dim);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.play-cta {
  text-align: center;
  margin-top: 0.8rem;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  color: var(--bone-dim);
}
.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.4rem;
  align-self: flex-start;
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-bright);
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.15);
  padding: 0.3rem 0.7rem;
}

/* ── COMMUNITY LINKS ── */
.community {
  margin-bottom: 2.5rem;
}
.community-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.community-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  text-decoration: none;
  color: var(--bone);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  transition: all 0.3s ease;
}
.community-link:hover {
  border-color: var(--purple);
  background: rgba(107, 47, 160, 0.1);
  transform: translateY(-1px);
}
.community-link-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.community-link-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}
.community-link-icon--fb { background: #1877f2; }
.community-link-icon--dc { background: #5865f2; }
.community-link-icon--web {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
}
.community-link-body {
  display: flex;
  flex-direction: column;
}
.community-link-title {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  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;
}

.community-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--bone-dim);
  text-align: center;
  opacity: 0.8;
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 2rem 0 0;
  border-top: 1px solid var(--panel-border);
  position: relative;
}
.footer-leaf {
  display: block;
  margin: 0 auto 0.8rem;
  width: 18px;
  height: 18px;
  opacity: 0.2;
  color: var(--purple-bright);
}
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;
}
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; }
}
.splash-content { animation: fadeIn 1s ease 0.2s both; }
.splash-bg img { animation: fadeIn 1.5s ease 0s both; }
.splash-scroll { animation: pulse 2s ease-in-out 1.5s infinite; opacity: 0; animation-fill-mode: forwards; }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .splash-title { font-size: 1.8rem; letter-spacing: 0.1em; }
  .splash-wordmark { max-width: 180px; }
  .splash-tagline { font-size: 1rem; padding: 0 1.5rem; }
  .splash-logo { width: 56px; }
  .splash-bg img { height: 60%; opacity: 0.06; right: -15%; }
  .splash-corner { display: none; }
  .content { padding: 2rem 1.25rem 1.5rem; }
  .play-modes { grid-template-columns: 1fr; }
  .community-links { grid-template-columns: 1fr; }
}
