:root {
  --bg-dark: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a25;
  --primary: #ff3366;
  --primary-glow: rgba(255, 51, 102, 0.5);
  --secondary: #00d4ff;
  --secondary-glow: rgba(0, 212, 255, 0.5);
  --accent: #ffcc00;
  --text-light: #ffffff;
  --text-muted: #8888aa;
  --linkedin: #0077b5;
  --success: #00ff88;
  --border-color: #2a2a3a;
  --gradient-1: linear-gradient(135deg, #ff3366 0%, #ff6b35 100%);
  --gradient-2: linear-gradient(135deg, #00d4ff 0%, #7b2dff 100%);
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Theme Background Layer */
.theme-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: opacity 0.5s ease;
}

/* Audio Toggle Button */
.audio-toggle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9b59b6 0%, #e74c3c 100%);
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(155, 89, 182, 0.5);
  transition: all 0.3s ease;
  z-index: 1000;
}

.audio-toggle:hover {
  transform: scale(1.1);
}

.audio-toggle.playing {
  background: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
  box-shadow: 0 4px 20px rgba(0, 255, 136, 0.5);
  animation: pulse-audio 1.5s ease-in-out infinite;
}

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

/* Theme Selector */
.theme-selector {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.theme-toggle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-1);
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--primary-glow);
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  transform: scale(1.1);
}

.theme-options {
  position: absolute;
  bottom: 60px;
  right: 0;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.theme-options.show {
  display: flex;
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 8px;
  color: var(--text-light);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.theme-option:hover {
  background: rgba(255,255,255,0.05);
}

.theme-option.active {
  border-color: var(--primary);
  background: rgba(255, 51, 102, 0.1);
}

.theme-preview {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  flex-shrink: 0;
}

.theme-preview.neon {
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
  box-shadow: inset 0 0 10px rgba(255, 51, 102, 0.5), inset 0 0 10px rgba(0, 212, 255, 0.5);
}

.theme-preview.stranger {
  background: linear-gradient(180deg, #1a0000 0%, #330000 50%, #1a0000 100%);
  box-shadow: inset 0 0 10px rgba(255, 0, 0, 0.6);
}

.theme-preview.ai {
  background: linear-gradient(135deg, #000510 0%, #001a33 50%, #000510 100%);
  box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.5);
}

/* ========== THEME: DEFAULT (NEON) ========== */
.theme-default .particles {
  background:
    radial-gradient(ellipse at top, rgba(255, 51, 102, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

/* ========== THEME: STRANGER THINGS ========== */
.theme-stranger {
  --bg-dark: #0a0000;
  --bg-card: rgba(30, 5, 5, 0.9);
  --border-color: #3a1010;
}

.theme-stranger .theme-background {
  background:
    radial-gradient(ellipse at center, rgba(80, 0, 0, 0.3) 0%, transparent 70%),
    linear-gradient(180deg, #0a0000 0%, #1a0505 50%, #0a0000 100%);
}

.theme-stranger .theme-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255, 0, 0, 0.15) 0%, transparent 25%),
    radial-gradient(circle at 80% 20%, rgba(255, 50, 0, 0.1) 0%, transparent 25%),
    radial-gradient(circle at 50% 50%, rgba(100, 0, 0, 0.2) 0%, transparent 50%);
  animation: stranger-pulse 4s ease-in-out infinite;
}

.theme-stranger .theme-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 0, 0, 0.03) 2px,
    rgba(255, 0, 0, 0.03) 4px
  );
  pointer-events: none;
}

@keyframes stranger-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.theme-stranger .particles {
  background: none;
}

/* Stranger Things floating lights */
.theme-stranger .particles::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 10% 20%, #ff0000 0%, transparent 1%),
    radial-gradient(circle at 30% 70%, #ff3300 0%, transparent 1%),
    radial-gradient(circle at 70% 30%, #ff0000 0%, transparent 1%),
    radial-gradient(circle at 90% 80%, #ff6600 0%, transparent 1%),
    radial-gradient(circle at 50% 10%, #ff0000 0%, transparent 1%);
  animation: flicker-lights 2s ease-in-out infinite;
}

@keyframes flicker-lights {
  0%, 100% { opacity: 0.6; }
  25% { opacity: 1; }
  50% { opacity: 0.4; }
  75% { opacity: 0.9; }
}

/* ========== THEME: AI FUTURISTIC ========== */
.theme-ai {
  --bg-dark: #000815;
  --bg-card: rgba(0, 20, 40, 0.9);
  --border-color: #0a3050;
  --primary: #00ffff;
  --primary-glow: rgba(0, 255, 255, 0.4);
  --secondary: #00ff88;
  --secondary-glow: rgba(0, 255, 136, 0.4);
}

.theme-ai .theme-background {
  background:
    linear-gradient(180deg, #000510 0%, #001020 50%, #000815 100%);
}

/* AI Grid effect */
.theme-ai .theme-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
  0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
  100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

/* AI Neural network nodes */
.theme-ai .theme-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.3) 0%, transparent 2%),
    radial-gradient(circle at 80% 20%, rgba(0, 255, 136, 0.3) 0%, transparent 2%),
    radial-gradient(circle at 60% 70%, rgba(0, 200, 255, 0.3) 0%, transparent 2%),
    radial-gradient(circle at 30% 80%, rgba(0, 255, 200, 0.3) 0%, transparent 2%),
    radial-gradient(circle at 90% 60%, rgba(0, 255, 255, 0.3) 0%, transparent 2%);
  animation: ai-nodes 3s ease-in-out infinite;
}

@keyframes ai-nodes {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.theme-ai .particles {
  background:
    radial-gradient(ellipse at top, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(0, 255, 136, 0.1) 0%, transparent 50%);
}

/* AI theme adjustments */
.theme-ai .logo-item.coyote-logo {
  border-color: var(--primary);
  box-shadow: 0 0 30px var(--primary-glow);
}

.theme-ai .logo-item.aleson-logo {
  border-color: var(--secondary);
  box-shadow: 0 0 30px var(--secondary-glow);
}

.theme-ai .prize-card:not(.stranger) {
  border-color: var(--primary);
  box-shadow: 0 0 25px var(--primary-glow);
}

.theme-ai .title-highlight {
  background: linear-gradient(135deg, #00ffff 0%, #00ff88 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.theme-ai .submit-btn {
  background: linear-gradient(135deg, #00ffff 0%, #00ff88 100%);
  color: #000;
}

/* ========== THEME: STRANGER THINGS 5 IMAGE ========== */
.theme-stranger-img {
  --bg-dark: #0a0000;
  --bg-card: rgba(20, 5, 5, 0.85);
  --border-color: #4a1515;
}

.theme-stranger-img .theme-background {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8) 100%),
    url('../images/stranger-things-5-netflix-estreno-2024.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.theme-stranger-img .theme-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 0, 0, 0.02) 2px,
    rgba(255, 0, 0, 0.02) 4px
  );
  pointer-events: none;
  animation: scanlines 0.5s linear infinite;
}

@keyframes scanlines {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

.theme-stranger-img .particles {
  background: none;
}

.theme-stranger-img .prize-card.stranger {
  box-shadow: 0 0 40px rgba(255, 0, 0, 0.5);
}

.theme-preview.stranger-img {
  background:
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url('../images/stranger-things-5-netflix-estreno-2024.jpg');
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,0,0,0.5);
}

/* ========== THEME: CARRUSEL STRANGER THINGS ========== */
.theme-carrusel {
  --bg-dark: #0a0000;
  --bg-card: rgba(20, 5, 5, 0.85);
  --border-color: #4a1515;
}

.theme-carrusel .theme-background {
  background: #0a0000;
}

.theme-carrusel .theme-background .carrusel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.theme-carrusel .theme-background .carrusel-slide.active {
  opacity: 1;
}

.theme-carrusel .theme-background .carrusel-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.7) 100%);
}

.theme-carrusel .theme-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 0, 0, 0.02) 2px,
    rgba(255, 0, 0, 0.02) 4px
  );
  pointer-events: none;
  z-index: 1;
}

.theme-carrusel .particles {
  background: none;
}

.theme-carrusel .prize-card.stranger {
  box-shadow: 0 0 40px rgba(255, 0, 0, 0.5);
}

.theme-preview.carrusel {
  background: linear-gradient(135deg, #1a0505 0%, #330000 50%, #1a0505 100%);
  border: 1px solid rgba(255,0,0,0.5);
  position: relative;
  overflow: hidden;
}

.theme-preview.carrusel::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: rgba(255,0,0,0.8);
  border-radius: 50%;
  box-shadow: -10px 0 0 rgba(255,100,0,0.6), 10px 0 0 rgba(255,50,0,0.6);
}

/* Particles Control */
.particles-control {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border-top: 1px solid var(--border-color);
  margin-top: 8px;
}

.particles-control label {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.particles-control label i {
  color: var(--accent);
  margin-right: 5px;
}

.particles-control input[type="range"] {
  flex: 1;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--border-color);
  border-radius: 3px;
  cursor: pointer;
}

.particles-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--gradient-1);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px var(--primary-glow);
}

.particles-control input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--gradient-1);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.particles-control #particles-count {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  min-width: 30px;
  text-align: right;
}

/* Animated particles background */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at top, rgba(255, 51, 102, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

.container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
.header {
  text-align: center;
  padding: 30px 0;
}

.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(240,240,250,0.9) 100%);
  padding: 15px 30px;
  border-radius: 50px;
  margin-bottom: 25px;
  border: 2px solid var(--secondary);
  box-shadow: 0 0 30px var(--secondary-glow);
}

.empleatech-logo {
  height: 50px;
  width: auto;
}

.event-badge span {
  font-weight: 900;
  font-size: 1.4rem;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(245,245,250,0.9) 100%);
  border-radius: 16px;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.logo-item img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.logo-item.coyote-logo {
  border-color: var(--primary);
  box-shadow: 0 0 30px var(--primary-glow);
}

.logo-item.coyote-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px var(--primary-glow);
}

.logo-item.aleson-logo {
  border-color: var(--secondary);
  box-shadow: 0 0 30px var(--secondary-glow);
}

.logo-item.aleson-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px var(--secondary-glow);
}

.logo-separator {
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 300;
}

.badge {
  display: inline-block;
  background: var(--gradient-2);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Hero */
.hero {
  text-align: center;
  padding: 40px 0;
}

.title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.title-line {
  display: block;
  background: linear-gradient(to right, var(--text-light), var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-highlight {
  display: block;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 60px var(--primary-glow);
}

.subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Sections */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title i {
  color: var(--primary);
}

/* Prizes Section */
.prizes-section {
  padding: 40px 0;
}

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

.prize-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Sudadera card - cyan/blue glow */
.prize-card:not(.stranger) {
  border-color: var(--secondary);
  box-shadow: 0 0 25px var(--secondary-glow);
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.05) 0%, var(--bg-card) 100%);
}

.prize-card:not(.stranger):hover {
  transform: translateY(-5px);
  box-shadow: 0 0 40px var(--secondary-glow), 0 20px 40px rgba(0, 0, 0, 0.3);
}

.prize-card.stranger:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 40px rgba(255, 0, 0, 0.4), 0 20px 40px rgba(0, 0, 0, 0.3);
}

.prize-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.prize-image {
  width: 100%;
  height: 180px;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.prize-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 4px 15px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}

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

/* Fondo especial para imagen con fondo blanco */
.prize-card:not(.stranger) .prize-image {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(240,240,245,0.9) 100%);
}

/* Fondo especial para Stranger Things con fondo oscuro */
.prize-card.stranger .prize-image {
  background: linear-gradient(135deg, #1a0505 0%, #0a0a0f 100%);
  border: 1px solid rgba(255,0,0,0.3);
}

.prize-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.prize-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Stranger Things style for demogorgon card */
.prize-card.stranger {
  background: linear-gradient(180deg, #1a0a0a 0%, var(--bg-card) 100%);
  border-color: #ff0000;
}

/* Clickable prize cards */
.prize-card {
  cursor: pointer;
}

.prize-image {
  position: relative;
}

.zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.prize-card:hover .zoom-hint {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.lightbox.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.3s ease;
}

.lightbox-close:hover {
  transform: scale(1.2);
}

#lightbox-caption {
  color: white;
  font-size: 1.2rem;
  margin-top: 20px;
  font-weight: 600;
}

.prize-card.stranger:hover {
  box-shadow: 0 0 40px rgba(255, 0, 0, 0.3);
}

.demogorgon {
  background: linear-gradient(135deg, #ff0000, #cc0000);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 0, 0, 0.5); }
  50% { box-shadow: 0 0 40px rgba(255, 0, 0, 0.8); }
}

.stranger-lights {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.stranger-lights::before,
.stranger-lights::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: flicker 0.5s ease-in-out infinite alternate;
}

.stranger-lights::before {
  background: #ff0000;
  animation-delay: 0s;
}

.stranger-lights::after {
  background: #ffcc00;
  animation-delay: 0.25s;
}

@keyframes flicker {
  0% { opacity: 0.3; }
  100% { opacity: 1; }
}

/* Form Section */
.form-section {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--border-color);
  margin: 40px 0;
}

.participation-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group label i {
  color: var(--secondary);
  margin-right: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"] {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-dark);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-light);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

/* Form validation error */
.form-group.error input {
  border-color: #ff3366;
  box-shadow: 0 0 15px rgba(255, 51, 102, 0.4);
  animation: shake 0.4s ease;
}

.form-group.error label {
  color: #ff3366;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

/* LinkedIn Section */
.linkedin-section {
  background: rgba(0, 119, 181, 0.1);
  border-radius: 16px;
  padding: 25px;
  margin: 30px 0;
  border: 1px solid rgba(0, 119, 181, 0.3);
}

.linkedin-section h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--linkedin);
}

.linkedin-section h3 i {
  margin-right: 8px;
}

.linkedin-info {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.linkedin-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.linkedin-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--linkedin);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.linkedin-btn:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 30px rgba(0, 119, 181, 0.4);
}

.linkedin-btn span {
  flex: 1;
}

.linkedin-btn.coyote {
  background: linear-gradient(135deg, var(--linkedin), var(--primary));
}

.linkedin-btn.aleson {
  background: linear-gradient(135deg, var(--linkedin), var(--secondary));
}

/* Checkboxes */
.checkboxes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 10px 0;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

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

.checkbox-label input:checked + .checkmark::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 14px;
  color: var(--bg-dark);
}

.checkbox-label.terms {
  margin-top: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 18px 30px;
  background: var(--gradient-1);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 25px;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px var(--primary-glow);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.submit-btn .btn-loading {
  display: none;
}

.submit-btn.loading .btn-text {
  display: none;
}

.submit-btn.loading .btn-loading {
  display: inline;
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 40px;
}

.success-message.hidden {
  display: none;
}

.success-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--bg-dark);
  animation: bounce-in 0.5s ease;
}

@keyframes bounce-in {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.success-message h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--success);
}

.success-message p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.success-note {
  font-weight: 700;
  color: var(--accent) !important;
}

/* Info Section */
.info-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 40px 0;
}

.info-card {
  background: var(--bg-card);
  padding: 25px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.info-card i {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 15px;
}

/* QR Card */
.info-card.qr-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255,255,255,0.05) 100%);
  border-color: var(--primary);
}

.info-card.qr-card h4 {
  margin-bottom: 12px;
}

.info-card.qr-card h4 i {
  font-size: 1rem;
  margin-bottom: 0;
  margin-right: 8px;
}

.qr-container {
  background: white;
  padding: 10px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 10px;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.qr-card:hover .qr-container {
  transform: scale(1.05);
}

.qr-container .zoom-hint {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 24px;
  height: 24px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.qr-card:hover .zoom-hint {
  opacity: 1;
}

.qr-image {
  width: 100px;
  height: 100px;
  display: block;
}

.info-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

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

/* Footer */
.footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  margin-top: 40px;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.footer strong {
  color: var(--text-light);
}

.footer-event {
  color: var(--primary);
  font-weight: 700;
}

/* Responsive - Tablet */
@media (max-width: 768px) {
  .hero {
    padding: 30px 0;
  }

  .prizes-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .info-section {
    grid-template-columns: 1fr;
  }
}

/* Responsive - Mobile */
@media (max-width: 600px) {
  body {
    font-size: 16px; /* Prevent zoom on input focus */
  }

  .container {
    padding: 12px;
  }

  .header {
    padding: 20px 0;
  }

  .form-section {
    padding: 20px 15px;
    border-radius: 16px;
  }

  .event-badge {
    padding: 12px 20px;
    margin-bottom: 20px;
  }

  .empleatech-logo {
    height: 40px;
  }

  .event-badge span {
    font-size: 1.1rem;
  }

  .logo-container {
    flex-direction: column;
    gap: 12px;
  }

  .logo-item {
    padding: 15px 25px;
    width: 80%;
    max-width: 280px;
  }

  .logo-item img {
    height: 50px;
  }

  .logo-separator {
    display: none;
  }

  .title {
    font-size: 2rem;
  }

  .title-highlight {
    font-size: 1.8rem;
  }

  .subtitle {
    font-size: 1rem;
  }

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

  .prize-card {
    padding: 20px;
  }

  .prize-image {
    height: 150px;
    padding: 12px;
  }

  .prize-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .prize-card h3 {
    font-size: 1.1rem;
  }

  /* Form optimizations for touch */
  .form-group label {
    font-size: 0.9rem;
  }

  .form-group input[type="text"],
  .form-group input[type="email"] {
    padding: 14px 16px;
    font-size: 16px; /* Prevents iOS zoom */
    border-radius: 10px;
  }

  .linkedin-section {
    padding: 20px 15px;
    margin: 20px 0;
  }

  .linkedin-section h3 {
    font-size: 1rem;
  }

  .linkedin-btn {
    padding: 14px 16px;
    font-size: 0.9rem;
    border-radius: 10px;
  }

  .checkbox-label {
    font-size: 0.85rem;
    padding: 12px 0;
    min-height: 44px; /* Touch-friendly */
  }

  .checkmark {
    width: 28px;
    height: 28px;
  }

  .submit-btn {
    padding: 16px 24px;
    font-size: 1rem;
    border-radius: 10px;
    min-height: 54px; /* Touch-friendly */
  }

  .success-icon {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }

  .success-message h3 {
    font-size: 1.4rem;
  }

  .success-message p {
    font-size: 1rem;
  }

  .info-card {
    padding: 20px;
  }

  .info-card i {
    font-size: 1.5rem;
  }

  .notification {
    left: 12px;
    right: 12px;
    top: 12px;
    text-align: center;
  }

  .footer {
    padding: 30px 0;
  }

  .footer p {
    font-size: 0.85rem;
  }

  /* Theme selector mobile - move to top */
  .theme-selector {
    position: fixed;
    top: 10px;
    right: 10px;
    bottom: auto;
    left: auto;
    z-index: 1000;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }

  .theme-options {
    position: fixed;
    bottom: auto;
    top: 55px;
    right: 10px;
    left: 10px;
    width: auto;
    max-height: 70vh;
    overflow-y: auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px;
  }

  .theme-option {
    flex: 1 1 45%;
    padding: 10px;
    font-size: 0.75rem;
    justify-content: center;
    min-width: 0;
  }

  .theme-option span:last-child {
    display: none;
  }

  .theme-preview {
    width: 30px;
    height: 30px;
  }

  .particles-control {
    flex: 1 1 100%;
    margin-top: 4px;
    padding-top: 10px;
  }

  .particles-control label {
    font-size: 0.75rem;
  }
}

/* Extra small devices */
@media (max-width: 380px) {
  .container {
    padding: 10px;
  }

  .title {
    font-size: 1.7rem;
  }

  .title-highlight {
    font-size: 1.5rem;
  }

  .form-section {
    padding: 15px 12px;
  }

  .linkedin-btn span {
    font-size: 0.85rem;
  }
}

/* Notification */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 600;
  z-index: 1000;
  animation: slide-in 0.3s ease;
}

.notification.error {
  background: #ff3366;
  color: white;
}

.notification.success {
  background: var(--success);
  color: var(--bg-dark);
}

@keyframes slide-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
