/* ========================
   VEIL HERO
======================== */
.veil-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #04040e;
}

.veil-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(100,50,180,0.08) 0%, rgba(212,175,55,0.03) 40%, transparent 70%);
  pointer-events: none;
}

#veilParticles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.veil-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: calc(var(--nav-height) + 40px) 48px 80px;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.veil-hero-title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 11rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 20px 0 0;
}

.veil-hero-title em {
  color: var(--gold);
}

.veil-hero-chapter {
  font-family: var(--font-caps);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--bronze);
  text-transform: uppercase;
  margin-top: 10px;
  margin-bottom: 24px;
}

.veil-hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-style: italic;
  color: var(--bronze-light);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}

.veil-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}

.btn-play {
  background: rgba(212,175,55,0.12) !important;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: transparent;
  border: 1px solid rgba(212,175,55,0.25);
  color: var(--cream);
  font-family: var(--font-caps);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: all var(--transition-mid);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.veil-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.game-tag {
  font-family: var(--font-caps);
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid rgba(212,175,55,0.18);
  color: var(--bronze);
}

.veil-hero-seal {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 560px;
  height: 560px;
  opacity: 0.1;
  animation: veilSealRotate 70s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.veil-hero-seal svg { width: 100%; height: 100%; }

@keyframes veilSealRotate {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

.veil-hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
  animation: scrollBounce 2.5s ease-in-out infinite;
}

.veil-scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  opacity: 0.35;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========================
   ABOUT
======================== */
.veil-about {
  padding: var(--section-padding) 0;
  border-top: 1px solid rgba(212,175,55,0.1);
}

.veil-about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.veil-about-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.veil-about-left h2 em {
  color: var(--gold);
  font-style: italic;
}

.veil-meta-card {
  background: rgba(8,8,14,0.8);
  border: 1px solid rgba(212,175,55,0.15);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.veil-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(212,175,55,0.07);
}

.veil-meta-item:last-child { border-bottom: none; }

.veil-meta-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--cream);
}

/* ========================
   FEATURES
======================== */
.veil-features {
  padding: var(--section-padding) 0;
  border-top: 1px solid rgba(212,175,55,0.08);
}

.veil-features .section-header {
  margin-bottom: 60px;
}

.veil-features .section-header h2 em {
  color: var(--gold);
  font-style: italic;
}

.veil-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.veil-feature {
  padding: 36px 28px;
  border: 1px solid rgba(212,175,55,0.1);
  background: rgba(212,175,55,0.02);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s, background 0.3s;
}

.veil-feature:hover {
  border-color: rgba(212,175,55,0.25);
  background: rgba(212,175,55,0.04);
}

.veil-feature-icon {
  font-size: 1.4rem;
  color: var(--gold);
  opacity: 0.7;
}

.veil-feature h3 {
  font-family: var(--font-caps);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
}

.veil-feature p {
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ========================
   ENEMIES
======================== */
.veil-enemies {
  padding: var(--section-padding) 0;
  border-top: 1px solid rgba(212,175,55,0.08);
}

.veil-enemies .section-header h2 em {
  color: var(--gold);
  font-style: italic;
}

.veil-enemies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.veil-enemy-card {
  border: 1px solid rgba(212,175,55,0.1);
  background: rgba(8,8,14,0.6);
  overflow: hidden;
  transition: border-color 0.3s;
}

.veil-enemy-card:hover {
  border-color: rgba(212,175,55,0.25);
}

.veil-enemy-boss {
  grid-column: span 4;
  display: grid;
  grid-template-columns: 8px 1fr;
}

.veil-enemy-boss .veil-enemy-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px 32px;
  align-items: center;
  padding: 28px 32px;
}

.veil-enemy-boss .veil-enemy-content h4 {
  font-size: 1.8rem;
}

.veil-enemy-boss .veil-enemy-content p {
  grid-column: 2;
}

.veil-enemy-boss .veil-enemy-weakness {
  grid-column: 3;
}

.veil-enemy-color {
  height: 4px;
  width: 100%;
}

.veil-enemy-boss .veil-enemy-color {
  height: 100%;
  width: 8px;
}

.veil-enemy-content {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.veil-enemy-content h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--cream);
  font-weight: 300;
}

.veil-enemy-content p {
  font-size: 0.85rem;
  line-height: 1.7;
}

.veil-enemy-weakness {
  font-family: var(--font-caps);
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 8px;
}

.veil-boss-label {
  color: #cc88ff;
  margin-bottom: 4px;
}

/* ========================
   HOW TO PLAY
======================== */
.veil-howto {
  padding: var(--section-padding) 0;
  border-top: 1px solid rgba(212,175,55,0.08);
}

.veil-howto .section-header h2 em {
  color: var(--gold);
  font-style: italic;
}

.veil-howto-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
}

.veil-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid rgba(212,175,55,0.08);
}

.veil-step:last-child { border-bottom: none; }

.veil-step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-style: italic;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  padding-top: 4px;
}

.veil-step-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.veil-step-content h4 {
  font-family: var(--font-caps);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
}

.veil-step-content p {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ========================
   CTA
======================== */
.veil-cta {
  position: relative;
  padding: var(--section-padding) 0;
  overflow: hidden;
}

.veil-cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(212,175,55,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.veil-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.25), transparent);
}

.veil-cta::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.25), transparent);
}

.veil-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.veil-cta-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 20px;
}

.veil-cta-title em {
  color: var(--gold);
  font-style: italic;
}

.veil-cta-inner p {
  max-width: 520px;
  margin-bottom: 36px;
}

.btn-play-large {
  padding: 18px 56px !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.25em !important;
  margin-bottom: 24px;
}

.veil-cta-sub {
  font-size: 0.85rem !important;
  color: var(--gray-mid) !important;
}

/* ========================
   FOOTER
======================== */
.footer {
  padding: 80px 0 40px;
  background: var(--black-soft);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(212,175,55,0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-logo img { height: 36px; width: auto; }
.footer-logo-name { display: block; font-family: var(--font-display); font-size: 1.1rem; font-style: italic; color: var(--cream); }
.footer-logo-sub { display: block; margin-top: 2px; }
.footer-tagline { font-family: var(--font-display); font-style: italic; font-size: 0.95rem; color: var(--bronze); }
.footer-center .label { display: block; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-family: var(--font-caps); font-size: 0.65rem; letter-spacing: 0.15em; color: var(--gray-light); text-transform: uppercase; transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--gold); }
.footer-right .label { display: block; margin-bottom: 20px; }
.footer-game-link { display: flex; flex-direction: column; gap: 6px; }
.footer-game-name { font-family: var(--font-display); font-size: 1.8rem; font-style: italic; color: var(--cream); transition: color var(--transition-fast); }
.footer-game-link:hover .footer-game-name { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 0.8rem; color: var(--gray-mid); }
.footer-verse { font-family: var(--font-display); color: var(--bronze) !important; font-size: 0.9rem !important; }

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 1024px) {
  .veil-features-grid { grid-template-columns: repeat(2, 1fr); }
  .veil-enemies-grid { grid-template-columns: repeat(2, 1fr); }
  .veil-enemy-boss { grid-column: span 2; }
  .veil-enemy-boss .veil-enemy-content { grid-template-columns: 1fr; }
  .veil-enemy-boss .veil-enemy-content p { grid-column: 1; }
  .veil-enemy-boss .veil-enemy-weakness { grid-column: 1; }
}

@media (max-width: 768px) {
  .veil-hero-seal { display: none; }
  .veil-about-grid { grid-template-columns: 1fr; gap: 40px; }
  .veil-features-grid { grid-template-columns: 1fr; }
  .veil-enemies-grid { grid-template-columns: 1fr; }
  .veil-enemy-boss { grid-column: span 1; grid-template-columns: 1fr; }
  .veil-enemy-boss .veil-enemy-color { height: 4px; width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .veil-hero-actions { flex-direction: column; width: 100%; }
  .veil-hero-actions a { width: 100%; justify-content: center; }
  .veil-step { grid-template-columns: 50px 1fr; gap: 16px; }
  .veil-step-num { font-size: 2rem; }
}