@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Work+Sans:wght@300;400;600;700&display=swap');

:root {
  --violet: #4c1d95;
  --violet-light: #7c3aed;
  --lavender: #c4b5fd;
  --bg-misty: #f5f3ff;
  --bg-white: #ffffff;
  --text-deep: #1e1b4b;
  --text-soft: #6b7280;
  --glow: rgba(124,58,237,0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Work Sans', sans-serif;
  background: var(--bg-misty);
  color: var(--text-deep);
  line-height: 1.8;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  padding: 0 2rem;
  background: var(--violet);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.m-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.m-brand svg { width: 34px; height: 34px; }

.m-brand span {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--lavender);
  letter-spacing: 1px;
}

.m-links {
  display: flex;
  gap: 1.4rem;
  list-style: none;
}

.m-links a {
  color: rgba(196,181,253,0.7);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.83rem;
  transition: color 0.2s;
}

.m-links a:hover { color: #fff; }

.m-ham {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.m-ham span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--lavender);
  margin: 5px 0;
}

.m-mobile {
  display: none;
  position: fixed;
  top: 66px;
  left: 0;
  right: 0;
  background: var(--violet);
  z-index: 999;
  padding: 1rem 2rem;
}

.m-mobile.active { display: block; }

.m-mobile a {
  display: block;
  padding: 0.6rem 0;
  color: var(--lavender);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(196,181,253,0.1);
}

.ethereal-hero {
  background: linear-gradient(170deg, var(--violet), #6d28d9, #5b21b6);
  padding: 5.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ethereal-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196,181,253,0.12), transparent 65%);
}

.ethereal-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
}

.ethereal-hero > p {
  color: rgba(255,255,255,0.7);
  max-width: 680px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  position: relative;
}

.aether-tags {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  position: relative;
}

.atag {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(5px);
  color: var(--lavender);
  padding: 0.45rem 1.2rem;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 600;
}

.slot-sanctum {
  padding: 3rem 2rem;
  background: var(--bg-white);
}

.slot-sanctum h2 {
  font-family: 'Cormorant Garamond', serif;
  text-align: center;
  color: var(--violet);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.sanctum-frame {
  max-width: 940px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--violet-light);
  box-shadow: 0 12px 40px var(--glow);
}

.sanctum-frame iframe {
  width: 100%;
  height: 580px;
  border: none;
  display: block;
}

.wisdom-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.wisdom-item {
  background: var(--bg-white);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border-top: 3px solid var(--violet-light);
}

.wisdom-item h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--violet);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.wisdom-item p {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.aura-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, var(--violet), #5b21b6);
}

.aura-stat {
  text-align: center;
}

.aura-stat .av {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.aura-stat .al {
  font-size: 0.72rem;
  color: var(--lavender);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.invoke-section {
  text-align: center;
  padding: 4rem 2rem;
}

.invoke-section h2 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--violet);
  font-size: 1.8rem;
  margin-bottom: 0.7rem;
}

.invoke-section p {
  color: var(--text-soft);
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.violet-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--violet), var(--violet-light));
  color: #fff;
  padding: 0.8rem 2.2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.violet-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--glow);
}

.text-vessel {
  max-width: 880px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.text-vessel h1 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--violet);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.text-vessel h2 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--violet-light);
  font-size: 1.25rem;
  margin-top: 1.8rem;
  margin-bottom: 0.5rem;
}

.text-vessel p { color: var(--text-soft); margin-bottom: 0.8rem; }
.text-vessel ul { padding-left: 1.5rem; margin-bottom: 0.8rem; }
.text-vessel li { color: var(--text-soft); margin-bottom: 0.3rem; }

.game-advisory {
  max-width: 940px;
  margin: 1.2rem auto 0;
  background: var(--bg-white);
  border: 1px solid rgba(124,58,237,0.15);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
}

.game-advisory p { color: var(--text-soft); font-size: 0.85rem; margin: 0; }

.ground-footer {
  background: var(--violet);
  padding: 2rem;
  text-align: center;
}

.gf-links {
  display: flex;
  justify-content: center;
  gap: 1.3rem;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
}

.gf-links a {
  color: var(--lavender);
  text-decoration: none;
  font-size: 0.82rem;
}

.gf-links a:hover { color: #fff; }

.ground-footer small { color: rgba(196,181,253,0.5); font-size: 0.7rem; }

.age-veil {
  position: fixed;
  inset: 0;
  background: rgba(30,27,75,0.93);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-orb {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 50px rgba(76,29,149,0.3);
}

.age-orb h2 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--violet);
  margin-bottom: 0.7rem;
  font-size: 1.5rem;
}

.age-orb p {
  color: var(--text-soft);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.age-orb-btns {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
}

.age-orb-btns button {
  padding: 0.7rem 1.6rem;
  border-radius: 25px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.9rem;
  transition: transform 0.2s;
}

.age-orb-btns .enter {
  background: linear-gradient(135deg, var(--violet), var(--violet-light));
  color: #fff;
}

.age-orb-btns .deny {
  background: #f3f4f6;
  color: var(--text-deep);
}

.age-orb-btns button:hover { transform: scale(1.04); }

@media (max-width: 768px) {
  .m-links { display: none; }
  .m-ham { display: block; }
  .wisdom-cols { grid-template-columns: 1fr; }
  .sanctum-frame iframe { height: 400px; }
  .ethereal-hero { padding: 3.5rem 1.5rem; }
}
