/* Base styles for Norlitha Gaming Website */

/* Reset and base styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  /* Color Variables */
  --color-dark-purple: #2A0A29;
  --color-purple: #3D0E40;
  --color-deep-purple: #501253;
  --color-bright-purple: #8A1C7C;
  --color-neon-pink: #FC2BE1;
  --color-lava-red: #D8315B;
  --color-fire-orange: #FF6B35;
  --color-ember-yellow: #FFB563;
  --color-dark: #120309;
  --color-light: #F7F7FF;
  
  /* Typography */
  --font-heading: 'Cinzel', serif;
  --font-body: 'Montserrat', sans-serif;
  
  /* Scroll Behavior */
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-light);
  background-color: var(--color-dark-purple);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

.lava-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 120%, var(--color-dark-purple) 0%, var(--color-dark) 80%);
  opacity: 0.8;
  z-index: -1;
  overflow: hidden;
}

.lava-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E");
  opacity: 0.2;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: 3rem;
  letter-spacing: 0.1em;
}

h2 {
  font-size: 2.5rem;
  position: relative;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: rgba(247, 247, 255, 0.9);
}

a {
  text-decoration: none;
  color: var(--color-light);
  transition: all 0.3s ease;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Sections */
section {
  padding: 5rem 0;
  scroll-margin-top: 5rem;
}

/* Utilities */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-divider {
  height: 4px;
  width: 80px;
  margin: 1.5rem auto;
  background: linear-gradient(90deg, 
                             rgba(252, 43, 225, 0), 
                             rgba(252, 43, 225, 1), 
                             rgba(252, 43, 225, 0));
  border-radius: 4px;
}

.highlight {
  color: var(--color-neon-pink);
  font-weight: 600;
}

.glow-text {
  text-shadow: 0 0 10px var(--color-neon-pink),
               0 0 20px var(--color-neon-pink),
               0 0 30px var(--color-neon-pink),
               0 0 40px rgba(252, 43, 225, 0.5);
}

/* Media Queries */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .container {
    padding: 0 1rem;
  }
}