* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Updated color palette to dark theme with vibrant gaming/betting accents */
:root {
  --primary-color: #ff6b35;
  --secondary-color: #f7931e;
  --accent-color: #00d4ff;
  --success-color: #00ff88;
  --warning-color: #ffeb3b;
  --danger-color: #ff4757;

  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #2a2a2a;
  --bg-card: #1e1e1e;

  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #808080;

  --border-color: #333333;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.3);
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  background-image: radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 55px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.3));
  margin-top: -15px;
  margin-right: 10px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  background-image: radial-gradient(circle at 30% 40%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
  padding: 140px 0 0px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(180deg, transparent 0%, var(--bg-secondary) 100%);
  z-index: 2;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 3;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="#1a1a1a"></path><path d="M0,120V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".5" fill="#0a0a0a"></path><path d="M0,120V15.81C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V120Z" fill="#0a0a0a"></path></svg>')
    no-repeat;
  background-size: cover;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 120px;
  position: relative;
  z-index: 4;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.brand-text {
  background: linear-gradient(45deg, #fe00b9, var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.3));
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-primary);
  font-weight: 600;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary-color);
}

.feature i {
  color: var(--accent-color);
  font-size: 1.3rem;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Rifas Section */
.rifas {
  padding: 0px 0 100px;
  background: var(--bg-secondary);
  position: relative;
  z-index: 1;
}

.rifas::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.8) 0%, transparent 100%);
  z-index: 1;
}

.rifas .container {
  position: relative;
  z-index: 2;
  padding-top: 80px;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 4rem;
  color: var(--text-primary);
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
}

.rifas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
}

.rifa-card {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  border: 1px solid var(--border-color);
  position: relative;
}

.rifa-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.rifa-card:hover::before {
  opacity: 1;
}

.rifa-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary-color);
}

.rifa-image {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.rifa-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.rifa-card:hover .rifa-image img {
  transform: scale(1.1);
}

.rifa-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(45deg, var(--success-color), #00cc70);
  color: var(--bg-primary);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
  animation: pulse 2s infinite;
}

.rifa-badge.coming-soon {
  background: linear-gradient(45deg, var(--warning-color), #ffd700);
  box-shadow: 0 4px 15px rgba(255, 235, 59, 0.3);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Carrusel de imágenes en rifas */
.rifa-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease-in-out;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
  position: relative;
}

.rifa-card:hover .carousel-slide img {
  transform: scale(1.1);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: var(--text-primary);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  opacity: 0;
}

.rifa-card:hover .carousel-btn {
  opacity: 1;
}

.carousel-btn:hover {
  background: rgba(255, 107, 53, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 15px;
}

.carousel-next {
  right: 15px;
}

.carousel-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* Estado sin rifas - Diseño minimalista */
.no-rifas-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  padding: 2rem;
}

.no-rifas-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  max-width: 500px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.no-rifas-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  opacity: 0.8;
}

.no-rifas-icon {
  margin-bottom: 1.5rem;
}

.no-rifas-icon i {
  font-size: 4rem;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: sparkle 2s ease-in-out infinite alternate;
}

@keyframes sparkle {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

.no-rifas-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.no-rifas-description {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.no-rifas-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.feature-item i {
  color: var(--primary-color);
  font-size: 1rem;
}

.rifa-content {
  padding: 2rem;
}

.rifa-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.rifa-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.rifa-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.info-item i {
  color: #fd762f;
  font-size: 1.1rem;
}

.rifa-progress {
  margin-bottom: 2rem;
}

.progress-bar {
  width: 100%;
  height: 24px;
  background: var(--bg-tertiary);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.8rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: width 0.6s ease;
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0px;
}

.progress-percentage {
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.rifa-button {
  width: 100%;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: var(--text-primary);
  border: none;
  padding: 15px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.rifa-button:hover:not(.disabled) {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.rifa-button.disabled {
  background: var(--bg-tertiary);
  color: var(--text-muted);
  cursor: not-allowed;
  box-shadow: none;
}

/* About Section */
.about {
  padding: 100px 0;
  background: var(--bg-primary);
  position: relative;
  background-image: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 15%);
}

.about::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M1200,0H0V120H1200V0Z" fill="#1a1a1a"></path><path d="M0,120V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V120Z" opacity=".25" fill="#0a0a0a"></path><path d="M0,120V15.81C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V120Z" fill="#0a0a0a"></path></svg>')
    no-repeat;
  background-size: cover;
  z-index: 1;
}

.about-content {
  text-align: center;
}

.about h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-primary);
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 4rem;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.stat {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-card);
  border-radius: 20px;
  transition: all 0.4s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.stat:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary-color);
}

.stat h3 {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.stat p {
  color: var(--text-secondary);
  font-weight: 600;
  margin: 0;
  font-size: 1.1rem;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background: var(--bg-secondary);
  background-image: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 15%);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border-radius: 15px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.2);
}

.faq-question {
  padding: 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(255, 107, 53, 0.05);
}

.faq-question h3 {
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  flex: 1;
}

.faq-question i {
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 2rem 2rem;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  font-size: 1rem;
}

.fas.fa-eye, .fas.fa-eye-slash {
  position:relative;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-features {
    gap: 1.5rem;
    flex-direction: column;
    align-items: center;
  }

  .rifas-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .rifa-info {
    flex-direction: column;
    gap: 1rem;
  }

  .about h2,
  .section-title {
    font-size: 2.2rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .rifas-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .rifa-card {
    margin: 0 10px;
  }

  .faq-question {
    padding: 1.5rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
  }
}

/* Footer */
.footer {
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 100px;
  width: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.3));
}

.footer-section h4 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: var(--text-primary);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-links a:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 107, 53, 0.4);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Sistema de Notificaciones */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: none;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  animation: slideInRight 0.3s ease;
}

.notification.success {
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid var(--success-color);
}

.notification.error {
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid var(--danger-color);
}

.notification.warning {
  background: rgba(255, 235, 59, 0.1);
  border: 1px solid var(--warning-color);
}

.notification.info {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--accent-color);
}

.notification-content {
  display: flex;
  align-items: center;
  padding: 1rem;
  gap: 1rem;
}

.notification-icon {
  font-size: 1.5rem;
  color: inherit;
}

.notification.success .notification-icon {
  color: var(--success-color);
}

.notification.error .notification-icon {
  color: var(--danger-color);
}

.notification.warning .notification-icon {
  color: var(--warning-color);
}

.notification.info .notification-icon {
  color: var(--accent-color);
}

.notification-text {
  flex: 1;
}

.notification-title {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.notification-time {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.notification-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.notification-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Sistema de Loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(5px);
}

.loader-content {
  text-align: center;
  color: var(--text-primary);
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 107, 53, 0.3);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-content p {
  margin: 0;
  font-weight: 500;
  color: var(--text-secondary);
}

/* === ESTILOS PARA VERIFICACIÓN DE TICKETS === */

/* Container para botones de rifa */
.rifa-buttons {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

/* Estilos para botones primario y secundario */
.rifa-button.primary {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.rifa-button.secondary {
  background: linear-gradient(45deg, var(--accent-color), #0099cc);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
  font-size: 0.95rem;
  width: 30%;
}

.rifa-button.secondary:hover:not(.disabled) {
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.rifa-button.secondary i {
  margin-right: 8px;
}

@media only screen and (max-width: 600px) {
  .rifa-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
  .rifa-button.secondary {
    width: 100%;
  }
}

/* Modal de verificación de tickets */
.ticket-verify-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.ticket-verify-modal .modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.ticket-verify-modal .modal-container {
  position: relative;
  background: var(--bg-card);
  border-radius: 15px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 1;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(-30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ticket-verify-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  border-radius: 15px 15px 0 0;
}

.ticket-verify-modal .modal-header h3 {
  color: var(--accent-color);
  margin: 0;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ticket-verify-modal .modal-header i {
  color: var(--accent-color);
  font-size: 1.1rem;
}

.ticket-verify-modal .close-modal-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticket-verify-modal .close-modal-btn:hover {
  background: rgba(255, 71, 87, 0.1);
  color: var(--danger-color);
}

.ticket-verify-modal .modal-content {
  padding: 2rem;
}

/* Formulario de verificación */
.verify-form {
  margin-bottom: 2rem;
}

.verify-form .form-group {
  margin-bottom: 1.5rem;
}

.verify-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.verify-form .form-control {
  width: 100%;
  padding: 12px 15px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.verify-form .form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.verify-btn {
  background: linear-gradient(45deg, var(--accent-color), #0099cc);
  color: var(--text-primary);
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.verify-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

/* Contenedor de resultados */
.verify-results {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  margin-top: 2rem;
}

/* Estados de carga, error y sin tickets */
.loading-container,
.error-container,
.no-tickets-container {
  text-align: center;
  padding: 3rem 2rem;
}

.loading-container .loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 212, 255, 0.3);
  border-top: 3px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

.error-container i,
.no-tickets-container i {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.error-container i {
  color: var(--danger-color);
}

.no-tickets-container i {
  color: var(--text-muted);
}

.error-container h4,
.no-tickets-container h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.error-container p,
.no-tickets-container p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.no-tickets-container .help-text {
  margin-top: 1.5rem;
}

.no-tickets-container .help-text small {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Tickets encontrados */
.tickets-found {
  animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.tickets-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 212, 255, 0.1));
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.tickets-header i {
  font-size: 2.5rem;
  color: var(--success-color);
  margin-bottom: 1rem;
  display: block;
}

.tickets-header h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.tickets-header p {
  color: var(--text-secondary);
  margin: 0;
}

/* Lista de tickets */
.tickets-list {
  margin-bottom: 2rem;
}

.ticket-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 10px;
  margin-bottom: 12px;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}

.ticket-item:hover {
  background: var(--bg-tertiary);
  transform: translateX(5px);
}

.ticket-item.confirmed {
  border-left-color: var(--success-color);
}

.ticket-item.pending {
  border-left-color: var(--warning-color);
}

.ticket-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ticket-number {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.ticket-number i {
  margin-right: 8px;
  color: var(--accent-color);
}

.ticket-details {
  display: flex;
  gap: 15px;
  font-size: 0.9rem;
}

.ticket-price {
  color: var(--success-color);
  font-weight: 600;
}

.ticket-date {
  color: var(--text-muted);
}

.ticket-status {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.ticket-status i {
  font-size: 1.2rem;
}

.ticket-item.confirmed .ticket-status i {
  color: var(--success-color);
}

.ticket-item.pending .ticket-status i {
  color: var(--warning-color);
}

.ticket-status span {
  font-size: 0.85rem;
  font-weight: 600;
}

.ticket-item.confirmed .ticket-status span {
  color: var(--success-color);
}

.ticket-item.pending .ticket-status span {
  color: var(--warning-color);
}

/* Resumen de tickets */
.tickets-summary {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
}

.summary-stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.stat-item {
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.stat-item span {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.help-info p {
  margin: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.help-info p i {
  margin-right: 8px;
  width: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .ticket-verify-modal .modal-container {
    width: 95%;
    margin: 1rem;
    max-height: 95vh;
  }

  .ticket-verify-modal .modal-content {
    padding: 1.5rem;
  }

  .ticket-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .ticket-status {
    align-items: flex-start;
  }

  .summary-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .rifa-buttons {
    gap: 8px;
  }

  .rifa-button {
    font-size: 0.95rem;
    padding: 12px;
  }

  .rifa-button.secondary {
    font-size: 0.9rem;
  }
}