/*
 * Fabián Martí Campaign Landing Page
 * El Concejal de los Perros - Lista 3, Opción 11
 */

/* ========================================
   CSS VARIABLES & RESET
   ======================================== */

:root {
  /* Primary Colors */
  --primary-blue: #1F4FE6;
  --primary-blue-light: #4A70FF;
  --primary-blue-dark: #0D2DB5;

  /* Secondary Colors */
  --accent-red: #E63946;
  --accent-yellow: #FFD700;
  --accent-white: #FFFFFF;

  /* Neutrals */
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-600: #4B5563;
  --gray-900: #111827;

  /* Semantic */
  --success-green: #10B981;
  --background: #FFFFFF;
  --text-primary: #111827;
  --text-secondary: #6B7280;

  /* Spacing */
  --container-max: 1440px;
  --section-padding: 80px 20px;
  --section-padding-mobile: 60px 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--background);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
}

/* ========================================
   SPLASH SCREEN (Audio Entry)
   ======================================== */

.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  /* Hidden by default - no splash screen */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 500px;
}

.splash-content img {
  width: 150px;
  height: auto;
  margin: 0 auto 30px;
  animation: fadeInScale 0.6s ease;
}

.splash-content h2 {
  color: var(--accent-white);
  font-size: 2rem;
  margin-bottom: 15px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.splash-content p {
  color: var(--accent-white);
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-enter {
  background: var(--accent-yellow);
  color: var(--primary-blue);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease 0.6s both, pulse 2s ease-in-out 1.4s infinite;
}

.btn-enter:hover {
  background: var(--accent-white);
  transform: scale(1.05);
}

/* ========================================
   FLOATING AUDIO PLAYER
   ======================================== */

.audio-player {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(31, 79, 230, 0.95);
  backdrop-filter: blur(10px);
  padding: 8px 15px;
  border-radius: 50px;
  display: none; /* Hidden - no pause button */
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.audio-player.visible {
  opacity: 0;
  visibility: hidden;
}

.audio-player button {
  font-size: 1rem;
  color: var(--accent-white);
  background: transparent;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.audio-player span {
  color: var(--accent-white);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

.audio-player:hover {
  background: rgba(31, 79, 230, 1);
  transform: scale(1.05);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .audio-player {
    padding: 6px 12px;
    bottom: 15px;
    left: 15px;
  }

  .audio-player button {
    font-size: 0.9rem;
    width: 20px;
    height: 20px;
  }

  .audio-player span {
    font-size: 0.7rem;
  }
}

/* ========================================
   STICKY NAVBAR
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 9998;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: var(--primary-blue);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.navbar-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: 60px;
  transition: all 0.3s ease;
}

.navbar.scrolled .navbar-logo img {
  height: 50px;
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 35px;
}

.navbar-menu a {
  color: var(--accent-white);
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.navbar-menu a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.navbar-toggle span {
  width: 28px;
  height: 3px;
  background: var(--accent-white);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Mobile menu */
@media (max-width: 768px) {
  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--primary-blue);
    flex-direction: column;
    padding: 100px 30px;
    gap: 20px;
    transition: right 0.3s ease;
  }

  .navbar-menu.active {
    right: 0;
  }

  .navbar-toggle {
    display: flex;
    z-index: 10000;
  }

  .navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .navbar-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px;
  background: linear-gradient(135deg, rgba(31, 79, 230, 0.9) 0%, rgba(13, 45, 181, 0.85) 100%),
              url('../nuevasimagenes/imagen1cuadrado.jpeg') center/cover no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent-white);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
  font-size: 1.8rem;
  color: var(--accent-yellow);
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-slogan {
  font-size: 1.3rem;
  color: var(--accent-white);
  margin-bottom: 40px;
  opacity: 0.95;
}

.hero-vote-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.vote-badge {
  background: #F7A800;
  padding: 20px 35px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.vote-badge h2 {
  font-size: 2.5rem;
  color: var(--primary-blue);
  font-weight: 900;
}

.vote-badge img {
  width: 80px;
  height: auto;
  margin: 10px auto 0;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: var(--accent-yellow);
  color: var(--primary-blue);
}

.btn-primary:hover {
  background: var(--accent-white);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: var(--accent-white);
  border: 2px solid var(--accent-white);
}

.btn-secondary:hover {
  background: var(--accent-white);
  color: var(--primary-blue);
}

/* Animated dog mascot */
.hero-mascot {
  position: fixed;
  bottom: 90px;
  right: 90px;
  width: 100px;
  height: auto;
  z-index: 9997;
  animation: bounce 2s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-tagline {
    font-size: 1.3rem;
  }

  .vote-badge h2 {
    font-size: 1.8rem;
  }

  .vote-badge img {
    width: 60px;
  }

  .hero-mascot {
    width: 60px;
    bottom: 150px;
    right: 15px;
    opacity: 0.7;
  }
}

/* ========================================
   SECTIONS GENERAL
   ======================================== */

section {
  padding: var(--section-padding);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Hero section visible by default */
.hero {
  opacity: 1;
  transform: translateY(0);
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  color: var(--primary-blue);
  margin-bottom: 20px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent-yellow);
  margin: 15px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  section {
    padding: var(--section-padding-mobile);
  }

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

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
  background: var(--gray-50);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-blue);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.about-image img {
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-stats {
    gap: 15px;
    margin-top: 20px;
  }

  .stat {
    flex: 1;
    min-width: 100px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.7rem;
    line-height: 1.2;
  }
}

/* ========================================
   PROPOSALS SECTION
   ======================================== */

.proposals {
  background: var(--background);
}

.proposals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 50px;
}

.proposal-card {
  background: var(--accent-white);
  border: 2px solid var(--gray-100);
  border-radius: 15px;
  padding: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.proposal-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 8px 30px rgba(31, 79, 230, 0.15);
  transform: translateY(-5px);
}

.proposal-card.active {
  border-color: var(--primary-blue);
  background: linear-gradient(135deg, rgba(31, 79, 230, 0.05) 0%, rgba(255, 215, 0, 0.05) 100%);
}

.proposal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}

.proposal-number {
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  color: var(--accent-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 15px rgba(31, 79, 230, 0.3);
}

.proposal-number::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 2px solid var(--accent-yellow);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.proposal-card.active .proposal-number::after,
.proposal-card:hover .proposal-number::after {
  opacity: 1;
}

.proposal-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-blue);
  flex: 1;
}

.proposal-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.proposal-card.active .proposal-icon {
  transform: rotate(180deg);
}

.proposal-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding-top 0.4s ease;
}

.proposal-card.active .proposal-content {
  max-height: 500px;
  padding-top: 15px;
}

.proposal-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .proposals-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .proposal-title {
    font-size: 1.1rem;
  }
}

/* ========================================
   CTA SECTION (Vote Focus)
   ======================================== */

.cta-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: url('../imagenes/patita.png') repeat;
  opacity: 0.05;
  animation: float 60s linear infinite;
  pointer-events: none;
}

.cta-container {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent-white);
  margin-bottom: 20px;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.cta-highlight {
  color: var(--accent-yellow);
  display: block;
  font-size: 4rem;
  margin: 20px 0;
}

.cta-paw {
  width: 120px;
  height: auto;
  margin: 30px auto;
  animation: pulse 2s ease-in-out infinite;
}

.cta-message {
  font-size: 1.5rem;
  color: var(--accent-white);
  margin-bottom: 40px;
  font-style: italic;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-share {
  background: var(--accent-white);
  color: var(--primary-blue);
  padding: 16px 35px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-share:hover {
  background: var(--accent-yellow);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

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

  .cta-highlight {
    font-size: 2.5rem;
  }

  .cta-paw {
    width: 80px;
  }
}

/* ========================================
   CONTACT & SOCIAL SECTION
   ======================================== */

.contact {
  background: var(--gray-50);
  padding: 80px 20px;
}

.social-btn-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.social-btn:hover {
  transform: translateY(-6px);
}

.social-btn-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 8px 24px rgba(31, 79, 230, 0.3);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.social-btn:hover .social-btn-circle {
  background: var(--primary-blue-dark);
  box-shadow: 0 12px 32px rgba(31, 79, 230, 0.45);
}

.social-btn-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-align: center;
}

.social-btn-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: -6px;
}

@media (max-width: 480px) {
  .social-btn-circle {
    width: 72px;
    height: 72px;
    font-size: 1.8rem;
  }

  .social-btn-grid {
    gap: 20px;
  }
}

.qr-section {
  text-align: center;
}

.qr-section h3 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.qr-code {
  width: 250px;
  height: auto;
  margin: 0 auto 20px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  padding: 20px;
  background: var(--accent-white);
}

.qr-section p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .qr-code {
    width: 200px;
  }
}

/* ========================================
   PARTNERS/COALITION SECTION
   ======================================== */

.partners {
  background: var(--accent-white);
  padding: 60px 20px;
  text-align: center;
}

.partners h3 {
  font-size: 1.8rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.partners-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 40px;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.partner-logo {
  width: 200px;
  height: auto;
  filter: grayscale(0%);
  transition: all 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.1);
  filter: grayscale(0%) brightness(1.1);
}

@media (max-width: 768px) {
  .partner-logo {
    width: 150px;
  }
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: var(--primary-blue-dark);
  color: var(--accent-white);
  padding: 50px 20px 30px;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-bottom: 40px;
}

.footer-logo img {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
}

.footer-slogan {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-yellow);
  font-style: italic;
  margin-bottom: 15px;
}

.footer-description {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.6;
}

.footer-section h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent-yellow);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--accent-white);
  opacity: 0.9;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  padding-left: 5px;
  color: var(--accent-yellow);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent-yellow);
  color: var(--primary-blue);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  opacity: 0.8;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ========================================
   FLOATING WHATSAPP BUTTON
   ======================================== */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent-white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 9998;
  transition: all 0.3s ease;
  animation: pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
}

.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid #25D366;
  border-radius: 50%;
  animation: pulsering 1.5s ease-out infinite;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    width: 55px;
    height: 55px;
    font-size: 1.8rem;
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

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

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

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes float {
  from {
    transform: translate(0, 0) rotate(0deg);
  }
  to {
    transform: translate(100px, 100px) rotate(360deg);
  }
}

@keyframes pulsering {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center {
  text-align: center;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

/* ========================================
   VIDEO SECTION
   ======================================== */

.video-section {
  background: linear-gradient(135deg, #060e2e 0%, #0D2DB5 50%, #060e2e 100%);
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.video-section::before {
  content: '🎬';
  position: absolute;
  font-size: 220px;
  opacity: 0.03;
  bottom: -40px;
  left: -20px;
  line-height: 1;
}

.video-title {
  color: var(--accent-yellow) !important;
}

.video-subtitle {
  color: rgba(255,255,255,0.8) !important;
}

.video-wrapper {
  max-width: 860px;
  margin: 48px auto 40px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
  background: #000;
  position: relative;
}

.video-wrapper::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--accent-yellow), var(--primary-blue));
  z-index: -1;
}

.video-player {
  width: 100%;
  display: block;
  border-radius: 22px;
  max-height: 520px;
  object-fit: cover;
}

.video-cta {
  text-align: center;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .video-player {
    max-height: 260px;
  }

  .video-wrapper {
    margin: 32px auto 28px;
    border-radius: 16px;
  }
}

/* ========================================
   SORTEO SECTION
   ======================================== */

.sorteo-section {
  background: linear-gradient(135deg, #0a1a6e 0%, #1F4FE6 50%, #0a1a6e 100%);
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.sorteo-section::before {
  content: '🐾';
  position: absolute;
  font-size: 200px;
  opacity: 0.04;
  top: -30px;
  right: -30px;
  line-height: 1;
}

.sorteo-title {
  color: var(--accent-yellow) !important;
}

.sorteo-subtitle {
  color: rgba(255,255,255,0.85) !important;
}

/* Premio Cards */
.premios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 50px 0;
}

.premio-card {
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  border: 2px solid transparent;
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.premio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.premio-gold {
  border-color: #FFD700;
  background: linear-gradient(145deg, rgba(255,215,0,0.15), rgba(255,215,0,0.05));
}

.premio-silver {
  border-color: #C0C0C0;
  background: linear-gradient(145deg, rgba(192,192,192,0.15), rgba(192,192,192,0.05));
}

.premio-bronze {
  border-color: #CD7F32;
  background: linear-gradient(145deg, rgba(205,127,50,0.15), rgba(205,127,50,0.05));
}

.premio-numero {
  font-size: 3rem;
  line-height: 1;
}

.premio-titulo {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--accent-yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.premio-descripcion {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  flex: 1;
}

.premio-descripcion strong {
  color: #fff;
}

.premio-validez {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.validez-pais {
  background: rgba(16,185,129,0.25);
  color: #6ee7b7;
  border: 1px solid rgba(16,185,129,0.4);
}

.validez-fdo {
  background: rgba(255,215,0,0.2);
  color: #FFD700;
  border: 1px solid rgba(255,215,0,0.4);
}

.premio-fecha {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  text-align: center;
}

/* CTA wrapper (landing — sin form) */
.sorteo-cta-wrapper {
  text-align: center;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.sorteo-cta-text {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
}

.btn-sorteo-ir {
  display: inline-block;
  padding: 28px 72px;
  background: var(--accent-yellow);
  color: var(--primary-blue-dark);
  font-family: inherit;
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  text-align: center;
}

.btn-sorteo-ir:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255,215,0,0.55);
  color: var(--primary-blue-dark);
}

.sorteo-cta-hint {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* Sorteo Form */
.sorteo-form-wrapper {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 720px;
  margin: 0 auto;
  backdrop-filter: blur(6px);
}

.sorteo-form-titulo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 8px;
}

.sorteo-form-subtitulo {
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.sorteo-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sorteo-field-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sorteo-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sorteo-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sorteo-field input {
  padding: 14px 18px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.sorteo-field input::placeholder {
  color: rgba(255,255,255,0.35);
}

.sorteo-field input:focus {
  border-color: var(--accent-yellow);
  background: rgba(255,255,255,0.15);
}

/* Remove number spinners */
.sorteo-field input[type=number]::-webkit-inner-spin-button,
.sorteo-field input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.sorteo-check-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sorteo-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  user-select: none;
}

.sorteo-checkbox-label input[type="checkbox"] {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  accent-color: var(--accent-yellow);
  cursor: pointer;
  flex-shrink: 0;
}

.sorteo-check-hint {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-left: 34px;
}

.btn-sorteo-submit {
  background: var(--accent-yellow);
  color: var(--primary-blue-dark);
  font-size: 1.1rem;
  font-weight: 800;
  padding: 18px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  margin-top: 8px;
}

.btn-sorteo-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,215,0,0.5);
  background: #ffe040;
}

.btn-sorteo-submit:active {
  transform: translateY(0);
}

.btn-sorteo-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.sorteo-mensaje {
  text-align: center;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  display: none;
}

.sorteo-mensaje.ok {
  display: block;
  background: rgba(16,185,129,0.2);
  border: 1px solid rgba(16,185,129,0.5);
  color: #6ee7b7;
}

.sorteo-mensaje.error {
  display: block;
  background: rgba(230,57,70,0.2);
  border: 1px solid rgba(230,57,70,0.5);
  color: #fca5a5;
}

@media (max-width: 900px) {
  .premios-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {
  .sorteo-form-wrapper {
    padding: 32px 20px;
  }

  .sorteo-field-group {
    grid-template-columns: 1fr;
  }
}
