/* CSS Custom Properties - Simple Halloween Color Palette */
:root {
  --void-black: #000000;
  --dark-gray: #1a1a1a;
  --blood-red: #8b0000;
  --bright-red: #ff0000;
  --ghost-white: #ffffff;
  --light-gray: #f5f5f5;
  --shadow-gray: #333333;
  
  /* Typography */
  --font-horror: 'Creepster', cursive;
  --font-body: 'Inter', 'Roboto', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-display: 'Orbitron', 'Exo 2', sans-serif;
  
  /* Spacing */
  --container-padding: 2rem;
  --section-spacing: 4rem;
  --element-spacing: 1.5rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--void-black);
  color: var(--ghost-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Three.js Canvas */
#three-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
  opacity: 0.7;
}

/* Additional Background Layer - Removed for Three.js */
.main-content::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: -2;
  pointer-events: none;
}

/* Spider Web Background - Disabled for Three.js */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: -2;
  pointer-events: none;
}

/* Animated Spider Web Pattern - Disabled for Three.js */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: -1;
  pointer-events: none;
}

/* Enhanced spider web visibility - Disabled for Three.js */
.games-section::before,
.registration-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  pointer-events: none;
}

/* Removed blood pulse animation - Three.js handles background */

/* Main Content */
.main-content {
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: transparent;
}

.hero-content {
  text-align: center;
  z-index: 2;
  max-width: 900px;
  padding: 3rem 2rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--ghost-white);
  text-shadow: 0 0 20px var(--blood-red);
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-title .glitch-line:first-child::first-letter,
.hero-title .glitch-line:nth-child(2)::first-letter {
  color: var(--bright-red);
  text-shadow: 0 0 15px var(--blood-red);
}

.glitch-line {
  display: block;
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.6rem);
  margin-bottom: 2.5rem;
  font-weight: 500;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  color: var(--ghost-white);
  text-shadow: 0 0 10px var(--blood-red);
  line-height: 1.4;
}

.game-highlight {
  color: var(--bright-red);
  text-shadow: 0 0 10px var(--blood-red);
  font-weight: 700;
}

.date-highlight {
  color: var(--ghost-white);
  text-shadow: 0 0 10px var(--blood-red);
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cta-btn.primary {
  background: var(--blood-red);
  color: var(--ghost-white);
  border: 2px solid var(--bright-red);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.cta-btn.primary:hover {
  background: var(--bright-red);
  transform: translateY(-3px);
}

.cta-btn.secondary {
  background: transparent;
  color: var(--ghost-white);
  border: 2px solid var(--ghost-white);
  backdrop-filter: blur(10px);
}

.cta-btn.secondary:hover {
  background: var(--ghost-white);
  color: var(--void-black);
}

.cta-btn:active {
  transform: translateY(0) scale(0.98);
}

.cta-btn.secondary:hover {
  background: var(--halloween-orange);
  color: var(--void-black);
  box-shadow: 0 10px 30px rgba(255, 102, 0, 0.7);
}

.btn-icon {
  font-size: 1.2rem;
}

.hero-fog {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(139, 0, 255, 0.1) 25%,
    rgba(255, 102, 0, 0.1) 50%,
    rgba(139, 0, 255, 0.1) 75%,
    transparent 100%
  );
  animation: fogMove 20s ease-in-out infinite;
  pointer-events: none;
}

/* Section Styles */
section {
  padding: var(--section-spacing) 0;
  position: relative;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--ghost-white);
  text-shadow: 0 0 15px var(--blood-red);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Add blood effect to letters in section titles */
.section-title::first-letter,
.section-title .typewriter-text::first-letter {
  color: var(--bright-red);
  font-size: 1.2em;
}

/* Rules Section */
.rules-section {
  background: linear-gradient(180deg, rgba(139, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
  padding: 4rem 0;
  position: relative;
}

.rules-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(139, 0, 0, 0.03) 2px, rgba(139, 0, 0, 0.03) 4px);
  pointer-events: none;
}

.accordion-container {
  max-width: 900px;
  margin: 3rem auto 0;
}

.accordion-item {
  background: var(--dark-gray);
  border: 2px solid rgba(139, 0, 0, 0.3);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.accordion-item:hover {
  border-color: var(--blood-red);
  box-shadow: 0 0 15px rgba(139, 0, 0, 0.3);
}

.accordion-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(26, 26, 26, 0.8);
  transition: all var(--transition-normal);
  user-select: none;
}

.accordion-header:hover {
  background: rgba(139, 0, 0, 0.1);
}

.accordion-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ghost-white);
}

.accordion-title .icon {
  font-size: 1.5rem;
}

.accordion-arrow {
  color: var(--blood-red);
  font-size: 0.9rem;
  transition: transform var(--transition-normal);
}

.accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
  background: rgba(0, 0, 0, 0.3);
}

.accordion-content.active {
  max-height: 2000px;
  padding: 0 1.5rem 1.5rem;
}

.rules-content {
  padding-top: 1.5rem;
}

.rules-content h4 {
  color: var(--blood-red);
  font-size: 1.1rem;
  margin: 1.5rem 0 1rem;
  font-family: var(--font-display);
}

.rules-content h4:first-child {
  margin-top: 0;
}

.rules-content ul,
.rules-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.rules-content li {
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
}

.rules-content li strong {
  color: var(--ghost-white);
}

.important-note {
  background: rgba(139, 0, 0, 0.15);
  border-left: 4px solid var(--bright-red);
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.important-note h4 {
  color: var(--bright-red);
  margin-bottom: 0.5rem;
}

.important-note p {
  margin-bottom: 0.5rem;
  color: var(--ghost-white);
}

.allowed-weapons,
.restricted-weapons {
  margin-bottom: 1.5rem;
}

.allowed-weapons strong {
  color: #00ff00;
}

.restricted-weapons strong {
  color: var(--bright-red);
}

.fair-play {
  background: rgba(139, 0, 0, 0.1);
  border: 1px solid var(--blood-red);
  padding: 1.2rem;
  border-radius: 6px;
  margin-top: 1.5rem;
}

.rules-note {
  background: rgba(139, 139, 0, 0.1);
  border-left: 4px solid #ffff00;
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 4px;
}

.rules-note p {
  margin-bottom: 0.5rem;
}

.rules-note strong {
  color: #ffff00;
}

.rules-closing {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bright-red);
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(139, 0, 0, 0.15);
  border-radius: 6px;
}

/* Responsive Rules Section */
@media (max-width: 768px) {
  .rules-section {
    padding: 3rem 0;
  }
  
  .accordion-container {
    padding: 0 1rem;
  }
  
  .accordion-header {
    padding: 1rem;
  }
  
  .accordion-title {
    font-size: 1rem;
  }
  
  .accordion-content.active {
    padding: 0 1rem 1rem;
  }
  
  .rules-content h4 {
    font-size: 1rem;
  }
  
  .rules-content ul,
  .rules-content ol {
    margin-left: 1rem;
  }
  
  /* Games Section Responsive */
  .section-description {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .event-stats {
    gap: 1.5rem;
  }
  
  .stat-item {
    padding: 1rem 1.5rem;
  }
  
  .stat-icon {
    font-size: 2rem;
  }
  
  .stat-number {
    font-size: 1.2rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .game-description {
    font-size: 0.9rem;
    padding: 0.8rem;
  }
}

/* Powered by Branding */
.powered-by {
  text-align: center;
  margin-bottom: 1.5rem;
}

.powered-by-hero {
  position: relative;
  text-align: center;
  margin-bottom: 1.5rem;
}

.powered-by-text {
  display: inline-block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.2), rgba(0, 0, 0, 0.3));
  border: 1px solid rgba(139, 0, 0, 0.5);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.powered-by-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.2), transparent);
  transition: left 0.6s ease;
}

.powered-by-text:hover {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 0, 0, 0.7);
  box-shadow: 0 0 20px rgba(139, 0, 0, 0.4);
  transform: translateY(-2px);
}

.powered-by-text:hover::before {
  left: 100%;
}

.powered-by-admin {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 0.8rem 1rem;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.15), rgba(0, 0, 0, 0.2));
  border-radius: 8px;
  border: 1px solid rgba(139, 0, 0, 0.4);
}

.powered-by-text-admin {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-block;
  transition: all var(--transition-normal);
}

.powered-by-text-admin:hover {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 0 10px rgba(139, 0, 0, 0.5);
}

/* Admin Footer */
.admin-footer {
  background: rgba(0, 0, 0, 0.3);
  padding: 2rem 0;
  border-top: 2px solid var(--blood-red);
  margin-top: 3rem;
  text-align: center;
}

.admin-footer p {
  margin: 0.5rem 0;
}

/* Games Section */
.games-section {
  background: transparent;
  padding: 5rem 0;
  position: relative;
}

.section-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.section-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin: 1.5rem auto;
  line-height: 1.8;
}

.event-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(139, 0, 0, 0.15);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  border: 2px solid rgba(139, 0, 0, 0.3);
  transition: all var(--transition-normal);
}

.stat-item:hover {
  border-color: var(--blood-red);
  background: rgba(139, 0, 0, 0.25);
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 2.5rem;
}

.stat-text {
  text-align: left;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ghost-white);
  font-family: var(--font-display);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.game-description {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0.8rem 0 0.5rem;
  line-height: 1.5;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border-left: 3px solid var(--bright-red);
  width: 100%;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  align-items: stretch;
  justify-items: center;
}

.game-card {
  width: 100%;
  max-width: 450px;
  height: 480px;
  perspective: 1000px;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform var(--transition-slow);
  transform-style: preserve-3d;
}

.game-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border: 2px solid;
  overflow-y: auto;
}

.tekken-card .card-front,
.tekken-card .card-back {
  background: var(--blood-red);
  border-color: var(--bright-red);
}

.bgmi-card .card-front,
.bgmi-card .card-back {
  background: var(--blood-red);
  border-color: var(--bright-red);
}

.card-back {
  transform: rotateY(180deg);
  background: rgba(0, 0, 0, 0.3) !important;
  border-color: var(--ghost-white) !important;
}

.game-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.game-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.game-title::first-letter {
  color: var(--bright-red);
  font-size: 1.3em;
}

.game-mode {
  font-size: 1rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.game-platform {
  font-size: 0.85rem;
}

.platform-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.card-back h4 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  margin-top: 0.3rem;
  color: var(--ghost-white);
  width: 100%;
}

.card-back ul {
  list-style: none;
  text-align: left;
  margin-bottom: 0.8rem;
  width: 100%;
}

.card-back li {
  margin-bottom: 0.4rem;
  padding-left: 1rem;
  position: relative;
  font-size: 0.9rem;
  line-height: 1.4;
}

.card-back li::before {
  content: "👻";
  position: absolute;
  left: 0;
}

.participants-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
}

.count-label {
  font-size: 0.85rem;
  opacity: 0.8;
}

.count-number {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ghost-white);
  text-shadow: 0 0 10px var(--blood-red);
}

/* Registration Section */
.registration-section {
  background: transparent;
  padding: 5rem 0;
  border-top: 2px solid var(--blood-red);
  border-bottom: 2px solid var(--blood-red);
  position: relative;
}

.registration-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.4);
  padding: 3rem;
  border-radius: 20px;
  border: 2px solid var(--blood-red);
  backdrop-filter: blur(10px);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

/* Team Registration Styles */
.team-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  border: 1px solid var(--blood-red);
}

.team-section h4 {
  color: var(--bright-red);
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.member-group {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  border-left: 3px solid var(--blood-red);
}

.member-group h5 {
  color: var(--ghost-white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.field-hint {
  color: var(--light-gray);
  font-size: 0.8rem;
  font-style: italic;
  margin-top: 0.25rem;
  display: block;
}

#confirmation-content {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid var(--blood-red);
  margin-bottom: 1.5rem;
}

.confirmation-item {
  margin-bottom: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(139, 0, 0, 0.3);
}

.confirmation-item:last-child {
  border-bottom: none;
}

.confirmation-label {
  font-weight: 600;
  color: var(--bright-red);
  display: inline-block;
  min-width: 120px;
}

.confirmation-value {
  color: var(--ghost-white);
}

.form-step h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--ghost-white);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.form-step h3::first-letter {
  color: var(--bright-red);
  font-size: 1.3em;
}

.game-selection {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.game-option {
  cursor: pointer;
}

.game-option input {
  display: none;
}

.option-card {
  background: rgba(0, 0, 0, 0.4);
  border: 3px solid var(--blood-red);
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  min-height: 200px;
  justify-content: center;
  align-items: center;
}

/* Hover effect to guide users */
.option-card::before {
  content: 'Click to Select';
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.7rem;
  background: rgba(255, 0, 0, 0.3);
  color: var(--ghost-white);
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  opacity: 0;
  transition: opacity var(--transition-normal);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.option-card:hover::before {
  opacity: 1;
}

.option-card:hover {
  background: rgba(139, 0, 0, 0.2);
  border-color: var(--bright-red);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
  transform: translateY(-5px) scale(1.02);
}

.game-option input:checked + .option-card {
  background: rgba(139, 0, 0, 0.3);
  border-color: var(--bright-red);
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.6), 0 0 60px rgba(255, 0, 0, 0.3);
  transform: scale(1.05);
}

.game-option input:checked + .option-card::before {
  content: '✓ Selected';
  background: rgba(0, 255, 0, 0.3);
  color: #00ff00;
}

.option-icon {
  font-size: 4rem;
  transition: transform var(--transition-normal);
  line-height: 1;
}

.option-card:hover .option-icon {
  transform: scale(1.2);
  animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1.2);
  }
  50% {
    transform: scale(1.3);
  }
}

.option-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--ghost-white);
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color var(--transition-normal);
  font-weight: 700;
}

.option-card:hover .option-title {
  color: var(--bright-red);
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.option-desc {
  font-size: 1.1rem;
  opacity: 0.8;
  color: var(--light-gray);
  transition: all var(--transition-normal);
  font-weight: 500;
}

.option-card:hover .option-desc {
  opacity: 1;
  color: var(--ghost-white);
}

.game-option input:checked + .option-card .option-title {
  color: var(--bright-red);
  text-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--ghost-white);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--blood-red);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  color: var(--ghost-white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--bright-red);
  background: rgba(0, 0, 0, 0.5);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-size: 1.1rem;
}

.checkbox-label input {
  width: auto;
  margin: 0;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--blood-red);
  border-radius: 4px;
  position: relative;
  transition: all var(--transition-normal);
}

.checkbox-label input:checked + .checkmark {
  background: var(--blood-red);
  border-color: var(--bright-red);
}

.checkbox-label input:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--ghost-white);
  font-weight: bold;
}

.form-buttons {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 2rem;
}

.form-btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  flex: 1;
}

.next-btn,
.submit-btn {
  background: var(--blood-red);
  color: var(--ghost-white);
  border: 2px solid var(--bright-red);
}

.next-btn:hover,
.submit-btn:hover {
  background: var(--bright-red);
}

.prev-btn {
  background: transparent;
  color: var(--ghost-white);
  border: 2px solid var(--ghost-white);
}

.form-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 0, 255, 0.5);
}

.prev-btn:hover {
  background: var(--ghost-white);
  color: var(--void-black);
}

.error-message {
  color: var(--blood-red);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  display: block;
}

.success-message {
  text-align: center;
  padding: 3rem;
  background: rgba(0, 255, 65, 0.1);
  border: 2px solid var(--toxic-green);
  border-radius: 20px;
  margin-top: 2rem;
}

.success-content h3 {
  font-family: var(--font-horror);
  font-size: 2rem;
  color: var(--ghost-white);
  margin-bottom: 1rem;
}

/* Event Details Section */
.event-details-section {
  background: transparent;
  padding: 5rem 0;
  position: relative;
}

.countdown-container {
  text-align: center;
  margin-bottom: 3rem;
}

.countdown-container h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ghost-white);
  margin-bottom: 2rem;
  text-shadow: 0 0 20px var(--blood-red);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.countdown-container h3::first-letter {
  color: var(--bright-red);
  font-size: 1.2em;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  border-radius: 15px;
  border: 2px solid var(--blood-red);
  min-width: 100px;
}

.time-number {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: var(--bright-red);
  line-height: 1;
}

.time-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ghost-white);
  margin-top: 0.5rem;
}

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

.info-card {
  background: rgba(0, 0, 0, 0.2);
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid var(--blood-red);
  text-align: center;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: var(--bright-red);
}

.info-card h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--bright-red);
}

.info-card p {
  font-size: 1.2rem;
  font-weight: 600;
}

/* Hype Section */
.hype-section {
  background: transparent;
  padding: 5rem 0;
  position: relative;
}

.hype-content {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 2rem;
}

.main-quote {
  max-width: 600px;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  border: 2px solid var(--blood-red);
  backdrop-filter: blur(10px);
}

.main-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--ghost-white);
  text-shadow: 0 0 10px var(--blood-red);
  line-height: 1.4;
  margin: 0;
}



/* Footer */
.footer {
  background: transparent;
  padding: 3rem 0 1rem;
  border-top: 2px solid var(--blood-red);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
  align-items: start;
}

.footer-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.footer-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: var(--blood-red);
  color: var(--ghost-white);
  border: 2px solid var(--bright-red);
  border-radius: 10px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-normal);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-btn:hover {
  background: var(--bright-red);
  border-color: var(--ghost-white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.footer-btn.admin-btn {
  background: var(--void-black);
  border-color: var(--blood-red);
}

.footer-btn.admin-btn:hover {
  background: var(--blood-red);
  border-color: var(--bright-red);
}

.footer-section h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ghost-white);
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-section h4::first-letter {
  color: var(--bright-red);
  font-size: 1.3em;
}

.footer-section p {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--ghost-white);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.footer-section a:hover {
  color: var(--bright-red);
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  background: rgba(139, 0, 0, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--blood-red);
  transition: all var(--transition-normal);
  backdrop-filter: blur(5px);
}

.social-link:hover {
  background: var(--blood-red);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--blood-red);
}

.disclaimer {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 0.5rem;
}

/* Enhanced Footer Powered By */
.footer-bottom .disclaimer {
  background: linear-gradient(90deg, rgba(139, 0, 0, 0.1), rgba(139, 0, 0, 0.15), rgba(139, 0, 0, 0.1));
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  display: inline-block;
  font-weight: 500;
  letter-spacing: 1.5px;
  border: 1px solid rgba(139, 0, 0, 0.3);
  transition: all var(--transition-normal);
  margin: 0.5rem auto;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.footer-bottom .disclaimer:hover {
  opacity: 1;
  border-color: rgba(139, 0, 0, 0.6);
  box-shadow: 0 0 15px rgba(139, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* Audio Controls */
.audio-controls {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.mute-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--blood-red);
  background: rgba(0, 0, 0, 0.4);
  color: var(--ghost-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.mute-btn:hover {
  background: var(--blood-red);
  transform: scale(1.1);
}

.mute-btn.muted {
  background: var(--blood-red);
  border-color: var(--blood-red);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .hero-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
  }
  
  .hero-subtitle {
    font-size: clamp(0.9rem, 3vw, 1.3rem);
  }
  
  .section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }
  
  .games-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  .countdown-timer {
    gap: 1.5rem;
  }
  
  .hype-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
    --section-spacing: 2rem;
  }
  
  .hero-content {
    padding: 2rem 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 280px;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .game-card {
    height: 350px;
  }
  
  .countdown-timer {
    gap: 1rem;
  }
  
  .time-unit {
    min-width: 80px;
    padding: 1rem;
  }
  
  .time-number {
    font-size: 2rem;
  }
  
  .hype-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .registration-form {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }
  
  .form-buttons {
    flex-direction: column;
  }
  
  .game-selection {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .option-card {
    min-height: 180px;
    padding: 2rem 1.5rem;
  }
  
  .option-icon {
    font-size: 3rem;
  }
  
  .option-title {
    font-size: 1.5rem;
  }
  
  .option-desc {
    font-size: 1rem;
  }
  
  .option-card::before {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
  }
  
  .event-info-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-actions {
    align-items: center;
  }
  
  .footer-btn {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }
  
  .audio-controls {
    bottom: 1rem;
    right: 1rem;
  }
  
  .mute-btn {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
  
  .powered-by-hero {
    margin-bottom: 1rem;
  }
  
  .powered-by-text {
    font-size: 0.7rem;
    padding: 0.4rem 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .countdown-timer {
    gap: 0.5rem;
  }
  
  .time-unit {
    min-width: 60px;
    padding: 0.8rem;
  }
  
  .time-number {
    font-size: 1.5rem;
  }
  
  .registration-form {
    padding: 1.5rem;
    margin: 0 0.5rem;
  }
  
  .form-group input,
  .form-group select {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  
  .form-btn {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .footer-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .game-card {
    height: 300px;
  }
  
  .game-icon {
    font-size: 3rem;
  }
  
  .game-title {
    font-size: 1.5rem;
  }
  
  .event-info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .info-card {
    padding: 1.5rem;
  }
  
  .quote p {
    font-size: 1.2rem;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .skip-btn {
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .powered-by-hero {
    margin-bottom: 0.8rem;
  }
  
  .powered-by-text {
    font-size: 0.65rem;
    padding: 0.3rem 0.8rem;
    letter-spacing: 1px;
  }
  
  .footer-bottom .disclaimer {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
    letter-spacing: 1px;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .game-card:hover .card-inner {
    transform: none;
  }
  
  .game-card:active .card-inner {
    transform: rotateY(180deg);
  }
  
  .cta-btn:hover {
    transform: none;
  }
  
  .cta-btn:active {
    transform: translateY(2px);
  }
  
  .hover-glow:hover {
    box-shadow: none;
  }
  
  .hover-scale:hover {
    transform: none;
  }
  
  .hover-scale:active {
    transform: scale(1.05);
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .game-icon {
    font-size: 4.5rem;
  }
  
  .option-icon {
    font-size: 3.5rem;
  }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section {
    min-height: 80vh;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .countdown-timer {
    gap: 0.8rem;
  }
  
  .time-unit {
    min-width: 70px;
    padding: 0.8rem;
  }
  
  .time-number {
    font-size: 1.8rem;
  }
}

/* Test Suite Button Styling */
.test-btn {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e) !important;
  border: 1px solid #ff6b6b !important;
}

.test-btn:hover {
  background: linear-gradient(135deg, #ff5252, #ff7979) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.test-btn .icon {
  font-size: 1.1rem;
}
