/* Base Styles and Variables */
:root {
  --color-primary:  #FF007F;         /* Neon Mint */
  --color-secondary: #00FFC6;       /* Neon Pink */
  --color-background: #0A0A0A;      /* Rich Black */
  --color-card-bg: #1A1A2E;         /* Deep Space Blue */
  --color-text: #F0F8FF;            /* Alice Blue (for better contrast) */
  --color-text-dark: #0A0A0A;       /* Reinforced background tone */
  --color-accent: #8A2BE2;          /* Electric Blue-Violet */
  --color-error: #FF3131;           /* Vivid Red */
  --color-success: #39FF14;         /* Bright Neon Green */

  --font-primary: 'Bungee', cursive;
  --font-secondary: 'Koulen', cursive;
  --font-body: 'Inter', sans-serif;

  --border-radius: 50%;
  --border-radius-small: 1rem;
  --transition-speed: 0.3s;

  --shadow-glow-primary: 0 0 15px rgba(0, 255, 198, 0.6);
  --shadow-glow-secondary: 0 0 15px rgba(255, 0, 127, 0.6);
}

/* Reset & Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

a:hover {
  color: var(--color-secondary);
}

button {
  cursor: pointer;
  font-family: var(--font-primary);
  transition: all var(--transition-speed) ease;
}

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

/* Header */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

#header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo img {
  height: 3rem;
  margin-right: 0.5rem;
}

.logo span {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  color: var(--color-primary);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  font-family: var(--font-secondary);
  color: var(--color-text);
  font-size: 1.1rem;
  position: relative;
  padding: 0.5rem;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--color-primary);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: width var(--transition-speed) ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
}

.mobile-menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--color-text);
  border-radius: 3px;
  transition: all var(--transition-speed) ease;
}

/* Common Section Styles */
section {
  padding: 6rem 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-primary);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Buttons */
.cta-button, .play-button, .submit-button, .control-btn, .back-btn, .close-button {
  background-color: var(--color-secondary);
  color: var(--color-text-dark);
  font-family: var(--font-secondary);
  font-size: 1.2rem;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: var(--border-radius-small);
  position: relative;
  overflow: hidden;
  display: inline-block;
  text-align: center;
  transition: all var(--transition-speed) ease;
  z-index: 1;
}

.cta-button:hover, .play-button:hover, .submit-button:hover, 
.control-btn:hover, .back-btn:hover, .close-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(50, 205, 50, 0.7);
}

.cta-button .btn-glow, .submit-button .btn-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.5) 0%, transparent 70%);
  transform: rotate(0deg);
  z-index: -1;
  opacity: 0;
  transition: all var(--transition-speed) ease;
}

.cta-button:hover .btn-glow, .submit-button:hover .btn-glow {
  opacity: 1;
  transform: rotate(180deg);
}

/* Footer */
#footer {
  background-color: rgba(17, 17, 17, 0.95);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 2.5rem;
  margin-right: 0.5rem;
}

.footer-logo span {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  color: var(--color-primary);
}

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

.footer-links a {
  color: var(--color-text);
  font-family: var(--font-secondary);
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: width var(--transition-speed) ease;
}

.footer-links a:hover::after,
.footer-links a.active::after {
  width: 100%;
}

#scroll-top {
  position: absolute;
  right: 2rem;
  bottom: 3rem;
  background-color: var(--color-card-bg);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  transition: all var(--transition-speed) ease;
}

#scroll-top.show {
  opacity: 1;
}

#scroll-top:hover {
  background-color: var(--color-primary);
  transform: translateY(-5px);
}

#scroll-top:hover svg path {
  fill: var(--color-text-dark);
}

.copyright {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(250, 250, 210, 0.7);
  margin-top: 2rem;
}

/* Disclaimer */
.disclaimer {
  padding: 3rem 0;
  background-color: rgba(26, 26, 26, 0.5);
}

.disclaimer-box {
  border: 2px solid var(--color-primary);
  border-radius: var(--border-radius-small);
  padding: 2rem;
  text-align: center;
  background-color: rgba(26, 26, 26, 0.7);
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.disclaimer-box h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.disclaimer-box p {
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  nav ul li {
    margin-left: 1.5rem;
  }
  
  nav ul li a {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  #header .container {
    padding: 0 1rem;
  }
  
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(17, 17, 17, 0.95);
    flex-direction: column;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  }
  
  nav.active ul {
    display: flex;
  }
  
  nav ul li {
    margin: 0;
  }
  
  nav ul li a {
    display: block;
    padding: 1rem;
    text-align: center;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .disclaimer-box {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  section {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .logo img {
    height: 2.5rem;
  }
  
  .logo span {
    font-size: 1.2rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  #scroll-top {
    right: 1rem;
    bottom: 2rem;
    width: 40px;
    height: 40px;
  }
  
  .disclaimer-box {
    padding: 1rem;
  }
  
  .disclaimer-box h3 {
    font-size: 1.2rem;
  }
  
  .disclaimer-box p {
    font-size: 1rem;
  }
}