/* /main/styles.css */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Cinzel+Decorative:wght@700;900&family=UnifrakturMaguntia&display=swap');

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

:root {
  --primary: #1e3a5f;
  --secondary: #4a5d7c;
  --accent: #8b5a8e;
  --accent-light: #a68ba3;
  --light: #f5f5f5;
  --dark: #1a1a1a;
  --blue: #4682b4;
  --purple: #7b5d99;
}

body {
  font-family: 'Cinzel', 'Trajan Pro', 'Times New Roman', serif;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--dark);
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 4px white;
  animation: star-twinkle 4s infinite;
}

/* Animated Background Particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.shooting-star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 8px white, 0 0 12px var(--accent-light);
  animation: shooting 3s linear infinite;
}

@keyframes star-twinkle {
  0%, 100% { opacity: 0; }
  10%, 90% { opacity: 0.8; }
  50% { opacity: 1; box-shadow: 0 0 8px white, 0 0 12px var(--accent-light); }
}

@keyframes shooting {
  0% {
    opacity: 0;
    transform: translateX(0) translateY(0);
  }
  5% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translateX(-500px) translateY(500px);
  }
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(30, 58, 95, 0.85);
  backdrop-filter: blur(15px);
  z-index: 1000;
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 4px 30px rgba(139, 90, 142, 0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
}

nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(139, 90, 142, 0.1) 10px, rgba(139, 90, 142, 0.1) 11px),
    repeating-linear-gradient(0deg, transparent, transparent 10px, rgba(139, 90, 142, 0.1) 10px, rgba(139, 90, 142, 0.1) 11px);
  pointer-events: none;
  opacity: 0.3;
}

nav::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--accent), var(--purple), var(--accent), var(--blue));
  box-shadow: 0 0 15px var(--accent);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 70px;
  transition: all 0.4s;
  filter: drop-shadow(0 0 10px rgba(139, 90, 142, 0.6));
}

.logo:hover {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 20px rgba(139, 90, 142, 1));
}

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

.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s;
  position: relative;
  padding: 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(139, 90, 142, 0.5);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  transition: all 0.3s;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--accent);
}

.nav-links a:hover {
  text-shadow: 0 0 20px var(--accent), 0 0 30px var(--blue);
}

.nav-links a:hover::after { width: 100%; }

.dropdown { position: relative; }

/* === Dropdown behavior: hidden by default === */
.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);

  pointer-events: none;

  background: rgb(30, 58, 95); /* solid */
  backdrop-filter: none;

  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1001;
}

/* === Show dropdown on hover === */
.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);

  pointer-events: auto;
}


.dropdown-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent, rgba(139, 90, 142, 0.1), transparent);
  pointer-events: none;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(139, 90, 142, 0.2);
  text-transform: none;
  letter-spacing: 0;
}

.dropdown-content a:hover { background: rgba(139, 90, 142, 0.3); }

.cta-btn {
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: white !important;
  padding: 1.2rem 3rem;
  border-radius: 0;
  font-weight: bold;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(139, 90, 142, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
  clip-path: polygon(8% 0%, 92% 0%, 100% 50%, 92% 100%, 8% 100%, 0% 50%);
  border: 2px solid var(--accent);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(139, 90, 142, 0.8), 0 0 30px rgba(139, 90, 142, 0.5);
}

.cta-btn::after { display: none; }

.nav-links .cta-btn { padding: 1rem 2.5rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--light);
  transition: all 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 100px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url('../images/extras/gradient_main.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  animation: fadeInUp 1s;
  max-width: 800px;
  padding: 2rem;
}

.hero-logo {
  max-width: 1000px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 40px rgba(139, 90, 142, 0.8));
  animation: float-logo 4s ease-in-out infinite, glow-pulse 3s ease-in-out infinite;
}

@keyframes float-logo {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes glow-pulse {
  0%, 100% { filter: drop-shadow(0 0 40px rgba(139, 90, 142, 0.8)); }
  50% { filter: drop-shadow(0 0 60px rgba(70, 130, 180, 1)); }
}

.hero-tagline {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  font-style: italic;
}

.logo-credit {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 3rem;
}

.logo-credit a {
  color: rgb(41, 93, 136);
  text-decoration: none;
  transition: all 0.3s;
}

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

/* Carousel Section */
.carousel-section {
  padding: 8rem 2rem;
  background: linear-gradient(180deg, var(--dark) 0%, var(--primary) 100%);
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 8px;
  position: relative;
  font-weight: 700;
  text-shadow: 0 0 20px var(--accent), 0 0 40px var(--blue), 2px 2px 4px rgba(0,0,0,0.8);
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
}

.section-title::before {
  content: '✧';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent);
  font-size: 2rem;
  animation: crystal-pulse 2s infinite;
  text-shadow: 0 0 20px var(--accent);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--blue), var(--accent), transparent);
  box-shadow: 0 0 20px var(--accent), 0 0 30px var(--blue);
}

@keyframes crystal-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.section-subtitle {
  text-align: center;
  color: var(--accent-light);
  font-size: 1.2rem;
  margin-bottom: 4rem;
  font-style: italic;
}

.carousel-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border: 5px solid var(--accent);
  box-shadow: 0 0 40px rgba(139, 90, 142, 0.5), inset 0 0 30px rgba(0,0,0,0.5);
}

.carousel-container::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid var(--blue);
  pointer-events: none;
  z-index: 5;
  box-shadow: inset 0 0 20px rgba(70, 130, 180, 0.3);
}

.carousel-wrapper {
  display: flex;
  transition: transform 0.6s ease;
}

.carousel-slide { min-width: 100%; }

.carousel-slide img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  border: none;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 2rem;
  transition: all 0.3s;
  z-index: 10;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.carousel-btn:hover { transform: translateY(-50%) scale(1.15); }

.carousel-btn.prev { left: 30px; }
.carousel-btn.next { right: 30px; }

.carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.carousel-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid white;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.4);
}

/* Events Section */
.events-section {
  padding: 8rem 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  position: relative;
}

.event-grid {
  max-width: 1200px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.event-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 0;
  border: 3px double var(--accent);
  transition: all 0.4s;
  position: relative;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3), inset 0 0 20px rgba(139, 90, 142, 0.1);
}

.event-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.event-card:hover {
  border-color: var(--blue);
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(139, 90, 142, 0.6), 0 0 40px rgba(70, 130, 180, 0.4), inset 0 0 30px rgba(139, 90, 142, 0.2);
}

.event-date {
  font-size: 1.5rem;
  color: white;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.event-date::before {
  content: '⚔ ';
  color: var(--accent);
}

.event-type {
  color: var(--accent-light);
  font-style: italic;
}

.event-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  color: white;
  padding: 1.2rem 3rem;
  border-radius: 0;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(139, 90, 142, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
  clip-path: polygon(5% 0%, 95% 0%, 100% 50%, 95% 100%, 5% 100%, 0% 50%);
  border: 2px solid var(--accent);
  letter-spacing: 2px;
}

.event-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(139, 90, 142, 0.8), 0 0 40px rgba(70, 130, 180, 0.6);
}

.event-cta-center { text-align: center; }

/* Staff Section */
.staff-section {
  padding: 8rem 2rem;
  background: linear-gradient(180deg, var(--secondary) 0%, var(--dark) 100%);
}

.staff-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.staff-card {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.6), rgba(139, 90, 142, 0.3));
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s;
  border: 2px solid transparent;
}

.staff-card:hover {
  border-color: var(--accent);
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(139, 90, 142, 0.5);
}

.staff-icon { display: none; }

.staff-title {
  font-size: 0.9rem;
  color: var(--accent-light);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.staff-name {
  font-size: 1.3rem;
  color: white;
  font-weight: bold;
}

.staff-contact-btn {
  margin-top: 4rem;
  text-align: center;
}

.staff-contact-btn a {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  color: white;
  padding: 1.2rem 3rem;
  border-radius: 0;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  text-transform: uppercase;
  clip-path: polygon(5% 0%, 95% 0%, 100% 50%, 95% 100%, 5% 100%, 0% 50%);
  border: 2px solid var(--blue);
  box-shadow: 0 6px 20px rgba(70, 130, 180, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
  letter-spacing: 2px;
}

.staff-contact-btn a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(70, 130, 180, 0.8), 0 0 40px rgba(139, 90, 142, 0.6);
}

/* Testimonials */
.testimonials-section {
  padding: 8rem 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  position: relative;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 20px;
  border-left: 5px solid var(--blue);
  transition: all 0.4s;
}

.testimonial-card:hover {
  transform: translateX(15px) translateY(-10px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: white;
  line-height: 1.8;
}

.testimonial-author {
  color: var(--blue);
  font-weight: bold;
  text-align: right;
}

/* CTA Section */
.cta-section {
  padding: 10rem 2rem;
  background: linear-gradient(135deg, var(--blue) 0%, var(--accent) 50%, var(--purple) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 5px solid var(--accent);
  border-bottom: 5px solid var(--accent);
  box-shadow: inset 0 5px 30px rgba(0,0,0,0.5), inset 0 -5px 30px rgba(0,0,0,0.5);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 50px, rgba(255,255,255,0.03) 50px, rgba(255,255,255,0.03) 100px);
}

.cta-section h2 {
  font-size: 4rem;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 10px rgba(0,0,0,0.8), 0 0 30px var(--accent);
  text-transform: uppercase;
  letter-spacing: 8px;
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 1.5rem;
  color: white;
  opacity: 0.9;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.cta-section a {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 1.8rem 4rem;
  border-radius: 0;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: bold;
  transition: all 0.4s;
  text-transform: uppercase;
  letter-spacing: 4px;
  border: 5px double var(--accent);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 40px rgba(139, 90, 142, 0.5), inset 0 1px 0 rgba(139, 90, 142, 0.3);
  position: relative;
  z-index: 1;
}

.cta-section a:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 60px rgba(0,0,0,0.7), 0 0 60px rgba(139, 90, 142, 0.8);
  background: var(--accent-light);
  color: white;
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
  border-top: 4px solid var(--accent);
  box-shadow: 0 -5px 30px rgba(139, 90, 142, 0.3), inset 0 2px 0 rgba(139, 90, 142, 0.2);
  position: relative;
}

footer::before {
  content: '✦ ✦ ✦';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent);
  font-size: 1.5rem;
  letter-spacing: 20px;
  text-shadow: 0 0 20px var(--accent);
}

footer a {
  color: var(--accent-light);
  text-decoration: none;
  text-shadow: 0 0 10px rgba(139, 90, 142, 0.5);
  transition: all 0.3s;
}

footer a:hover {
  color: white;
  text-shadow: 0 0 20px var(--accent);
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 90px;
    left: -100%;
    flex-direction: column;
    background: rgba(30, 58, 95, 0.98);
    width: 100%;
    padding: 2rem;
    transition: left 0.3s;
  }

  .nav-links.active { left: 0; }
  .menu-toggle { display: flex; }

  .dropdown-content {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .hero-logo { max-width: 250px; }
  .section-title { font-size: 2rem; }
  .carousel-slide img { height: 400px; }
  .carousel-btn { width: 45px; height: 45px; }
  .testimonials-container { grid-template-columns: 1fr; }
  .cta-section h2 { font-size: 2.5rem; }
}

/* ===== Site Rules page additions ===== */

.page-hero {
  position: relative;
  padding-top: 110px; /* clears fixed nav */
  padding-bottom: 3rem;
  overflow: hidden;
  background: var(--dark);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.95) 0%, rgba(74, 93, 124, 0.9) 40%, rgba(139, 90, 142, 0.85) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  color: white;
  animation: fadeInUp 1s;
}

.page-hero-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.page-hero-logo {
  width: min(260px, 70vw);
  filter: drop-shadow(0 0 30px rgba(139, 90, 142, 0.75));
  animation: glow-pulse 3s ease-in-out infinite;
}

.page-title {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  text-transform: uppercase;
  letter-spacing: 8px;
  text-shadow: 0 0 20px var(--accent), 0 0 40px var(--blue), 2px 2px 6px rgba(0,0,0,0.8);
  margin-bottom: 0.75rem;
}

.page-subtitle {
  color: var(--accent-light);
  font-style: italic;
  font-size: 1.15rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.page-hero-imageWrap {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding: 0 2rem;
}

.page-hero-image {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border: 5px solid var(--accent);
  box-shadow: 0 0 40px rgba(139, 90, 142, 0.45), inset 0 0 30px rgba(0,0,0,0.4);
}

.content-section {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.content-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 3px double var(--accent);
  box-shadow: 0 12px 35px rgba(0,0,0,0.35), inset 0 0 25px rgba(139, 90, 142, 0.12);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.content-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
}

.content-card--emr {
  border-color: var(--blue);
}

.content-title {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  color: white;
  font-size: 2rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  text-shadow: 0 0 18px var(--accent), 0 0 28px var(--blue);
}

.content-text {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 1.75rem;
}

.rules-list {
  color: rgba(255,255,255,0.92);
  padding-left: 1.25rem;
  line-height: 1.9;
  font-size: 1.05rem;
}

.rules-list li {
  margin: 0.5rem 0;
}

.rules-note {
  color: var(--accent-light);
  font-style: italic;
}

.rules-sublist {
  margin-top: 0.9rem;
  padding-left: 1.25rem;
  color: rgba(255,255,255,0.9);
}

.rules-sublist li {
  margin: 0.4rem 0;
}

.content-actions {
  display: flex;
  justify-content: center;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .content-card { padding: 1.75rem; }
  .content-title { font-size: 1.6rem; letter-spacing: 3px; }
  .page-hero-imageWrap { padding: 0 1rem; }
}

/* ===== Contact page additions ===== */

.contact-hero {
  position: relative;
  padding-top: 110px; /* clears fixed nav */
  padding-bottom: 3rem;
  overflow: hidden;
  background: var(--dark);
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.95) 0%, rgba(74, 93, 124, 0.9) 45%, rgba(139, 90, 142, 0.85) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  color: white;
  animation: fadeInUp 1s;
}

.contact-hero-mark {
  width: min(360px, 78vw);
  margin: 0 auto 1.2rem;
  display: block;
  filter: drop-shadow(0 0 35px rgba(139, 90, 142, 0.65));
  animation: glow-pulse 3s ease-in-out infinite;
}

.contact-title {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  text-transform: uppercase;
  letter-spacing: 8px;
  text-shadow: 0 0 20px var(--accent), 0 0 40px var(--blue), 2px 2px 6px rgba(0,0,0,0.8);
  margin-bottom: 0.5rem;
}

.contact-subtitle {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--accent-light);
  font-style: italic;
  margin-bottom: 1.25rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.contact-lede {
  max-width: 900px;
  margin: 0 auto 2rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.9;
  font-size: 1.05rem;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-hero-imageWrap {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding: 0 2rem;
}

.contact-hero-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border: 5px solid var(--accent);
  box-shadow: 0 0 40px rgba(139, 90, 142, 0.45), inset 0 0 30px rgba(0,0,0,0.4);
}

/* Main content */
.contact-section {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 3px double var(--accent);
  box-shadow: 0 12px 35px rgba(0,0,0,0.35), inset 0 0 25px rgba(139, 90, 142, 0.12);
  padding: 2.5rem;
  position: relative;
}

.contact-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
}

.contact-card-title {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  color: white;
  font-size: 1.9rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 18px var(--accent), 0 0 28px var(--blue);
}

.contact-email-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 1.25rem;
}

.contact-email {
  display: block;
  text-decoration: none;
  padding: 1.25rem 1.25rem;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(139, 90, 142, 0.45);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25), inset 0 0 18px rgba(139, 90, 142, 0.10);
  transition: all 0.35s;
}

.contact-email:hover {
  border-color: var(--blue);
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(139, 90, 142, 0.45), 0 0 30px rgba(70, 130, 180, 0.35), inset 0 0 22px rgba(139, 90, 142, 0.18);
}

.contact-email-label {
  display: block;
  color: var(--accent-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.contact-email-value {
  display: block;
  color: white;
  font-weight: 600;
  letter-spacing: 0.5px;
  word-break: break-word;
  text-shadow: 0 0 12px rgba(139, 90, 142, 0.35);
}

.contact-note {
  margin-top: 1.75rem;
  color: rgba(255,255,255,0.75);
  font-style: italic;
  line-height: 1.8;
}

/* Mobile tweaks */
@media (max-width: 900px) {
  .contact-email-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-card { padding: 1.75rem; }
  .contact-card-title { font-size: 1.55rem; letter-spacing: 3px; }
  .contact-hero-imageWrap { padding: 0 1rem; }
}

/* ===== Registration page additions ===== */

.reg-hero {
  position: relative;
  padding-top: 110px; /* clears fixed nav */
  padding-bottom: 3rem;
  overflow: hidden;
  background: var(--dark);
}

.reg-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 95, 0.95) 0%,
    rgba(74, 93, 124, 0.9) 45%,
    rgba(139, 90, 142, 0.85) 100%
  );
  clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
}

.reg-hero-image {
  position: absolute;
  inset: 0;
  background: url('../images/extras/gradient_main.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
}

.reg-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  color: white;
  animation: fadeInUp 1s;
}

.reg-title {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  text-transform: uppercase;
  letter-spacing: 8px;
  text-shadow: 0 0 20px var(--accent), 0 0 40px var(--blue), 2px 2px 6px rgba(0,0,0,0.8);
  margin-bottom: 0.6rem;
}

.reg-subtitle {
  color: var(--accent-light);
  font-style: italic;
  font-size: 1.15rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.reg-section {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  display: grid;
  gap: 2.5rem;
}

.reg-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 3px double var(--accent);
  box-shadow: 0 12px 35px rgba(0,0,0,0.35), inset 0 0 25px rgba(139, 90, 142, 0.12);
  padding: 2.5rem;
  position: relative;
}

.reg-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
}

.reg-stepHeader {
  margin-bottom: 1.25rem;
}

.reg-stepKicker {
  display: inline-block;
  color: var(--accent-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 14px rgba(139, 90, 142, 0.35);
}

.reg-stepTitle {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  color: white;
  font-size: 2rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 0 0 18px var(--accent), 0 0 28px var(--blue);
}

.reg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.25rem 0 1.5rem;
}

.reg-text {
  color: rgba(255,255,255,0.92);
  line-height: 1.9;
  font-size: 1.05rem;
  margin-top: 0.9rem;
}

.reg-instructions {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(139, 90, 142, 0.45);
  box-shadow: inset 0 0 18px rgba(139, 90, 142, 0.10);
}

.reg-instructionsTitle {
  color: white;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 14px rgba(70, 130, 180, 0.35);
}

.reg-list {
  margin-left: 1.25rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.9;
}

.reg-callouts {
  margin-top: 1.75rem;
  display: grid;
  gap: 1.25rem;
}

.reg-callout {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.35), rgba(139, 90, 142, 0.22));
  border: 2px solid rgba(139, 90, 142, 0.55);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25), inset 0 0 22px rgba(139, 90, 142, 0.10);
}

.reg-callout--blue {
  border-color: rgba(70, 130, 180, 0.65);
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.45), rgba(70, 130, 180, 0.18));
}

.reg-calloutTitle {
  color: white;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 14px rgba(139, 90, 142, 0.45);
}

/* Mobile */
@media (max-width: 768px) {
  .reg-card { padding: 1.75rem; }
  .reg-stepTitle { font-size: 1.6rem; letter-spacing: 3px; }
}

/* ===== FAQ page additions ===== */

.faq-hero {
  position: relative;
  padding-top: 110px; /* clears fixed nav */
  padding-bottom: 3rem;
  overflow: hidden;
  background: var(--dark);
}

.faq-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 95, 0.95) 0%,
    rgba(74, 93, 124, 0.9) 45%,
    rgba(139, 90, 142, 0.85) 100%
  );
  clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
}

.faq-hero-image {
  position: absolute;
  inset: 0;
  background: url('../images/extras/gradient_main.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
}

.faq-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  color: white;
  animation: fadeInUp 1s;
}

.faq-title {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: 8px;
  text-shadow: 0 0 20px var(--accent), 0 0 40px var(--blue), 2px 2px 6px rgba(0,0,0,0.8);
  margin-bottom: 0.75rem;
}

.faq-subtitle {
  color: var(--accent-light);
  font-style: italic;
  font-size: 1.1rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  margin-bottom: 1.5rem;
}

.faq-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.faq-pill {
  display: inline-block;
  padding: 0.65rem 1rem;
  border: 2px solid rgba(139, 90, 142, 0.7);
  background: rgba(255,255,255,0.06);
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35), inset 0 0 16px rgba(139, 90, 142, 0.10);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.faq-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(70, 130, 180, 0.85);
  box-shadow: 0 14px 35px rgba(0,0,0,0.45), 0 0 35px rgba(139, 90, 142, 0.35);
}

.faq-section {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.faq-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 3px double var(--accent);
  box-shadow: 0 12px 35px rgba(0,0,0,0.35), inset 0 0 25px rgba(139, 90, 142, 0.12);
  padding: 2.5rem;
  position: relative;
}

.faq-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
}

.faq-card-header {
  margin-bottom: 1.75rem;
}

.faq-kicker {
  display: inline-block;
  color: var(--accent-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.faq-card-title {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  color: white;
  font-size: 2rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 0 0 18px var(--accent), 0 0 28px var(--blue);
  margin-bottom: 0.75rem;
}

.faq-card-subtitle {
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
}

.faq-item {
  border: 2px solid rgba(139, 90, 142, 0.45);
  background: rgba(255,255,255,0.04);
  margin-top: 1rem;
  box-shadow: inset 0 0 18px rgba(139, 90, 142, 0.10);
}

.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  color: white;
  text-align: left;
  padding: 1.25rem 1.25rem;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;

  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(139, 90, 142, 0.45);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(70, 130, 180, 0.65);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35), inset 0 0 12px rgba(70, 130, 180, 0.15);
}

.faq-a {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.9;
}

.faq-a p { margin-top: 0.9rem; }

.faq-a ul {
  margin-top: 0.75rem;
  margin-left: 1.2rem;
}

.faq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}

.faq-note {
  margin-top: 1rem;
  opacity: 0.8;
  font-size: 0.95rem;
}

.faq-subblock {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 2px solid rgba(70, 130, 180, 0.35);
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.28), rgba(139, 90, 142, 0.18));
  box-shadow: 0 12px 30px rgba(0,0,0,0.25), inset 0 0 18px rgba(139, 90, 142, 0.10);
}

.faq-subtitle2 {
  color: white;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 14px rgba(70, 130, 180, 0.35);
}

/* Open state */
.faq-item.is-open .faq-a { display: block; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }

/* Mobile */
@media (max-width: 768px) {
  .faq-card { padding: 1.75rem; }
  .faq-card-title { font-size: 1.6rem; letter-spacing: 3px; }
  .faq-q { padding: 1.1rem; }
}

/* Keep your existing site-wide styles (variables, nav, particles, etc.) here.
   This file includes only what this page needs in addition to your current style system. */

   @import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Cinzel+Decorative:wght@700;900&display=swap');

   :root {
     --primary: #1e3a5f;
     --secondary: #4a5d7c;
     --accent: #8b5a8e;
     --accent-light: #a68ba3;
     --light: #f5f5f5;
     --dark: #1a1a1a;
     --blue: #4682b4;
     --purple: #7b5d99;
   
     --card-bg: rgba(255, 255, 255, 0.06);
     --card-border: rgba(139, 90, 142, 0.55);
     --card-border-2: rgba(70, 130, 180, 0.35);
     --shadow: 0 10px 35px rgba(0,0,0,0.45);
   }
   
   * { margin: 0; padding: 0; box-sizing: border-box; }
   
   body {
     font-family: 'Cinzel', 'Times New Roman', serif;
     color: var(--light);
     background: var(--dark);
     line-height: 1.6;
     overflow-x: hidden;
   }
   
   /* Particles container (optional) */
   .particles {
     position: fixed;
     inset: 0;
     z-index: 0;
     pointer-events: none;
   }
   
   /* Reuse your existing .particle and .shooting-star classes if already present.
      If not, you can paste them from your homepage CSS. */
   
   /* Page shell */
   .page {
     position: relative;
     z-index: 1; /* above particles */
   }
   
   /* Hero */
   .page-hero {
    position: center;
    padding-top: 110px; /* clears fixed header */
    padding-bottom: 4rem;
    overflow: hidden;
    background: var(--dark);
  }
  
  /* solid gradient base */
  .page-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      135deg,
      rgba(30, 58, 95, 0.95) 0%,
      rgba(74, 93, 124, 0.9) 50%,
      rgba(139, 90, 142, 0.85) 100%
    );
    z-index: 0;
  }
  
  /* background image layer */
  .page-hero-image {
    position: absolute;
    inset: 0;
  
    background-image: url("../images/new_player/output-onlinepngtools.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain; /* IMPORTANT */
  
    opacity: 0.35;
    z-index: 1;
  }
  
  /* content layer */
  .page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 2rem 0;
    text-align: center;
    color: white;
  }
  
   
   .page-title {
     font-family: 'Cinzel Decorative', 'Cinzel', serif;
     font-size: 3rem;
     letter-spacing: 4px;
     text-transform: uppercase;
     text-shadow: 0 0 25px rgba(139, 90, 142, 0.8);
     margin-bottom: 0.75rem;
   }
   
   .page-lede {
     color: rgba(245,245,245,0.92);
     font-size: 1.15rem;
     max-width: 70ch;
   }
   
   .hero-actions {
     margin-top: 1.5rem;
     display: flex;
     gap: 1rem;
     align-items: center;
     flex-wrap: wrap;
   }
   
   .hero-link {
     color: var(--accent-light);
     text-decoration: none;
     letter-spacing: 1px;
     font-weight: 600;
     text-transform: uppercase;
   }
   
   .hero-link:hover {
     color: white;
     text-shadow: 0 0 15px rgba(139, 90, 142, 0.8);
   }
   
   /* Buttons (match your existing style language) */
   .cta-btn {
     background: linear-gradient(135deg, var(--accent), var(--purple));
     color: white !important;
     padding: 1rem 2.3rem;
     border-radius: 0;
     font-weight: 800;
     text-decoration: none;
     border: 2px solid var(--accent);
     letter-spacing: 2px;
     text-transform: uppercase;
     box-shadow: 0 6px 25px rgba(139, 90, 142, 0.55);
     clip-path: polygon(8% 0%, 92% 0%, 100% 50%, 92% 100%, 8% 100%, 0% 50%);
     transition: transform 0.25s, box-shadow 0.25s, filter 0.25s;
   }
   
   .cta-btn:hover {
     transform: translateY(-2px);
     box-shadow: 0 10px 40px rgba(139, 90, 142, 0.8), 0 0 30px rgba(70, 130, 180, 0.5);
   }
   
   .ghost-btn {
     display: inline-block;
     padding: 1rem 2.3rem;
     border: 2px solid var(--blue);
     color: white;
     text-decoration: none;
     text-transform: uppercase;
     letter-spacing: 2px;
     font-weight: 800;
     background: rgba(70,130,180,0.10);
     clip-path: polygon(8% 0%, 92% 0%, 100% 50%, 92% 100%, 8% 100%, 0% 50%);
     box-shadow: 0 6px 25px rgba(70, 130, 180, 0.35);
     transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
   }
   
   .ghost-btn:hover {
     transform: translateY(-2px);
     background: rgba(70,130,180,0.22);
     box-shadow: 0 10px 40px rgba(70, 130, 180, 0.65);
   }
   
   /* Layout */
   .content-shell {
     max-width: 1400px;
     margin: 0 auto;
     padding: 4rem 2rem 6rem;
     display: grid;
     grid-template-columns: 320px 1fr;
     gap: 2.5rem;
   }
   
   .toc-card {
     position: sticky;
     top: 110px; /* below nav */
     background: rgba(30, 58, 95, 0.35);
     border: 2px solid var(--card-border);
     box-shadow: var(--shadow);
     backdrop-filter: blur(10px);
     padding: 1.5rem;
   }
   
   .toc-title {
     font-family: 'Cinzel Decorative', 'Cinzel', serif;
     text-transform: uppercase;
     letter-spacing: 3px;
     font-size: 1rem;
     margin-bottom: 1rem;
     color: white;
     text-shadow: 0 0 15px rgba(139, 90, 142, 0.8);
   }
   
   .toc-links {
     display: flex;
     flex-direction: column;
     gap: 0.75rem;
   }
   
/* TOC: add spacing before each hyperlink */
.toc-links a {
  color: rgba(245,245,245,0.9);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;

  /* spacing before each link */
  padding-top: 0.65rem;
  padding-bottom: 0.35rem;

  border-bottom: 1px solid rgba(139, 90, 142, 0.25);
  display: block;
}

.toc-links a:first-child {
  padding-top: 0.25rem; /* optional: reduce top padding for the first item */
}
   
   .toc-links a:hover {
     color: white;
     text-shadow: 0 0 15px rgba(139, 90, 142, 0.85);
   }
   
   .toc-divider {
     height: 1px;
     background: linear-gradient(90deg, transparent, rgba(139, 90, 142, 0.6), transparent);
     margin: 1.25rem 0;
   }
   
   .toc-small {
     color: rgba(245,245,245,0.75);
     font-size: 0.85rem;
     line-height: 1.7;
   }
   
   .toc-small a {
     color: var(--accent-light);
     text-decoration: none;
   }
   .toc-small a:hover { color: white; }
   .toc-sep { margin: 0 0.4rem; opacity: 0.7; }
   
   .content { min-width: 0; }
   
   /* Sections */
   .section {
     margin-bottom: 4rem;
   }
   
   .section-title {
     text-align: left;
     font-family: 'Cinzel Decorative', 'Cinzel', serif;
     font-size: 2.2rem;
     letter-spacing: 6px;
     text-transform: uppercase;
     color: white;
     text-shadow: 0 0 20px rgba(139, 90, 142, 0.85), 0 0 30px rgba(70, 130, 180, 0.5);
     position: relative;
     margin-bottom: 0.75rem;
   }
   
   .section-title::after {
     content: '';
     display: block;
     margin-top: 0.75rem;
     width: 220px;
     height: 2px;
     background: linear-gradient(90deg, transparent, var(--accent), var(--blue), var(--accent), transparent);
     box-shadow: 0 0 20px rgba(139, 90, 142, 0.7);
   }
   
   .section-subtitle {
     color: var(--accent-light);
     font-style: italic;
     margin-bottom: 1.75rem;
   }
   
   /* Cards */
   .info-card {
     background: var(--card-bg);
     border: 3px double var(--card-border);
     box-shadow: var(--shadow);
     padding: 1.75rem;
     backdrop-filter: blur(10px);
     position: relative;
   }
   
   .info-card::after {
     content: '';
     position: absolute;
     inset: 0;
     border: 1px solid rgba(255,255,255,0.08);
     pointer-events: none;
   }
   
   .card-title {
     font-weight: 900;
     letter-spacing: 2px;
     text-transform: uppercase;
     margin-bottom: 0.75rem;
     color: white;
   }
   
   .prose p { margin-bottom: 1rem; color: rgba(245,245,245,0.92); }
   .prose a { color: var(--accent-light); text-decoration: none; font-weight: 800; }
   .prose a:hover { color: white; text-shadow: 0 0 15px rgba(139,90,142,0.8); }
   
   .muted { opacity: 0.75; font-size: 0.85rem; }
   
   /* Lists */
   .bullets { padding-left: 1.2rem; display: grid; gap: 0.65rem; }
   .bullets li { color: rgba(245,245,245,0.92); }
   .bullets a { color: var(--accent-light); text-decoration: none; font-weight: 800; }
   .bullets a:hover { color: white; }
   
   .numbered { margin-top: 0.6rem; padding-left: 1.1rem; display: grid; gap: 0.4rem; }
   .numbered li { color: rgba(245,245,245,0.9); }
   
   /* Media */
   .media-grid {
     display: grid;
     grid-template-columns: repeat(3, minmax(0, 1fr));
     gap: 1.5rem;
   }
   
   .media-card {
     background: rgba(0,0,0,0.25);
     border: 2px solid var(--card-border-2);
     box-shadow: var(--shadow);
     overflow: hidden;
   }
   
   .media-card img {
     width: 100%;
     height: 260px;
     object-fit: cover;
     display: block;
   }
   
   .media-card figcaption {
     padding: 0.9rem 1rem;
     color: rgba(245,245,245,0.85);
     font-size: 0.9rem;
     border-top: 1px solid rgba(255,255,255,0.08);
   }
   
   .media-card a { color: var(--accent-light); text-decoration: none; font-weight: 800; }
   .media-card a:hover { color: white; }
   
   /* Split layout blocks */
   .split {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 1.75rem;
     align-items: start;
   }
   
   .checklist-grid {
     display: grid;
     grid-template-columns: repeat(2, minmax(0, 1fr));
     gap: 1.5rem;
   }
   
   .checklist {
     list-style: none;
     display: grid;
     gap: 0.55rem;
     margin-top: 0.75rem;
   }
   
   .checklist li {
     color: rgba(245,245,245,0.92);
     padding-left: 1.35rem;
     position: relative;
   }
   
   .checklist li::before {
     content: '✧';
     position: absolute;
     left: 0;
     top: 0.05rem;
     color: var(--accent);
     text-shadow: 0 0 12px rgba(139,90,142,0.8);
   }
   
   /* Steps */
   .step-grid {
     display: grid;
     grid-template-columns: repeat(2, minmax(0, 1fr));
     gap: 1.5rem;
   }
   
   .step-card {
     background: rgba(255,255,255,0.06);
     border: 2px solid var(--card-border);
     box-shadow: var(--shadow);
     padding: 1.5rem;
     display: grid;
     grid-template-columns: 52px 1fr;
     gap: 1rem;
     align-items: start;
   }
   
   .step-num {
     width: 52px;
     height: 52px;
     display: grid;
     place-items: center;
     font-weight: 900;
     font-size: 1.2rem;
     color: white;
     background: linear-gradient(135deg, var(--accent), var(--blue));
     border: 2px solid rgba(255,255,255,0.25);
     box-shadow: 0 0 25px rgba(139,90,142,0.55);
   }
   
   .step-title {
     font-weight: 900;
     letter-spacing: 2px;
     text-transform: uppercase;
     margin-bottom: 0.35rem;
   }
   
   .step-text { color: rgba(245,245,245,0.92); }
   .step-text a { color: var(--accent-light); text-decoration: none; font-weight: 900; }
   .step-text a:hover { color: white; }
   
   .event-cta-center { margin-top: 2rem; text-align: center; }
   
   .event-btn {
     display: inline-block;
     background: linear-gradient(135deg, var(--accent), var(--blue));
     color: white;
     padding: 1.1rem 2.8rem;
     text-decoration: none;
     font-weight: 900;
     text-transform: uppercase;
     letter-spacing: 2px;
     border: 2px solid var(--accent);
     clip-path: polygon(5% 0%, 95% 0%, 100% 50%, 95% 100%, 5% 100%, 0% 50%);
     box-shadow: 0 8px 30px rgba(139, 90, 142, 0.55);
     transition: transform 0.25s, box-shadow 0.25s;
   }
   .event-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(139, 90, 142, 0.8); }
   
   /* Callouts */
   .callout-row {
     margin-top: 1.75rem;
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 1.75rem;
     align-items: start;
   }
   
   .callout {
     background: rgba(30, 58, 95, 0.35);
     border: 2px solid var(--card-border-2);
     box-shadow: var(--shadow);
     padding: 1.5rem;
     backdrop-filter: blur(10px);
   }
   
   .callout-title {
     font-weight: 900;
     letter-spacing: 2px;
     text-transform: uppercase;
     margin-bottom: 1rem;
     color: white;
   }
   
   .callout-links {
     display: grid;
     gap: 0.65rem;
   }
   
   .callout-links a {
     color: var(--accent-light);
     text-decoration: none;
     font-weight: 900;
     text-transform: uppercase;
     letter-spacing: 1px;
     font-size: 0.9rem;
     border-bottom: 1px solid rgba(139, 90, 142, 0.25);
     padding-bottom: 0.35rem;
   }
   .callout-links a:hover { color: white; text-shadow: 0 0 15px rgba(139,90,142,0.8); }
   
   /* Bottom CTA strip */
   .cta-strip {
     margin-top: 5rem;
     border-top: 5px solid var(--accent);
     border-bottom: 5px solid var(--accent);
     background: linear-gradient(135deg, var(--blue) 0%, var(--accent) 50%, var(--purple) 100%);
     box-shadow: inset 0 10px 40px rgba(0,0,0,0.5);
   }
   
   .cta-strip-inner {
     max-width: 1200px;
     margin: 0 auto;
     padding: 2.8rem 2rem;
     display: flex;
     justify-content: space-between;
     align-items: center;
     gap: 1.5rem;
     flex-wrap: wrap;
   }
   
   .cta-strip-title {
     font-family: 'Cinzel Decorative', 'Cinzel', serif;
     text-transform: uppercase;
     letter-spacing: 6px;
     font-size: 1.6rem;
     text-shadow: 0 0 25px rgba(0,0,0,0.5);
   }
   
   .cta-strip-sub { color: rgba(255,255,255,0.9); font-style: italic; }
   
   .cta-strip-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
   
   /* Responsive */
   @media (max-width: 1100px) {
     .content-shell { grid-template-columns: 1fr; }
     .toc-card { position: relative; top: 0; }
     .media-grid { grid-template-columns: 1fr; }
     .media-card img { height: 320px; }
     .split { grid-template-columns: 1fr; }
     .checklist-grid { grid-template-columns: 1fr; }
     .step-grid { grid-template-columns: 1fr; }
     .callout-row { grid-template-columns: 1fr; }
     .page-title { font-size: 2.2rem; }
   }

   /* ===== New Player page: remove angled hero slash ===== */
.page-new-player .page-hero-bg,
.page-new-player .page-hero-image,
.page-new-player .page-hero::before,
.page-new-player .page-hero::after {
  clip-path: none !important;
}

/* Optional: ensure hero edges are perfectly rectangular */
.page-new-player .page-hero {
  border-radius: 0;
}

/* ===== New Player: force hero content centered ===== */
.page-new-player .page-hero-content {
  max-width: 1100px;
  margin: 0 auto;          /* centers the content block */
  padding: 2.5rem 2rem 0;
  text-align: center;      /* centers text */
  display: block;
}

.page-new-player .page-lede {
  max-width: 70ch;         /* readable measure */
  margin: 0.75rem auto 0;  /* centers the paragraph block */
  text-align: center;      /* ensures text stays centered */
}

/* TOC spacing: consistent breathing room */
.toc-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;            /* space BETWEEN links */
}

.toc-links a {
  display: block;
  padding: 0.7rem 0.9rem;  /* space INSIDE each link */
  margin: 0;               /* avoid weird collapses */
  border-bottom: 1px solid rgba(139, 90, 142, 0.25);
}

/* ===== Heritages (Races) page additions ===== */

.heritages-page { position: relative; z-index: 1; }

/* Hero */
.heritages-hero {
  position: relative;
  padding-top: 110px; /* clears fixed nav */
  padding-bottom: 3.5rem;
  overflow: hidden;
  background: var(--dark);
}

.heritages-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 95, 0.95) 0%,
    rgba(74, 93, 124, 0.9) 45%,
    rgba(139, 90, 142, 0.85) 100%
  );
  z-index: 0;
}

.heritages-hero-image {
  position: absolute;
  inset: 0;
  background: url('../images/extras/gradient_main.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  z-index: 1;
}

.heritages-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  color: white;
  animation: fadeInUp 1s;
}

.heritages-title {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  text-transform: uppercase;
  letter-spacing: 8px;
  text-shadow: 0 0 20px var(--accent), 0 0 40px var(--blue), 2px 2px 6px rgba(0,0,0,0.8);
  margin-bottom: 0.75rem;
}

.heritages-lede {
  max-width: 90ch;
  margin: 0 auto;
  color: rgba(255,255,255,0.92);
  line-height: 1.9;
  font-size: 1.05rem;
}

.heritages-quicklinks {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.heritages-pill {
  display: inline-block;
  padding: 0.65rem 1rem;
  border: 2px solid rgba(139, 90, 142, 0.7);
  background: rgba(255,255,255,0.06);
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35), inset 0 0 16px rgba(139, 90, 142, 0.10);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.heritages-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(70, 130, 180, 0.85);
  box-shadow: 0 14px 35px rgba(0,0,0,0.45), 0 0 35px rgba(139, 90, 142, 0.35);
}

/* Ensure this page uses your existing sidebar+content layout comfortably */
.heritages-shell { padding-top: 4rem; }

/* Buttons row inside each heritage card */
.heritages-actions {
  margin-top: 1.25rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

/* Mobile */
@media (max-width: 1100px) {
  .heritages-actions { justify-content: center; }
}

/* Heritages page: lock TOC in place (no scroll-follow) */
.heritages-page .toc-card {
  position: relative;   /* NOT sticky */
  top: auto;
}

/* Remove divider under section titles for Staff & Testimonials only */
.staff-section .section-title::after,
.testimonials-section .section-title::after {
  display: none;
}

/* Front page hero logo: center + bottom-left hinge */
.hero-logo {
  display: block;
  margin-left: auto;
  margin-right: auto;

  /* Anchor animation pivot */
  transform-origin: left bottom;
}

@keyframes float-logo {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-18px) rotate(1.5deg);
  }
}

/* === Pre-Emergence Lore: Dark Theme Pass === */

.page-hero-bg {
  background: linear-gradient(
    135deg,
    rgba(14, 28, 46, 0.98) 0%,
    rgba(22, 36, 58, 0.96) 45%,
    rgba(48, 24, 52, 0.92) 100%
  );
}

.page-title {
  text-shadow:
    0 0 14px rgba(139, 90, 142, 0.65),
    0 0 22px rgba(70, 130, 180, 0.35),
    2px 2px 6px rgba(0,0,0,0.9);
}

.page-lede {
  color: rgba(230, 230, 230, 0.88);
}


/* Keep nav and dropdowns safely above everything */
nav {
  z-index: 1000;
}

/* Prevent sections/cards from eclipsing particles */
.content-section,
.content-card,
.page-hero {
  position: relative;
  z-index: auto; /* or just remove any z-index you set on these */
}

/* New Player: force intended hero colors regardless of lore overrides */
.newplayer .page-hero-bg {
  background: linear-gradient(
    135deg,
    rgba(30, 58, 95, 0.95) 0%,
    rgba(74, 93, 124, 0.9) 50%,
    rgba(139, 90, 142, 0.85) 100%
  );
}

.newplayer .page-hero-image {
  opacity: 0.35; /* adjust to taste */
}

.newplayer .page-title {
  text-shadow:
    0 0 20px var(--accent),
    0 0 40px var(--blue),
    2px 2px 6px rgba(0,0,0,0.8);
}

/* New Player page: remove diagonal hero cut */
.newplayer .page-hero-bg {
  clip-path: none;
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
}

.footer-socials a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;

  color: white;
  font-size: 1.25rem;

  background: linear-gradient(
    135deg,
    rgba(70, 130, 180, 0.25),
    rgba(139, 90, 142, 0.35)
  );

  border: 2px solid rgba(139, 90, 142, 0.6);
  box-shadow:
    0 8px 22px rgba(0,0,0,0.45),
    inset 0 0 14px rgba(139, 90, 142, 0.25);

  clip-path: polygon(
    8% 0%,
    92% 0%,
    100% 50%,
    92% 100%,
    8% 100%,
    0% 50%
  );

  transition: transform 0.25s, box-shadow 0.25s;
}

.footer-socials a:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 35px rgba(139, 90, 142, 0.75),
    0 0 30px rgba(70, 130, 180, 0.6);
}

/* ===== Footer floating text buttons ===== */

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
  justify-items: center;
  text-align: center;
}

.footer-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;

  color: white;
  text-decoration: none;
  font-weight: 900;

  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;

  background: linear-gradient(135deg, var(--accent), var(--purple));
  border: 2px solid var(--accent);

  clip-path: polygon(8% 0%, 92% 0%, 100% 50%, 92% 100%, 8% 100%, 0% 50%);

  box-shadow:
    0 10px 26px rgba(0,0,0,0.45),
    0 0 22px rgba(139, 90, 142, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.18);

  transition: transform 0.25s, box-shadow 0.25s, filter 0.25s;
}

.footer-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 38px rgba(139, 90, 142, 0.75),
    0 0 34px rgba(70, 130, 180, 0.55);
}

/* Optional: vary one button color a bit for readability */
.footer-btn:nth-child(2) {
  background: linear-gradient(135deg, var(--blue), var(--accent));
  border-color: var(--blue);
}

.footer-btn:nth-child(3) {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: rgba(139, 90, 142, 0.8);
}
.particles {
  position: fixed;
  inset: 0;
  z-index: 1;          /* stars above background layers */
  pointer-events: none;
}

/* Protect interactive/foreground UI from particle overlay */
.carousel-container,
.event-card,
.event-btn,
.staff-card,
.staff-contact-btn,
.cta-btn,
.footer-btn {
  position: relative;
  z-index: 2;
}


/* Ensure main page content renders above particles */
.page {
  position: relative;
  z-index: 2;
}

/* Keep nav and dropdowns safely above everything */
nav {
  z-index: 1000;
}

/* Site Rules hero image: show full image (no crop) */
.page-hero-imageWrap {
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
}

.page-hero-image {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block;
}

.content-card-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  border: 2px solid var(--accent);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  margin-bottom: 1.5rem;
}

.page-hero-content {
  text-align: center;
}

.page-lede {
  margin: 0 auto 2rem auto;
  max-width: 800px;   /* prevents overly wide text */
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}
