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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  color: #333;
}

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

/* Header Styles */
.header {
  text-align: center;
  margin-bottom: 3rem;
  color: white;
}

.title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.9;
}

/* Main Content */
.main-content {
  margin-bottom: 3rem;
}

.rifas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  justify-items: center;
}

/* Rifa Cards */
.rifa-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  max-width: 350px;
  width: 100%;
}

.rifa-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #3B82F6, #10B981, #F59E0B);
}

.rifa-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.rifa-premium::before {
  background: linear-gradient(90deg, #3B82F6, #1D4ED8);
}

.rifa-gaming::before {
  background: linear-gradient(90deg, #10B981, #059669);
}

.rifa-console::before {
  background: linear-gradient(90deg, #F59E0B, #D97706);
}

.rifa-icon {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 1rem;
}

.rifa-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-align: center;
  color: #1F2937;
}

.rifa-description {
  font-size: 0.95rem;
  color: #6B7280;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.rifa-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.price {
  font-weight: 700;
  font-size: 1.2rem;
  color: #059669;
}

.tickets {
  color: #6B7280;
}

/* Buttons */
.rifa-button {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rifa-button span {
  position: relative;
  z-index: 2;
}

.button-overlay {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.rifa-button:hover .button-overlay {
  left: 100%;
}

.btn-premium {
  background: linear-gradient(135deg, #3B82F6, #1D4ED8);
  color: white;
}

.btn-premium:hover {
  background: linear-gradient(135deg, #1D4ED8, #1E40AF);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.btn-gaming {
  background: linear-gradient(135deg, #10B981, #059669);
  color: white;
}

.btn-gaming:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

.btn-console {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: white;
}

.btn-console:hover {
  background: linear-gradient(135deg, #D97706, #B45309);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
}

/* Footer */
.footer {
  text-align: center;
  color: white;
  opacity: 0.8;
  font-size: 0.9rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  .title {
    font-size: 2.5rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }
  
  .rifas-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .rifa-card {
    padding: 1.5rem;
  }
  
  .rifa-icon {
    font-size: 3rem;
  }
  
  .rifa-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 2rem;
  }
  
  .rifa-info {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .price {
    font-size: 1.1rem;
  }
  
  .contact-buttons {
    bottom: 1rem;
    right: 1rem;
  }
  
  .contact-btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
  
  .contact-text {
    display: none;
  }
  
  .contact-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    justify-content: center;
    padding: 0;
  }
  
  .contact-icon {
    font-size: 1.5rem;
  }
}

/* Animation for page load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rifa-card {
  animation: fadeInUp 0.6s ease forwards;
}

.rifa-card:nth-child(1) { animation-delay: 0.1s; }
.rifa-card:nth-child(2) { animation-delay: 0.2s; }
.rifa-card:nth-child(3) { animation-delay: 0.3s; }
/* Contact Buttons */
.contact-buttons {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1000;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

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

.contact-btn:hover::before {
  left: 100%;
}

.contact-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
}

.whatsapp-btn:hover {
  background: linear-gradient(135deg, #128C7E, #075E54);
}

.email-btn {
  background: linear-gradient(135deg, #4285F4, #1a73e8);
  color: white;
}

.email-btn:hover {
  background: linear-gradient(135deg, #1a73e8, #1557b0);
}

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

.contact-text {
  position: relative;
  z-index: 2;
}

/* Footer contact info */
.footer-contact {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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