@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;800&family=Quicksand:wght@300;400;600&display=swap');

:root {
  --primary: #2E034D;
  --secondary: #7A1E93;
  --accent1: #D639FF;
  --accent2: #00D9D9;
  --accent3: #FFE345;
  --dark: #0D0217;
  --light: #F2F2FF;
  --font-title: 'Cinzel', serif;
  --font-body: 'Quicksand', sans-serif;
}

/* ===== Body & Global Styles ===== */
.festivalofspells-body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background-color: var(--dark);
  color: var(--light);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== Preserved Navbar from original code ===== */
.festivalofspells-nav {
  position: fixed;
  top: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  z-index: 9999;
}
.festivalofspells-nav-border {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #5b8cff, #c084fc, #ffe066, #50e3c2, #5b8cff
  );
  animation: spinBorder 5s linear infinite;
  z-index: 1;
}
@keyframes spinBorder {
  to { transform: rotate(360deg); }
}

/* ===== Toggle Button & Halo (Preserved from original) ===== */
.festivalofspells-nav input[type="checkbox"] {
  display: none;
}
.festivalofspells-toggle {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  font-size: 1.5rem;
  box-shadow:
    0 0 15px rgba(91,140,255,0.5),
    0 0 30px rgba(192,132,252,0.4),
    inset 0 0 10px rgba(255,255,255,0.2);
  transition: transform 0.4s ease;
  z-index: 2;
}
.festivalofspells-toggle::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(255,255,255,0.5);
  animation: pulseHalo 2.5s ease-out infinite;
}
@keyframes pulseHalo {
  0%   { box-shadow: 0 0 0 0 rgba(91,140,255,0.4); }
  50%  { box-shadow: 0 0 25px 10px rgba(91,140,255,0.1); }
  100% { box-shadow: 0 0 0 0 rgba(91,140,255,0); }
}
.festivalofspells-nav input:checked + .festivalofspells-toggle {
  transform: rotate(90deg) scale(1.1);
}

/* ===== Menu Container (Preserved from original) ===== */
.festivalofspells-menu {
  position: absolute;
  top: 80px;
  right: 0;
  width: 200px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px) scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 2;
}
.festivalofspells-nav input:checked ~ .festivalofspells-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* ===== Menu Items (Preserved from original) ===== */
.festivalofspells-menu li {
  list-style: none;
}
.festivalofspells-menu li a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 30px;
  color: var(--light);
  font-weight: 600;
  overflow: hidden;
  box-shadow:
    0 4px 15px rgba(46, 3, 77, 0.4),
    0 0 8px rgba(122, 30, 147, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
  animation: none;
  text-decoration: none;
}
.festivalofspells-menu li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.4);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}
.festivalofspells-menu li a:hover::before {
  left: 150%;
}
.festivalofspells-menu li a:hover {
  transform: scale(1.08);
  box-shadow:
    0 6px 25px rgba(214, 57, 255, 0.6),
    0 0 15px rgba(0, 217, 217, 0.5);
}
.festivalofspells-menu li a i {
  transition: transform 0.4s ease;
}
.festivalofspells-menu li a:hover i {
  transform: rotate(20deg) translateX(2px);
}

/* ===== Tooltip (Preserved from original) ===== */
.festivalofspells-menu li a span {
  position: absolute;
  left: 50px;
  opacity: 1;
  background: rgba(0,0,0,0.7);
  color: var(--light);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
  white-space: nowrap;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.festivalofspells-menu li a:hover span {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Legal Dropdown (Preserved from original) ===== */
.festivalofspells-legal {
  position: relative;
}
.festivalofspells-legal-dropdown {
  position: absolute;
  top: 0;
  right: 110%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  min-width: 180px;
  background: url('data:image/svg+xml;utf8,\ <svg xmlns="http://www.w3.org/2000/svg" width="200" height="100">\ <path d="M0 20 C50 0,150 40,200 20 L200 100 L0 100 Z" fill="rgba(255,255,255,0.25)"/>\</svg>') no-repeat top center, rgba(255,255,255,0.3);
  background-size: cover;
  backdrop-filter: blur(8px);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 3;
}
.festivalofspells-legal:hover .festivalofspells-legal-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.festivalofspells-legal-dropdown li {
  list-style: none;
}
.festivalofspells-legal-dropdown li a {
  color: var(--dark);
  background: transparent;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: background 0.3s ease;
  text-decoration: none;
  box-shadow: none;
}
.festivalofspells-legal-dropdown li a:hover {
  background: rgba(46, 3, 77, 0.2);
  transform: none;
}
.festivalofspells-legal-dropdown li a::before {
  display: none;
}

/* Keep the dropdown visible on hover (Preserved from original) */
.festivalofspells-legal-dropdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  min-width: 180px;
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 3;
}
.festivalofspells-legal:hover > .festivalofspells-legal-dropdown,
.festivalofspells-legal-dropdown:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* ===== Magic Particles Background ===== */
.festivalofspells-magic-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  background: radial-gradient(circle at 10% 20%, var(--primary) 0%, var(--dark) 90%);
}

.festivalofspells-magic-particles::before,
.festivalofspells-magic-particles::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 85% 15%, var(--accent2) 0%, transparent 25%),
    radial-gradient(circle at 15% 85%, var(--accent1) 0%, transparent 25%);
  opacity: 0.2;
  mix-blend-mode: lighten;
}

.festivalofspells-magic-particles::after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="%23FFFFFF" opacity="0.3"/><circle cx="30" cy="40" r="0.5" fill="%23FFFFFF" opacity="0.3"/><circle cx="70" cy="20" r="0.8" fill="%23FFFFFF" opacity="0.3"/><circle cx="60" cy="80" r="0.6" fill="%23FFFFFF" opacity="0.3"/><circle cx="20" cy="70" r="0.7" fill="%23FFFFFF" opacity="0.3"/><circle cx="90" cy="50" r="0.4" fill="%23FFFFFF" opacity="0.3"/><circle cx="50" cy="90" r="0.5" fill="%23FFFFFF" opacity="0.3"/></svg>');
  background-size: 250px 250px;
  animation: floatStars 60s linear infinite;
}

@keyframes floatStars {
  0% { background-position: 0 0; }
  100% { background-position: 500px 500px; }
}

/* ===== Content Layout ===== */
.festivalofspells-content-wrapper {
  margin-left: 100px;
  padding: 0;
  min-height: 100vh;
}

/* ===== Sidebar ===== */
.festivalofspells-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 40px;
  border-right: 2px solid rgba(214, 57, 255, 0.4);
}

.festivalofspells-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 99px;
  width: 10px;
  height: 100%;
  background: linear-gradient(90deg, rgba(214, 57, 255, 0.4), transparent);
  pointer-events: none;
}

.festivalofspells-sidebar-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
}

.festivalofspells-sidebar-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
}

.festivalofspells-logo-symbol {
  font-size: 2.5rem;
  color: var(--accent3);
  margin-bottom: 10px;
  animation: pulseLogo 3s ease-in-out infinite;
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.festivalofspells-logo-text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.2rem;
  background: linear-gradient(to right, var(--accent3), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}

.festivalofspells-sidebar-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.festivalofspells-sidebar-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 0;
  color: var(--light);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.festivalofspells-sidebar-link i {
  font-size: 1.5rem;
  margin-bottom: 5px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.festivalofspells-sidebar-link span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.festivalofspells-sidebar-link::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 60%;
  background: var(--accent2);
  transition: transform 0.3s ease;
}

.festivalofspells-sidebar-link:hover i,
.festivalofspells-sidebar-link.active i {
  transform: translateY(-3px);
  color: var(--accent2);
}

.festivalofspells-sidebar-link:hover span,
.festivalofspells-sidebar-link.active span {
  opacity: 1;
}

.festivalofspells-sidebar-link:hover::before,
.festivalofspells-sidebar-link.active::before {
  transform: translateY(-50%) scaleY(1);
}

/* ===== Hero Section ===== */
.festivalofspells-hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.festivalofspells-hero-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  right: 10%;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--accent1) 0%, transparent 70%);
  box-shadow: 0 0 100px var(--accent1);
  animation: floatOrb 8s ease-in-out infinite;
  opacity: 0.7;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.festivalofspells-hero-content {
  max-width: 600px;
  z-index: 1;
  text-align: left;
  padding-left: 5%;
}

.festivalofspells-hero-text {
  position: relative;
  z-index: 2;
}

.festivalofspells-title {
  font-family: var(--font-title);
  font-size: 5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  position: relative;
  display: inline-block;
}

.festivalofspells-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(to right, var(--accent1), var(--accent2));
}

.festivalofspells-tagline {
  font-size: 1.5rem;
  margin-bottom: 40px;
  max-width: 500px;
  color: rgba(242, 242, 255, 0.8);
}

.festivalofspells-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.festivalofspells-crystal-button {
  position: relative;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  width: 70%;
}

.festivalofspells-crystal-inner {
  display: block;
  padding: 15px 40px;
  background: linear-gradient(135deg, rgba(214, 57, 255, 0.2), rgba(0, 217, 217, 0.2));
  border: 2px solid rgba(214, 57, 255, 0.4);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--light);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.festivalofspells-crystal-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.festivalofspells-crystal-button:hover .festivalofspells-crystal-inner {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.festivalofspells-crystal-button:hover .festivalofspells-crystal-inner::before {
  opacity: 0.8;
}

.festivalofspells-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--light);
  opacity: 0.6;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.festivalofspells-scroll-indicator:hover {
  opacity: 1;
}

.festivalofspells-scroll-indicator i {
  margin-top: 8px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* ===== Games Section ===== */
.festivalofspells-games-section {
  padding: 120px 5% 150px;
  position: relative;
  overflow: hidden;
}

.festivalofspells-section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 80px;
  position: relative;
}

.festivalofspells-section-header h2 {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 700;
  margin: 0 30px;
  background: linear-gradient(to right, var(--accent3), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.festivalofspells-rune-symbol {
  width: 50px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent1), transparent);
  position: relative;
}

.festivalofspells-rune-symbol::before,
.festivalofspells-rune-symbol::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent1);
  top: 50%;
  transform: translateY(-50%);
}

.festivalofspells-rune-symbol.left::after {
  right: 0;
}

.festivalofspells-rune-symbol.right::before {
  left: 0;
}

.festivalofspells-games-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 60px;
  margin-bottom: 80px;
}

.festivalofspells-game-hexagon {
  width: 300px;
  height: 260px;
  position: relative;
  margin: 50px 30px;
  transition: transform 0.4s ease;
}

.festivalofspells-hexagon-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.festivalofspells-hexagon-content {
  width: 100%;
  height: 100%;
  position: relative;
}

.festivalofspells-hexagon-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.festivalofspells-hexagon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(46, 3, 77, 0.7), rgba(122, 30, 147, 0.9));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  opacity: 1 !important;
  transition: opacity 0.4s ease;
}

.festivalofspells-hexagon-overlay h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--accent3);
  margin-right: 40px;
}

.festivalofspells-hexagon-overlay p {
  font-size: 0.9rem;
  color: var(--light);
  margin-bottom: 20px;
  max-width: 80%;
  margin-right: 40px;
}

.festivalofspells-play-now {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent2);
  border: none;
  color: var(--dark);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 217, 217, 0.5);
  margin-right: 40px;
}

.festivalofspells-play-now:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 217, 217, 0.7);
}

.festivalofspells-game-hexagon:hover {
  transform: translateY(-15px);
}

.festivalofspells-game-hexagon:hover .festivalofspells-hexagon-inner {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.festivalofspells-game-hexagon:hover .festivalofspells-hexagon-overlay {
  opacity: 1;
}

.festivalofspells-game-hexagon:hover .festivalofspells-hexagon-content img {
  transform: scale(1.2);
}

.festivalofspells-orbs-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  overflow: hidden;
  pointer-events: none;
}

.festivalofspells-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--accent1) 0%, transparent 70%);
  opacity: 0.6;
  animation: floatOrbs 10s ease-in-out infinite;
}

.festivalofspells-orb.orb1 {
  width: 80px;
  height: 80px;
  left: 10%;
  bottom: -30px;
  background: radial-gradient(circle at center, var(--accent1) 0%, transparent 70%);
  animation-delay: 0s;
}

.festivalofspells-orb.orb2 {
  width: 60px;
  height: 60px;
  left: 50%;
  bottom: -20px;
  background: radial-gradient(circle at center, var(--accent2) 0%, transparent 70%);
  animation-delay: 2s;
}

.festivalofspells-orb.orb3 {
  width: 40px;
  height: 40px;
  left: 80%;
  bottom: -15px;
  background: radial-gradient(circle at center, var(--accent3) 0%, transparent 70%);
  animation-delay: 4s;
}

@keyframes floatOrbs {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

/* ===== Story/About Section ===== */
.festivalofspells-story-section {
  padding: 100px 5%;
  background: linear-gradient(to bottom, var(--dark), var(--primary));
  position: relative;
  overflow: hidden;
}

.festivalofspells-story-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.festivalofspells-story-scroll {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(214, 57, 255, 0.2);
  border-radius: 20px;
  padding: 60px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.festivalofspells-story-scroll::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px dashed rgba(255, 227, 69, 0.3);
  border-radius: 15px;
  pointer-events: none;
  z-index: 0;
}

.festivalofspells-scroll-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.festivalofspells-scroll-decoration {
  width: 40px;
  height: 1px;
  background: var(--accent3);
  position: relative;
}

festivalofspells-scroll-decoration::before {
    content: '✦';
    position: absolute;
    color: var(--accent3);
    font-size: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .festivalofspells-scroll-decoration.left::before {
    right: 0;
  }
  
  .festivalofspells-scroll-decoration.right::before {
    left: 0;
  }
  
  .festivalofspells-scroll-header h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin: 0 20px;
    color: var(--accent3);
  }
  
  .festivalofspells-scroll-content {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light);
  }
  
  .festivalofspells-scroll-content p {
    margin-bottom: 25px;
  }
  
  .festivalofspells-scroll-content p:last-child {
    margin-bottom: 0;
  }
  
  .festivalofspells-stats-crystals {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .festivalofspells-crystal {
    position: relative;
    width: 150px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(214, 57, 255, 0.2);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: transform 0.3s ease;
    padding: 20px;
    text-align: center;
  }
  
  .festivalofspells-crystal:hover {
    transform: translateY(-10px);
  }
  
  .festivalofspells-crystal-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--accent2) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 0;
    animation: crystalPulse 3s ease-in-out infinite;
  }
  
  @keyframes crystalPulse {
    0%, 100% { opacity: 0.3; transform: scale(0.95); }
    50% { opacity: 0.5; transform: scale(1); }
  }
  
  .festivalofspells-crystal-number {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent3);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
  }
  
  .festivalofspells-crystal-label {
    font-size: 0.9rem;
    color: var(--light);
    position: relative;
    z-index: 1;
  }
  
  /* ===== Reviews Section ===== */
  .festivalofspells-reviews-section {
    padding: 120px 5%;
    position: relative;
    overflow: hidden;
  }
  
  .festivalofspells-reviews-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
  }
  
  .festivalofspells-review-card {
    position: relative;
    width: 350px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .festivalofspells-review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }
  
  .festivalofspells-review-gem {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 30px;
    height: 30px;
    background: var(--accent2);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    transform: rotate(45deg);
    box-shadow: 0 5px 15px rgba(0, 217, 217, 0.5);
  }
  
  .festivalofspells-review-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--light);
    margin-bottom: 20px;
  }
  
  .festivalofspells-reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .festivalofspells-reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent1);
  }
  
  .festivalofspells-reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .festivalofspells-reviewer-info h4 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    margin: 0 0 5px;
    color: var(--accent3);
  }
  
  .festivalofspells-reviewer-stars {
    color: var(--accent2);
    font-size: 0.8rem;
  }
  
  /* ===== Connect Section ===== */
  .festivalofspells-connect-section {
    padding: 120px 5% 150px;
    background: linear-gradient(to top, var(--dark), var(--primary));
    position: relative;
    overflow: hidden;
  }
  
  .festivalofspells-connect-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    gap: 60px;
  }
  
  .festivalofspells-crystal-ball {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3),
                inset 0 0 30px rgba(0, 217, 217, 0.3);
  }
  
  .festivalofspells-crystal-inner {
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(214, 57, 255, 0.1), rgba(0, 217, 217, 0.1));
    position: relative;
    overflow: hidden;
  }
  
  .festivalofspells-crystal-inner::before,
  .festivalofspells-crystal-inner::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(-45deg);
    animation: crystalShine 10s linear infinite;
  }
  
  .festivalofspells-crystal-inner::after {
    animation-delay: 5s;
  }
  
  @keyframes crystalShine {
    0% { top: -50%; left: -50%; }
    100% { top: 50%; left: 50%; }
  }
  
  .festivalofspells-crystal-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 60px var(--accent1);
    opacity: 0.5;
    animation: crystalGlow 5s ease-in-out infinite alternate;
  }
  
  @keyframes crystalGlow {
    0% { opacity: 0.3; box-shadow: 0 0 60px var(--accent1); }
    100% { opacity: 0.6; box-shadow: 0 0 80px var(--accent2); }
  }
  
  .festivalofspells-connect-content {
    flex: 1;
    max-width: 500px;
  }
  
  .festivalofspells-connect-content h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent3);
  }
  
  .festivalofspells-connect-content p {
    font-size: 1.1rem;
    color: var(--light);
    margin-bottom: 40px;
    line-height: 1.7;
  }
  
  .festivalofspells-magic-form {
    display: flex;
    margin-bottom: 40px;
  }
  
  .festivalofspells-input-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
  }
  
  .festivalofspells-input-wrapper input {
    width: 100%;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(214, 57, 255, 0.3);
    border-radius: 50px 0 0 50px;
    color: var(--light);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
  }
  
  .festivalofspells-input-wrapper input:focus {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .festivalofspells-input-focus {
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 90%;
    height: 2px;
    background: linear-gradient(to right, var(--accent1), var(--accent2));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
  }
  
  .festivalofspells-input-wrapper input:focus ~ .festivalofspells-input-focus {
    transform: scaleX(1);
  }
  
  .festivalofspells-submit-rune {
    padding: 0 30px;
    background: linear-gradient(135deg, var(--accent1), var(--accent2));
    border: none;
    border-radius: 0 50px 50px 0;
    color: var(--dark);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
  }
  
  .festivalofspells-submit-rune:hover {
    box-shadow: 0 5px 15px rgba(214, 57, 255, 0.5);
  }
  
  .festivalofspells-social-circle {
    display: flex;
    gap: 15px;
  }
  
  .festivalofspells-social-rune {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(214, 57, 255, 0.3);
    border-radius: 50%;
    color: var(--light);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .festivalofspells-social-rune:hover {
    background: linear-gradient(135deg, var(--accent1), var(--accent2));
    color: var(--dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(214, 57, 255, 0.4);
  }
  
  /* ===== Footer ===== */
  .festivalofspells-footer {
    padding: 80px 5% 40px;
    background: var(--dark);
    position: relative;
  }
  
  .festivalofspells-footer-runes {
    display: flex;
    justify-content: space-between;
    padding: 0 10%;
    margin-bottom: 60px;
  }
  
  .festivalofspells-footer-rune {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent1), var(--accent2));
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    opacity: 0.3;
    animation: floatRune 5s ease-in-out infinite;
  }
  
  .festivalofspells-footer-rune:nth-child(2) {
    animation-delay: 1s;
  }
  
  .festivalofspells-footer-rune:nth-child(3) {
    animation-delay: 2s;
  }
  
  .festivalofspells-footer-rune:nth-child(4) {
    animation-delay: 3s;
  }
  
  .festivalofspells-footer-rune:nth-child(5) {
    animation-delay: 4s;
  }
  
  @keyframes floatRune {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(45deg); }
  }
  
  .festivalofspells-footer-content {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .festivalofspells-footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
  }
  
  .festivalofspells-footer-column h3 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: var(--accent3);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
  }
  
  .festivalofspells-footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent1);
  }
  
  .festivalofspells-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .festivalofspells-footer-column ul li {
    margin-bottom: 12px;
  }
  
  .festivalofspells-footer-column ul li a {
    color: rgba(242, 242, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 15px;
  }
  
  .festivalofspells-footer-column ul li a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent2);
    opacity: 0.7;
    transition: transform 0.3s ease;
  }
  
  .festivalofspells-footer-column ul li a:hover {
    color: var(--accent2);
  }
  
  .festivalofspells-footer-column ul li a:hover::before {
    transform: translateX(3px);
    opacity: 1;
  }
  
  .festivalofspells-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid rgba(214, 57, 255, 0.2);
  }
  
  .festivalofspells-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: var(--light);
  }
  
  .festivalofspells-footer-logo .festivalofspells-logo-symbol {
    font-size: 1.5rem;
    color: var(--accent3);
  }
  
  .festivalofspells-footer-bottom p {
    color: rgba(242, 242, 255, 0.5);
    font-size: 0.9rem;
  }
  
  /* ===== Responsive Styles ===== */
  @media (max-width: 1200px) {
    .festivalofspells-content-wrapper {
      margin-left: 80px;
    }
    
    .festivalofspells-sidebar {
      width: 80px;
    }
    
    .festivalofspells-connect-container {
      flex-direction: column;
      text-align: center;
    }
    
    .festivalofspells-connect-content {
      max-width: 600px;
    }
  }
  
  @media (max-width: 991px) {
    .festivalofspells-title {
      font-size: 4rem;
    }
    
    .festivalofspells-footer-columns {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .festivalofspells-crystal-ball {
      width: 250px;
      height: 250px;
    }
  }
  
  @media (max-width: 768px) {
    .festivalofspells-content-wrapper {
      margin-left: 0;
    }
    
    .festivalofspells-sidebar {
      width: 100%;
      height: 70px;
      bottom: 0;
      top: auto;
      padding: 0;
      border-right: none;
      border-top: 2px solid rgba(214, 57, 255, 0.4);
    }
    
    .festivalofspells-sidebar::before {
      left: 0;
      top: -10px;
      width: 100%;
      height: 10px;
      background: linear-gradient(to top, rgba(214, 57, 255, 0.4), transparent);
    }
    
    .festivalofspells-sidebar-content {
      flex-direction: row;
    }
    
    .festivalofspells-sidebar-logo {
      display: none;
    }
    
    .festivalofspells-sidebar-nav {
      flex-direction: row;
      justify-content: space-around;
    }
    
    .festivalofspells-sidebar-link {
      flex-direction: column;
      padding: 10px 0;
    }
    
    .festivalofspells-sidebar-link::before {
      right: auto;
      top: 0;
      left: 50%;
      transform: translateX(-50%) scaleX(0);
      width: 60%;
      height: 3px;
    }
    
    .festivalofspells-sidebar-link:hover::before,
    .festivalofspells-sidebar-link.active::before {
      transform: translateX(-50%) scaleX(1);
    }
    
    .festivalofspells-title {
      font-size: 3.5rem;
    }
    
    .festivalofspells-game-hexagon {
      width: 250px;
      height: 220px;
    }
    
    .festivalofspells-footer-bottom {
      flex-direction: column;
      gap: 15px;
      text-align: center;
    }
  }
  
  @media (max-width: 576px) {
    .festivalofspells-title {
      font-size: 2.8rem;
    }
    
    .festivalofspells-magic-form {
      flex-direction: column;
    }
    
    .festivalofspells-input-wrapper input {
      border-radius: 50px;
      text-align: center;
      margin-bottom: 15px;
    }
    
    .festivalofspells-submit-rune {
      border-radius: 50px;
      justify-content: center;
    }
    
    .festivalofspells-footer-columns {
      grid-template-columns: 1fr;
    }
    
    .festivalofspells-crystal-ball {
      width: 200px;
      height: 200px;
    }
  }
  
  /* ===== Animation for page load ===== */
  .festivalofspells-title.appear,
  .festivalofspells-tagline.appear,
  .festivalofspells-crystal-button.appear,
  .festivalofspells-hero-orb.appear {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    transform: translateY(30px);
  }
  
  .festivalofspells-tagline.appear {
    animation-delay: 0.3s;
  }
  
  .festivalofspells-crystal-button.appear {
    animation-delay: 0.6s;
  }
  
  .festivalofspells-hero-orb.appear {
    animation-delay: 0.2s;
  }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .festivalofspells-loaded .festivalofspells-magic-particles::after {
    opacity: 1;
  }
  
  /* ===== Portal effect styles ===== */
  .festivalofspells-portal-effect {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at center, var(--accent1), var(--accent2));
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: 100;
    pointer-events: none;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.6s ease;
  }
  
  .festivalofspells-success-message {
    color: var(--accent3);
    font-size: 1.2rem;
    text-align: center;
    padding: 20px;
    font-family: var(--font-title);
  }
  
  .festivalofspells-magic-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  
  .festivalofspells-sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent3);
    animation: sparkle 2s linear infinite;
  }
  
  @keyframes sparkle {
    0% { transform: scale(0) rotate(0deg); opacity: 0; }
    20% { transform: scale(1) rotate(45deg); opacity: 1; }
    100% { transform: scale(0) rotate(90deg) translate(20px, -20px); opacity: 0; }
  }
  
  .festivalofspells-magic-form.error {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
  }
  
  .festivalofspells-input-wrapper input.error {
    border-color: #ff3860;
  }
  
  @keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
  }
  
  .festivalofspells-magic-particle {
    pointer-events: none;
  }
  
  @keyframes floatParticle {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-100vh) scale(0.5); }
    100% { transform: translateY(-200vh) scale(0); }
  }


  @import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;800&family=Quicksand:wght@300;400;600&display=swap');

:root {
  --primary: #2E034D;
  --secondary: #7A1E93;
  --accent1: #D639FF;
  --accent2: #00D9D9;
  --accent3: #FFE345;
  --dark: #0D0217;
  --light: #F2F2FF;
  --font-title: 'Cinzel', serif;
  --font-body: 'Quicksand', sans-serif;
}

/* ===== Body & Global Styles ===== */
.festivalofspells-body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background-color: var(--dark);
  color: var(--light);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== Preserved Navbar from original code ===== */
.festivalofspells-nav {
  position: fixed;
  top: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  z-index: 9999;
}
.festivalofspells-nav-border {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #5b8cff, #c084fc, #ffe066, #50e3c2, #5b8cff
  );
  animation: spinBorder 5s linear infinite;
  z-index: 1;
}
@keyframes spinBorder {
  to { transform: rotate(360deg); }
}

/* ===== Toggle Button & Halo (Preserved from original) ===== */
.festivalofspells-nav input[type="checkbox"] {
  display: none;
}
.festivalofspells-toggle {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  font-size: 1.5rem;
  box-shadow:
    0 0 15px rgba(91,140,255,0.5),
    0 0 30px rgba(192,132,252,0.4),
    inset 0 0 10px rgba(255,255,255,0.2);
  transition: transform 0.4s ease;
  z-index: 2;
}
.festivalofspells-toggle::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(255,255,255,0.5);
  animation: pulseHalo 2.5s ease-out infinite;
}
@keyframes pulseHalo {
  0%   { box-shadow: 0 0 0 0 rgba(91,140,255,0.4); }
  50%  { box-shadow: 0 0 25px 10px rgba(91,140,255,0.1); }
  100% { box-shadow: 0 0 0 0 rgba(91,140,255,0); }
}
.festivalofspells-nav input:checked + .festivalofspells-toggle {
  transform: rotate(90deg) scale(1.1);
}

/* ===== Menu Container (Preserved from original) ===== */
.festivalofspells-menu {
  position: absolute;
  top: 80px;
  right: 0;
  width: 200px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px) scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 2;
}
.festivalofspells-nav input:checked ~ .festivalofspells-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* ===== Menu Items (Preserved from original) ===== */
.festivalofspells-menu li {
  list-style: none;
}
.festivalofspells-menu li a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 30px;
  color: var(--light);
  font-weight: 600;
  overflow: hidden;
  box-shadow:
    0 4px 15px rgba(46, 3, 77, 0.4),
    0 0 8px rgba(122, 30, 147, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
  animation: none;
  text-decoration: none;
}



/* Additional styles for the About page - Simplified version without images */

/* ===== About Hero Section ===== */
.festivalofspells-about-hero {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    padding-left: 10%;
  }
  
  .festivalofspells-about-hero-content {
    max-width: 650px;
    z-index: 1;
    position: relative;
  }
  
  .festivalofspells-about-title {
    font-family: var(--font-title);
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--light);
    position: relative;
    display: inline-block;
  }
  
  .festivalofspells-about-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 120px;
    height: 3px;
    background: var(--accent3);
  }
  
  .festivalofspells-about-subtitle {
    font-size: 1.3rem;
    max-width: 500px;
    color: rgba(242, 242, 255, 0.8);
    line-height: 1.6;
  }
  
  .about-orb {
    width: 350px;
    height: 350px;
    right: 0;
    background: radial-gradient(circle at center, var(--accent2) 0%, transparent 70%);
    box-shadow: 0 0 100px var(--accent2);
  }
  
  /* ===== About Section ===== */
  .festivalofspells-about-section {
    padding: 100px 8%;
    position: relative;
  }
  
  .festivalofspells-about-section:nth-child(odd) {
    background: linear-gradient(to right, rgba(46, 3, 77, 0.3), rgba(13, 2, 23, 0.1));
  }
  
  .festivalofspells-about-text-container {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(214, 57, 255, 0.2);
    position: relative;
  }
  
  .festivalofspells-about-text-container::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px dashed rgba(255, 227, 69, 0.3);
    border-radius: 15px;
    pointer-events: none;
  }
  
  .festivalofspells-about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light);
    position: relative;
    z-index: 1;
  }
  
  .festivalofspells-about-text p {
    margin-bottom: 25px;
  }
  
  .festivalofspells-about-text p:last-child {
    margin-bottom: 0;
  }
  
  /* ===== Mission Section ===== */
  .festivalofspells-mission-container {
    margin-top: 60px;
  }
  
  .festivalofspells-mission-crystal {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 30px;
    padding: 50px;
    margin-bottom: 60px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(214, 57, 255, 0.2);
  }
  
  .festivalofspells-mission-crystal::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px dashed rgba(255, 227, 69, 0.3);
    border-radius: 20px;
    pointer-events: none;
  }
  
  .festivalofspells-crystal-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, var(--accent2) 0%, transparent 60%);
    opacity: 0.2;
    border-radius: 30px;
    z-index: 0;
    animation: crystalPulse 5s ease-in-out infinite alternate;
  }
  
  @keyframes crystalPulse {
    0% { opacity: 0.1; transform: scale(0.98); }
    100% { opacity: 0.3; transform: scale(1); }
  }
  
  .festivalofspells-mission-content {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light);
  }
  
  .festivalofspells-mission-content p {
    margin-bottom: 25px;
  }
  
  .festivalofspells-mission-content p:last-child {
    margin-bottom: 0;
  }
  
  .festivalofspells-values {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
  }
  
  .festivalofspells-value-item {
    background: linear-gradient(135deg, rgba(46, 3, 77, 0.4), rgba(122, 30, 147, 0.2));
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid rgba(214, 57, 255, 0.1);
  }
  
  .festivalofspells-value-item:hover {
    transform: translateY(-10px);
    border-color: rgba(214, 57, 255, 0.3);
  }
  
  .festivalofspells-value-item i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent2);
    background: linear-gradient(to right, var(--accent1), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .festivalofspells-value-item h3 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--accent3);
  }
  
  .festivalofspells-value-item p {
    font-size: 0.95rem;
    color: var(--light);
    line-height: 1.6;
  }
  
  /* ===== Responsive Styles ===== */
  @media (max-width: 1024px) {
    .festivalofspells-about-title {
      font-size: 3.5rem;
    }
  }
  
  @media (max-width: 768px) {
    .festivalofspells-about-hero {
      padding-left: 5%;
    }
    
    .festivalofspells-about-title {
      font-size: 3rem;
    }
    
    .festivalofspells-about-section {
      padding: 80px 5%;
    }
    
    .festivalofspells-mission-crystal {
      padding: 30px;
    }
  }
  
  @media (max-width: 576px) {
    .festivalofspells-about-title {
      font-size: 2.5rem;
    }
    
    .festivalofspells-about-subtitle {
      font-size: 1.1rem;
    }
    
    .festivalofspells-values {
      grid-template-columns: 1fr;
    }
  }


  /* Simple CSS styles for Contact page */

/* ===== Contact Header ===== */
.festivalofspells-contact-header {
    padding: 120px 5% 60px;
    text-align: center;
  }
  
  .festivalofspells-contact-title {
    font-family: var(--font-title);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--light);
    background: linear-gradient(to right, var(--accent1), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .festivalofspells-contact-subtitle {
    font-size: 1.2rem;
    color: rgba(242, 242, 255, 0.8);
    margin-bottom: 50px;
  }
  
  /* ===== Contact Section ===== */
  .festivalofspells-contact-section {
    padding: 0 5% 100px;
  }
  
  .festivalofspells-contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(214, 57, 255, 0.2);
  }
  
  /* Contact Info */
  .festivalofspells-contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  
  .festivalofspells-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
  }
  
  .festivalofspells-info-item i {
    font-size: 1.5rem;
    color: var(--accent2);
    margin-top: 5px;
  }
  
  .festivalofspells-info-item h3 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    margin: 0 0 5px;
    color: var(--accent3);
  }
  
  .festivalofspells-info-item p {
    color: var(--light);
    margin: 0;
  }
  
  .festivalofspells-social-connections {
    margin-top: 20px;
  }
  
  .festivalofspells-social-connections h3 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    margin: 0 0 15px;
    color: var(--accent3);
  }
  
  .festivalofspells-social-links {
    display: flex;
    gap: 15px;
  }
  
  .festivalofspells-social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(214, 57, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
  }
  
  .festivalofspells-social-links a:hover {
    background: linear-gradient(135deg, var(--accent1), var(--accent2));
    color: var(--dark);
    transform: translateY(-5px);
  }
  
  /* Contact Form */
  .festivalofspells-contact-form-container {
    position: relative;
  }
  
  .festivalofspells-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .festivalofspells-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .festivalofspells-form-group label {
    color: var(--light);
    font-size: 0.9rem;
    opacity: 0.9;
  }
  
  .festivalofspells-form-group input,
  .festivalofspells-form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(214, 57, 255, 0.3);
    border-radius: 10px;
    padding: 12px 15px;
    color: var(--light);
    font-family: var(--font-body);
    resize: none;
    transition: all 0.3s ease;
  }
  
  .festivalofspells-form-group input:focus,
  .festivalofspells-form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent2);
    box-shadow: 0 0 10px rgba(0, 217, 217, 0.3);
  }
  
  .festivalofspells-submit-button {
    background: linear-gradient(135deg, var(--accent1), var(--accent2));
    border: none;
    border-radius: 50px;
    color: var(--dark);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 10px;
  }
  
  .festivalofspells-submit-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(214, 57, 255, 0.3);
  }
  
  .festivalofspells-submit-button i {
    transition: transform 0.3s ease;
  }
  
  .festivalofspells-submit-button:hover i {
    transform: translateX(5px);
  }
  
  /* Form Glow Effect */
  .festivalofspells-contact-form-container::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle at center, var(--accent2) 0%, transparent 70%);
    opacity: 0.2;
    z-index: -1;
    pointer-events: none;
  }
  
  .festivalofspells-contact-form-container::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at center, var(--accent1) 0%, transparent 70%);
    opacity: 0.2;
    z-index: -1;
    pointer-events: none;
  }
  
  /* ===== Responsive Styles ===== */
  @media (max-width: 991px) {
    .festivalofspells-contact-container {
      grid-template-columns: 1fr;
    }
    
    .festivalofspells-contact-info {
      order: 2;
    }
    
    .festivalofspells-contact-form-container {
      order: 1;
      margin-bottom: 30px;
    }
  }
  
  @media (max-width: 768px) {
    .festivalofspells-contact-title {
      font-size: 2.8rem;
    }
    
    .festivalofspells-contact-container {
      padding: 30px;
    }
  }
  
  @media (max-width: 576px) {
    .festivalofspells-contact-title {
      font-size: 2.2rem;
    }
    
    .festivalofspells-contact-header {
      padding: 100px 5% 40px;
    }
    
    .festivalofspells-contact-container {
      padding: 20px;
    }
    
    .festivalofspells-submit-button {
      width: 100%;
    }
  }


  /* CSS for Legal Pages - Festival of Spells */

/* ===== Legal Header ===== */
.festivalofspells-legal-header {
    padding: 120px 5% 30px;
    text-align: center;
    position: relative;
  }
  
  .festivalofspells-legal-title {
    font-family: var(--font-title);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--light);
    background: linear-gradient(to right, var(--accent1), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .festivalofspells-legal-updated {
    font-size: 1rem;
    color: rgba(242, 242, 255, 0.6);
    margin-bottom: 20px;
  }
  
  .festivalofspells-legal-subtitle {
    font-size: 1.2rem;
    color: rgba(242, 242, 255, 0.8);
    margin-bottom: 50px;
  }
  
  /* ===== Legal Navigation ===== */
  .festivalofspells-legal-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 0 5%;
  }
  
  .festivalofspells-legal-nav-item {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(214, 57, 255, 0.2);
    font-size: 0.9rem;
  }
  
  .festivalofspells-legal-nav-item:hover {
    background: rgba(214, 57, 255, 0.1);
    transform: translateY(-3px);
  }
  
  .festivalofspells-legal-nav-item.active {
    background: linear-gradient(135deg, rgba(214, 57, 255, 0.3), rgba(0, 217, 217, 0.3));
    border-color: rgba(214, 57, 255, 0.4);
    box-shadow: 0 5px 15px rgba(214, 57, 255, 0.2);
  }
  
  /* ===== Legal Content ===== */
  .festivalofspells-legal-content {
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 0 5%;
  }
  
  .festivalofspells-legal-section {
    margin-bottom: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(214, 57, 255, 0.1);
  }
  
  .festivalofspells-legal-section h2 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent3);
    position: relative;
    display: inline-block;
  }
  
  .festivalofspells-legal-section h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent1);
  }
  
  .festivalofspells-legal-section h3 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    margin: 25px 0 15px;
    color: var(--accent2);
  }
  
  .festivalofspells-legal-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--light);
    margin-bottom: 15px;
  }
  
  .festivalofspells-legal-section p:last-child {
    margin-bottom: 0;
  }
  
  .festivalofspells-legal-section ul, 
  .festivalofspells-legal-section ol {
    padding-left: 25px;
    margin-bottom: 15px;
  }
  
  .festivalofspells-legal-section li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--light);
    margin-bottom: 8px;
  }
  
  .festivalofspells-legal-section li:last-child {
    margin-bottom: 0;
  }
  
  .festivalofspells-contact-info {
    list-style: none;
    padding-left: 0;
  }
  
  .festivalofspells-contact-info li {
    position: relative;
    padding: 8px 0;
    border-bottom: 1px solid rgba(214, 57, 255, 0.1);
  }
  
  .festivalofspells-contact-info li:last-child {
    border-bottom: none;
  }
  
  .festivalofspells-contact-info li strong {
    color: var(--accent2);
    margin-right: 10px;
    font-weight: 600;
  }
  
  /* ===== Opt-Out Page Specific ===== */
  .festivalofspells-opt-out-card {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px dashed rgba(214, 57, 255, 0.2);
  }
  
  .festivalofspells-opt-out-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent1), var(--accent2));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 1.5rem;
  }
  
  .festivalofspells-opt-out-content {
    flex: 1;
  }
  
  .festivalofspells-opt-out-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
  }
  
  .festivalofspells-opt-out-form {
    margin-top: 20px;
  }
  
  .festivalofspells-form-group {
    margin-bottom: 15px;
  }
  
  .festivalofspells-form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--light);
    font-size: 0.9rem;
  }
  
  .festivalofspells-form-group input,
  .festivalofspells-form-group select {
    width: 100%;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(214, 57, 255, 0.3);
    border-radius: 8px;
    color: var(--light);
    font-family: var(--font-body);
    font-size: 0.95rem;
  }
  
  .festivalofspells-form-group input:focus,
  .festivalofspells-form-group select:focus {
    outline: none;
    border-color: var(--accent2);
    box-shadow: 0 0 10px rgba(0, 217, 217, 0.2);
  }
  
  .festivalofspells-opt-out-button {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--accent1), var(--accent2));
    border: none;
    border-radius: 30px;
    color: var(--dark);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
  }
  
  .festivalofspells-opt-out-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(214, 57, 255, 0.3);
  }
  
  .festivalofspells-opt-out-button i {
    font-size: 0.9rem;
  }
  
  /* Cookie Preferences */
  .festivalofspells-cookie-preferences {
    margin-top: 20px;
  }
  
  .festivalofspells-cookie-option {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(214, 57, 255, 0.1);
  }
  
  .festivalofspells-cookie-option:last-child {
    border-bottom: none;
  }
  
  .festivalofspells-cookie-switch {
    position: relative;
    width: 40px;
    height: 22px;
  }
  
  .festivalofspells-cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .festivalofspells-cookie-switch label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 34px;
  }
  
  .festivalofspells-cookie-switch label:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: var(--light);
    transition: .4s;
    border-radius: 50%;
  }
  
  .festivalofspells-cookie-switch input:checked + label {
    background-color: var(--accent2);
  }
  
  .festivalofspells-cookie-switch input:checked + label:before {
    transform: translateX(18px);
  }
  
  .festivalofspells-cookie-switch input:disabled + label {
    opacity: 0.5;
    cursor: not-allowed;
  }
  
  .festivalofspells-cookie-info {
    flex: 1;
  }
  
  .festivalofspells-cookie-info h4 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    margin: 0 0 5px;
    color: var(--light);
  }
  
  .festivalofspells-cookie-info p {
    font-size: 0.9rem;
    color: rgba(242, 242, 255, 0.7);
    margin: 0;
  }
  
  .festivalofspells-cookie-save {
    margin-top: 10px;
    padding: 8px 20px;
    background: var(--accent2);
    border: none;
    border-radius: 20px;
    color: var(--dark);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .festivalofspells-cookie-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 217, 217, 0.3);
  }
  
  /* ===== Responsible Gaming Page Specific ===== */
  .festivalofspells-tool-card {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(214, 57, 255, 0.1);
    transition: transform 0.3s ease;
  }
  
  .festivalofspells-tool-card:hover {
    transform: translateY(-5px);
    border-color: rgba(214, 57, 255, 0.3);
  }
  
  .festivalofspells-tool-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent1), var(--secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.5rem;
  }
  
  .festivalofspells-tool-content {
    flex: 1;
  }
  
  .festivalofspells-tool-content h3 {
    margin-top: 0;
  }
  
  .festivalofspells-support-orgs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
  }
  
  .festivalofspells-support-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(214, 57, 255, 0.1);
    transition: transform 0.3s ease;
  }
  
  .festivalofspells-support-card:hover {
    transform: translateY(-5px);
    border-color: rgba(214, 57, 255, 0.2);
  }
  
  .festivalofspells-support-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
  }
  
  .festivalofspells-support-card a {
    color: var(--accent2);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
  }
  
  .festivalofspells-support-card a:hover {
    color: var(--accent1);
    text-decoration: underline;
  }
  
  .festivalofspells-support-card ul {
    padding-left: 0;
    list-style: none;
  }
  
  .festivalofspells-support-card li {
    margin-bottom: 10px;
  }
  
  .festivalofspells-support-card li:last-child {
    margin-bottom: 0;
  }
  
  /* ===== Responsive Styles ===== */
  @media (max-width: 991px) {
    .festivalofspells-legal-title {
      font-size: 3rem;
    }
    
    .festivalofspells-opt-out-card,
    .festivalofspells-tool-card {
      flex-direction: column;
    }
    
    .festivalofspells-opt-out-icon,
    .festivalofspells-tool-icon {
      margin-bottom: 15px;
    }
  }
  
  @media (max-width: 768px) {
    .festivalofspells-legal-title {
      font-size: 2.5rem;
    }
    
    .festivalofspells-legal-section h2 {
      font-size: 1.6rem;
    }
    
    .festivalofspells-legal-section h3 {
      font-size: 1.2rem;
    }
    
    .festivalofspells-legal-section {
      padding: 20px;
    }
  }
  
  @media (max-width: 576px) {
    .festivalofspells-legal-title {
      font-size: 2.2rem;
    }
    
    .festivalofspells-legal-header {
      padding: 100px 5% 30px;
    }
    
    .festivalofspells-legal-nav {
      flex-direction: column;
      gap: 10px;
    }
    
    .festivalofspells-legal-nav-item {
      text-align: center;
    }
    
    .festivalofspells-support-orgs {
      grid-template-columns: 1fr;
    }
  }


  /* Age Verification Pop-up Styles */

.festivalofspells-age-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 2, 23, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: agePopupFadeIn 0.8s ease forwards;
    overflow: hidden;
  }
  
  @keyframes agePopupFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  .festivalofspells-age-container {
    display: flex;
    max-width: 900px;
    width: 90%;
    background: linear-gradient(135deg, rgba(46, 3, 77, 0.8), rgba(13, 2, 23, 0.8));
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
      0 20px 50px rgba(0, 0, 0, 0.5),
      0 0 80px rgba(214, 57, 255, 0.3),
      inset 0 0 30px rgba(0, 217, 217, 0.2);
    border: 1px solid rgba(214, 57, 255, 0.3);
    position: relative;
    animation: ageContainerReveal 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
  }
  
  @keyframes ageContainerReveal {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
  }
  
  /* Magical Circle Area */
  .festivalofspells-age-magical-circle {
    flex: 0 0 40%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
  }
  
  .festivalofspells-age-circle-inner {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid rgba(255, 227, 69, 0.5);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotateCircle 20s linear infinite;
  }
  
  @keyframes rotateCircle {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  .festivalofspells-age-runes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
  
  .festivalofspells-age-rune {
    position: absolute;
    color: var(--accent3);
    font-size: 1.5rem;
    animation: runeGlow 3s ease-in-out infinite alternate;
  }
  
  .festivalofspells-age-rune:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .festivalofspells-age-rune:nth-child(2) {
    top: 25%;
    right: 0;
    transform: translateY(-50%);
  }
  
  .festivalofspells-age-rune:nth-child(3) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .festivalofspells-age-rune:nth-child(4) {
    top: 25%;
    left: 0;
    transform: translateY(-50%);
  }
  
  .festivalofspells-age-rune:nth-child(5) {
    top: 75%;
    right: 0;
    transform: translateY(-50%);
  }
  
  .festivalofspells-age-rune:nth-child(6) {
    top: 75%;
    left: 0;
    transform: translateY(-50%);
  }
  
  @keyframes runeGlow {
    0% { opacity: 0.5; text-shadow: 0 0 5px var(--accent3); }
    100% { opacity: 1; text-shadow: 0 0 15px var(--accent3), 0 0 30px var(--accent3); }
  }
  
  .festivalofspells-age-orb {
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--accent1) 0%, transparent 70%);
    box-shadow: 0 0 40px var(--accent1);
    animation: orbPulse 5s ease-in-out infinite alternate;
    position: relative;
  }
  
  @keyframes orbPulse {
    0% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 30px var(--accent1); }
    100% { transform: scale(1.1); opacity: 0.9; box-shadow: 0 0 60px var(--accent1), 0 0 100px var(--accent2); }
  }
  
  .festivalofspells-age-orb::before,
  .festivalofspells-age-orb::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(-45deg);
    animation: orbShine 8s linear infinite;
  }
  
  .festivalofspells-age-orb::after {
    animation-delay: 4s;
  }
  
  @keyframes orbShine {
    0% { transform: rotate(-45deg) translateX(-100%); }
    100% { transform: rotate(-45deg) translateX(100%); }
  }
  
  /* Content Area */
  .festivalofspells-age-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .festivalofspells-age-title {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 15px;
    color: var(--light);
    background: linear-gradient(to right, var(--accent3), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleReveal 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
  }
  
  @keyframes titleReveal {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  
  .festivalofspells-age-subtitle {
    font-size: 1.1rem;
    color: var(--light);
    margin: 0 0 30px;
    line-height: 1.6;
    animation: subtitleReveal 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;
    opacity: 0;
    transform: translateY(20px);
  }
  
  @keyframes subtitleReveal {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  
  .festivalofspells-age-question {
    margin-bottom: 30px;
    animation: questionReveal 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards;
    opacity: 0;
    transform: translateY(20px);
  }
  
  @keyframes questionReveal {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  
  .festivalofspells-age-question p {
    font-size: 1.3rem;
    color: var(--light);
    margin: 0 0 20px;
    font-weight: 600;
  }
  
  .festivalofspells-age-actions {
    display: flex;
    gap: 15px;
  }
  
  .festivalofspells-age-button {
    position: relative;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
  }
  
  .festivalofspells-age-button-text {
    position: relative;
    z-index: 2;
    display: block;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
  }
  
  .festivalofspells-age-button-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 50px;
    transition: all 0.3s ease;
    opacity: 0.9;
  }
  
  .festivalofspells-age-button.yes .festivalofspells-age-button-text {
    color: var(--dark);
    background: var(--accent2);
    border: 1px solid rgba(0, 217, 217, 0.3);
  }
  
  .festivalofspells-age-button.yes .festivalofspells-age-button-glow {
    box-shadow: 0 0 20px var(--accent2);
    background: var(--accent2);
    opacity: 0;
  }
  
  .festivalofspells-age-button.no .festivalofspells-age-button-text {
    color: var(--light);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .festivalofspells-age-button.no .festivalofspells-age-button-glow {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
  }
  
  .festivalofspells-age-button:hover .festivalofspells-age-button-text {
    transform: translateY(-3px);
  }
  
  .festivalofspells-age-button:hover .festivalofspells-age-button-glow {
    opacity: 0.5;
  }
  
  .festivalofspells-age-notice {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(214, 57, 255, 0.2);
    animation: noticeReveal 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.6s forwards;
    opacity: 0;
    transform: translateY(20px);
  }
  
  @keyframes noticeReveal {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  
  .festivalofspells-age-notice-icon {
    color: var(--accent3);
    font-size: 1.5rem;
    flex-shrink: 0;
  }
  
  .festivalofspells-age-notice p {
    font-size: 0.9rem;
    color: rgba(242, 242, 255, 0.7);
    margin: 0;
    line-height: 1.5;
  }
  
  .festivalofspells-age-notice a {
    color: var(--accent2);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .festivalofspells-age-notice a:hover {
    color: var(--accent3);
    text-decoration: underline;
  }
  
  /* Closing Animation */
  .festivalofspells-age-popup.closing {
    animation: agePopupFadeOut 0.5s ease forwards;
  }
  
  @keyframes agePopupFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
  }
  
  /* Responsive Styles */
  @media (max-width: 991px) {
    .festivalofspells-age-container {
      flex-direction: column;
      max-width: 500px;
    }
    
    .festivalofspells-age-magical-circle {
      padding: 30px;
    }
    
    .festivalofspells-age-circle-inner {
      max-width: 200px;
    }
    
    .festivalofspells-age-title {
      font-size: 2.5rem;
    }
  }
  
  @media (max-width: 576px) {
    .festivalofspells-age-content {
      padding: 30px 20px;
    }
    
    .festivalofspells-age-title {
      font-size: 2rem;
    }
    
    .festivalofspells-age-actions {
      flex-direction: column;
    }
    
    .festivalofspells-age-button {
      width: 100%;
    }
    
    .festivalofspells-age-magical-circle {
      padding: 20px;
    }
  }