:root {
  --primary-dark: #0a0a1a;
  --secondary-dark: #1a1a2e;
  --accent-purple: #7c3aed;
  --accent-blue: #3b82f6;
  --accent-gold: #f59e0b;
  --text-light: #e5e7eb;
  --text-muted: #9ca3af;
  --glow-color: #a855f7;
  --success-color: #10b981;
  --card-bg: rgba(26, 26, 46, 0.8);
  --glass-bg: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--primary-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
/* Logo Link Reset */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.logo-text {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 600;
  color: #ffd700;
  margin-right: 0.3rem;
  animation: slideInLeft 1s ease-out both;
}

.logo-symbol {
  font-size: 1.5rem;
  color: #ffd700;
  animation: fadeInGlow 2s ease-in both;
}

/* Hover Glow */
.logo:hover {
  transform: scale(1.05) rotate(-1deg);
}

.logo:hover .logo-text,
.logo:hover .logo-symbol {
  text-shadow: 0 0 8px #ffd700aa, 0 0 15px #ffda44cc;
}

/* Animations */
@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeInGlow {
  0% {
    opacity: 0;
    text-shadow: none;
  }
  100% {
    opacity: 1;
    text-shadow: 0 0 10px #ffd700aa, 0 0 20px #ffd70077;
  }
}



.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(45deg, var(--accent-purple), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-symbol {
  font-size: 1.5rem;
  color: var(--accent-gold);
  animation: float 3s ease-in-out infinite;
}

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

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--accent-purple);
  text-shadow: 0 0 10px var(--glow-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, var(--accent-purple), var(--accent-gold));
  transition: width 0.3s ease;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6)),
    url('/assets/9baaacd50aed3979a57bb4a70b5d0aad.jpg');
  background-size: cover;
  background-attachment: fixed;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 50%, #2d1b69 100%);
  z-index: -1;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="glow" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:%23a855f7;stop-opacity:0.3"/><stop offset="100%" style="stop-color:%23a855f7;stop-opacity:0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23glow)"/><circle cx="800" cy="300" r="150" fill="url(%23glow)"/><circle cx="400" cy="700" r="120" fill="url(%23glow)"/></svg>');
  animation: float 8s ease-in-out infinite;
}

.magical-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="1" fill="%23f59e0b" opacity="0.8"><animate attributeName="opacity" values="0.8;0.3;0.8" dur="3s" repeatCount="indefinite"/></circle><circle cx="75" cy="40" r="0.5" fill="%237c3aed" opacity="0.6"><animate attributeName="opacity" values="0.6;0.2;0.6" dur="4s" repeatCount="indefinite"/></circle><circle cx="50" cy="80" r="1.5" fill="%233b82f6" opacity="0.7"><animate attributeName="opacity" values="0.7;0.3;0.7" dur="2.5s" repeatCount="indefinite"/></circle></svg>');
  animation: drift 20s linear infinite;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  z-index: 1;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, var(--text-light), var(--accent-gold), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, var(--accent-purple), var(--accent-blue));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.button-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.cta-button:hover .button-glow {
  left: 100%;
}

/* Section Styles */
.section-title {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(45deg, var(--accent-purple), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Origin Section */
.origin {
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
}

.origin-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.origin-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.origin-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mystical-orb {
  width: 200px;
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-core {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, var(--accent-purple), var(--accent-blue));
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 50px var(--glow-color);
}

.orb-rings {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  animation: rotate 10s linear infinite;
}

.orb-rings::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 1px solid var(--accent-purple);
  border-radius: 50%;
  animation: rotate 15s linear infinite reverse;
}

/* Wrapper for positioning and subtle glow effects */
.mystic-image-wrapper {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.1);
  animation: fadeUp 1.5s ease-in-out both;
}

/* Image itself */
.mystic-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.5rem;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  animation: zoomInSoft 1.2s ease-out both;
}

/* Hover effect */
.mystic-image:hover {
  transform: scale(1.03) rotateZ(1deg);
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.25);
}

/* Animation Keyframes */
@keyframes zoomInSoft {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

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


/* Powers Section */
.powers {
  padding: 8rem 0;
  background: var(--primary-dark);
}

.powers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.power-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(124, 58, 237, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.power-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(124, 58, 237, 0.3);
  border-color: var(--accent-purple);
}

.power-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  padding: 1rem;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.2);
  animation: float 3s ease-in-out infinite;
}

.power-icon.fire { animation-delay: 0s; }
.power-icon.water { animation-delay: 0.5s; }
.power-icon.earth { animation-delay: 1s; }
.power-icon.air { animation-delay: 1.5s; }

.power-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--accent-gold);
}

.power-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Trials Section */
.trials {
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.game-card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(124, 58, 237, 0.3);
  border-color: var(--accent-purple);
}

.game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover .game-image {
  transform: scale(1.05);
}

.game-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  margin: 1.5rem 1.5rem 1rem;
  color: var(--accent-gold);
}

.game-description {
  color: var(--text-muted);
  margin: 0 1.5rem 1.5rem;
  line-height: 1.6;
}

.game-button {
  display: block;
  background: linear-gradient(45deg, var(--accent-purple), var(--accent-blue));
  color: white;
  text-decoration: none;
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 1.5rem;
  border-radius: 8px;
}

.game-button:hover {
  background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
  box-shadow: 0 5px 20px rgba(124, 58, 237, 0.4);
}

/* Conclave Section */
.conclave {
  padding: 8rem 0;
  background: var(--primary-dark);
  text-align: center;
}

.conclave-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.community-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
  text-align: center;
}

.contact-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.contact-label {
  color: var(--accent-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.contact-value {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Disclaimer Section */
.disclaimer {
  padding: 4rem 0;
  background: var(--primary-dark);
}

.decree-scroll {
  background: var(--card-bg);
  border: 2px solid var(--accent-gold);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  position: relative;
}

.decree-scroll::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(45deg, var(--accent-purple), var(--accent-gold));
  border-radius: 15px;
  z-index: -1;
  opacity: 0.3;
}

.decree-title {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.decree-text {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: var(--secondary-dark);
  padding: 2rem 0;
  border-top: 1px solid rgba(124, 58, 237, 0.3);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--accent-purple);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes drift {
  0% { transform: translateX(-100px); }
  100% { transform: translateX(calc(100vw + 100px)); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: var(--secondary-dark);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .origin-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .powers-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .nav-container {
    padding: 1rem;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 15px;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, var(--accent-purple), var(--accent-gold));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, var(--accent-gold), var(--accent-purple));
}

.contact {
  padding: 5rem 0;
  background: linear-gradient(to right top, #1a1a2e, #16213e);
  color: #fff;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 10%, transparent 11%);
  background-size: 50px 50px;
  animation: shimmer 40s linear infinite;
  top: -100%;
  left: -100%;
  z-index: 0;
  pointer-events: none;
}

@keyframes shimmer {
  0% { transform: translate(0, 0); }
  100% { transform: translate(100px, 100px); }
}

.contact .container {
  position: relative;
  z-index: 1;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #ffd700;
}

.contact-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: #ccc;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  animation: fadeInUp 1s ease-in-out both;
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #fff;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #444;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ffd700;
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px #ffd70088;
}

.cta-button {
  position: relative;
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: #ffd700;
  color: #1a1a2e;
  font-weight: bold;
  border: none;
  border-radius: 2rem;
  font-size: 1rem;
  cursor: pointer;
  overflow: hidden;
  transition:
}


/* PRIVACY POLICY SECTION */
.privacy-policy {
  padding: 5rem 2rem;
  background: linear-gradient(145deg, #1a1a2e, #0f0f20);
  color: #e0e0e0;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
  animation: fadeIn 1.5s ease-in-out;
}

.privacy-policy::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 215, 0, 0.05), transparent 70%);
  animation: rotateGlow 60s linear infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.policy-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
  backdrop-filter: blur(6px);
  animation: fadeUp 1.3s ease forwards;
  opacity: 0;
}

.policy-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #dcdcdc;
  transition: all 0.3s ease;
}

.policy-content p:hover {
  color: #fff;
  transform: translateX(5px);
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: 2.7rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: #ffd700;
  animation: glowText 2s ease-in-out infinite alternate;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

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

@keyframes glowText {
  from { text-shadow: 0 0 10px #ffd70033, 0 0 20px #ffd70044; }
  to { text-shadow: 0 0 20px #ffd70088, 0 0 40px #ffd700aa; }
}
