body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #3C4C43;
  color: #E8D8B9;
}

header {
  background: #3C4C43;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  background: #E8D8B9;
  border-radius: 0 0 18px 18px;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3C4C43;
  border-radius: 50%;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.logo {
  height: 90px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #3C4C43;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.nav-links li a:hover {
  color: #8A7B5C;
  text-shadow: 0 2px 8px rgba(60,76,67,0.10);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.menu-toggle span {
  width: 28px;
  height: 3px;
  background: #E8D8B9;
  border-radius: 2px;
  display: block;
}

main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.section {
  margin-bottom: 3rem;
  background: rgba(60,76,67,0.97);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 2.5rem 2rem;
  position: relative;
  z-index: 2;
}

#cuentas.section {
  background: #F5F3ED;
}

.section.cuentas {
  background: #F5F3ED;
}

.section.contacto {
  background: #fff;
  color: #3C4C43;
  margin-top: 2.5rem;
}

.section.boletos {
  background: #fff;
  color: #3C4C43;
  margin-bottom: 2.5rem;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 2.5rem 2rem;
}

.inicio h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.7rem;
  margin-bottom: 1rem;
  color: #E8D8B9;
}
.luxury {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  color: #E8D8B9;
  letter-spacing: 2px;
}
.inicio p {
  font-size: 1.2rem;
  color: #C2B28F;
}

.boletos-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  color: #3C4C43;
  margin-bottom: 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.boletos-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.boletos-buscar {
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  border: 1px solid #C2B28F;
  font-size: 1.1rem;
  width: 180px;
  background: #E8D8B9;
  color: #3C4C43;
}

#contador-seleccionados {
  font-size: 1.1rem;
  font-weight: 700;
  color: #3C4C43;
}

.boletos-btn {
  background: #3C4C43;
  color: #E8D8B9;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.5rem;
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(60,76,67,0.08);
  display: inline-block;
}

.boletos-btn:hover {
  background: #E8D8B9;
  color: #3C4C43;
}

.boletos-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 0.5rem;
  max-height: 420px;
  overflow-y: auto;
  overflow-x: auto;
  background: #F5F3ED;
  border-radius: 12px;
  padding: 1.2rem 0.5rem;
  margin-top: 1.2rem;
}

.boleto-num {
  background: #fff;
  color: #3C4C43;
  border: 1.5px solid #C2B28F;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.7rem 0;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border 0.15s;
  user-select: none;
}

.boleto-num.selected {
  background: #3C4C43;
  color: #E8D8B9;
  border: 2px solid #3C4C43;
}

.boleto-num.occupied {
  background: #C2B28F;
  color: #fff;
  border: 2px solid #C2B28F;
  cursor: not-allowed;
  opacity: 0.6;
}

@media (max-width: 900px) {
  .boletos-grid {
    grid-template-columns: repeat(6, 1fr);
    max-height: 260px;
    padding: 0.7rem 0.2rem;
  }
}
@media (max-width: 600px) {
  .boletos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cuentas-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.cuenta {
  background: #2E3933;
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  min-width: 220px;
  flex: 1 1 220px;
  box-shadow: 0 4px 18px rgba(60,76,67,0.10);
}
.cuenta h3 {
  margin-top: 0;
  color: #E8D8B9;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cuenta p {
  margin: 0.3rem 0;
  color: #C2B28F;
}

.contacto-info p, .contacto-info a {
  color: #E8D8B9;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  text-decoration: none;
}
.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
  box-shadow: 0 4px 18px rgba(60,76,67,0.10);
}
.contacto-form input, .contacto-form textarea {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: none;
  background: #E8D8B9;
  color: #3C4C43;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  resize: none;
}
.contacto-form button {
  background: #3C4C43;
  color: #E8D8B9;
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: not-allowed;
  opacity: 0.7;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}
.contacto-form button:hover {
  background: #8A7B5C;
  color: #3C4C43;
  opacity: 1;
}

footer {
  text-align: center;
  padding: 1.5rem 0;
  background: #2E3933;
  color: #C2B28F;
  font-size: 1rem;
  letter-spacing: 1px;
  margin-top: 2rem;
  border-radius: 18px 18px 0 0;
}

@media (max-width: 800px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    background: #E8D8B9;
  }
  .nav-links {
    background: #E8D8B9;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  main {
    padding: 0 0.3rem;
  }
  .section {
    padding: 1.2rem 0.7rem;
  }
  .logo {
    height: 60px;
  }
  .logo-container {
    padding: 8px;
  }
  .cuentas-lista {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 4px 18px rgba(60,76,67,0.18);
  z-index: 200;
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.whatsapp-float:hover {
  background: #128C7E;
  box-shadow: 0 8px 24px rgba(60,76,67,0.22);
}

/* Divisor moderno entre secciones */
.section-divider {
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  position: relative;
  display: block;
  z-index: 1;
}

/* Ajuste para divisores en pantallas pequeñas */
@media (max-width: 600px) {
  .section-divider {
    height: 32px;
  }
}

@media (max-width: 900px) {
  main {
    max-width: 100vw;
    padding: 0;
  }
}

.header-visual {
  width: 100vw;
  min-height: 340px;
  height: 45vh;
  max-height: 480px;
  background: url('header-bg.jpg') center center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.header-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(60,76,67,0.60);
  z-index: 1;
}
.header-visual .section.inicio {
  position: relative;
  z-index: 2;
  margin: 0;
  background: rgba(232,216,185,0.97);
  color: #3C4C43;
  box-shadow: 0 8px 32px rgba(60,76,67,0.18);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  max-width: 520px;
  text-align: center;
}
.header-visual .luxury {
  color: #3C4C43;
}
.header-visual .inicio p {
  color: #8A7B5C;
}
@media (max-width: 700px) {
  .header-visual {
    min-height: 200px;
    height: 32vh;
    max-height: 260px;
  }
  .header-visual .section.inicio {
    padding: 1.2rem 0.7rem;
    max-width: 98vw;
  }
}

.carousel {
  width: 100vw;
  min-height: 600px;
  height: 80vh;
  max-height: 900px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.carousel-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s;
  z-index: 0;
}
.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(60,76,67,0.7);
  color: #E8D8B9;
  border: none;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-arrow.left { left: 24px; }
.carousel-arrow.right { right: 24px; }
.carousel-arrow:hover { background: #3C4C43; }

.carousel .header-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(60,76,67,0.35);
  z-index: 2;
}
.carousel .section.inicio {
  position: relative;
  z-index: 4;
  margin: 0;
  background: rgba(232,216,185,0.97);
  color: #3C4C43;
  box-shadow: 0 8px 32px rgba(60,76,67,0.18);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  max-width: 520px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.carousel .section.inicio .header-logo {
  width: 90px;
  height: auto;
  margin-bottom: 1.2rem;
  background: #3C4C43;
  border-radius: 50%;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  display: block;
}
.carousel .section.inicio h1 {
  color: #3C4C43;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(60,76,67,0.10);
  margin-bottom: 0.7rem;
}
.carousel .section.inicio .bienvenido {
  color: #3C4C43;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(60,76,67,0.13);
  display: block;
  margin-bottom: 0.2rem;
}
.carousel .luxury {
  color: #3C4C43;
}
.carousel .inicio p {
  color: #8A7B5C;
}
@media (max-width: 700px) {
  .carousel {
    min-height: 260px;
    height: 40vh;
    max-height: 420px;
  }
  .carousel .section.inicio {
    padding: 1.2rem 0.7rem;
    max-width: 98vw;
  }
  .carousel-arrow.left { left: 8px; }
  .carousel-arrow.right { right: 8px; }
}

.rifas-section {
  max-width: 1100px;
  margin: 2.5rem auto 0 auto;
  padding: 0 1rem 2.5rem 1rem;
}
.rifas-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  color: #fff;
  margin-bottom: 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.rifas-section .rifa-icon {
  width: 2.1rem;
  height: 2.1rem;
  display: inline-block;
  animation: bounce 1.2s infinite alternate;
}
@keyframes bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}
.rifas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: flex-start;
}
.rifa-card {
  background: #fff;
  color: #3C4C43;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(60,76,67,0.10);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  min-width: 280px;
  max-width: 340px;
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
}
.rifa-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(60,76,67,0.16);
}
.rifa-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.rifa-fecha {
  font-size: 1rem;
  color: #8A7B5C;
  margin-bottom: 0.7rem;
  display: block;
}
.rifa-card p {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  color: #3C4C43;
}
.rifa-btn {
  background: #3C4C43;
  color: #E8D8B9;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.5rem;
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
  margin-top: auto;
  box-shadow: 0 2px 8px rgba(60,76,67,0.08);
  display: inline-block;
}
.rifa-btn:hover {
  background: #E8D8B9;
  color: #3C4C43;
}
.rifa-card.finalizado {
  background: #F5F3ED;
  color: #8A7B5C;
}
.rifa-btn.finalizado {
  background: #8A7B5C;
  color: #fff;
}
.rifa-btn.finalizado:hover {
  background: #3C4C43;
  color: #E8D8B9;
}
.rifa-card.disponible {
  min-width: 90vw;
  max-width: 1100px;
  width: 100%;
  padding: 2.5rem 2.5rem 2rem 2.5rem;
}
.rifa-card.disponible h3 {
  font-size: 2.1rem;
  margin-top: 1.2rem;
  margin-bottom: 0.7rem;
  text-align: left;
}
.rifa-card.disponible .rifa-fecha {
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
  display: block;
}
.rifa-card.disponible p,
.rifa-card.disponible ul,
.rifa-card.disponible .rifa-contacto {
  font-size: 1.18rem;
  line-height: 1.6;
}
.rifa-card.disponible .rifa-premios {
  margin: 1.2rem 0 1.2rem 0;
  padding-left: 1.5rem;
}
.rifa-card.disponible .rifa-galeria {
  gap: 2.5rem;
  justify-content: center;
  align-items: center;
  margin: 2.5rem 0 2.5rem 0;
  display: flex;
}
.rifa-card.disponible .rifa-galeria::-webkit-scrollbar {
  display: none;
}
.rifa-card.disponible .rifa-img-mini {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 20px;
  border: 2px solid #E8D8B9;
  box-shadow: 0 4px 18px rgba(60,76,67,0.15);
  background: #fff;
  margin: 0;
}
.rifa-galeria {
  display: flex;
  gap: 0.4rem;
  margin: 0.5rem 0 0.7rem 0;
  justify-content: flex-start;
  align-items: center;
}
.rifa-img-mini {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #E8D8B9;
  box-shadow: 0 1px 6px rgba(60,76,67,0.10);
  background: #fff;
}
.rifa-contacto {
  font-size: 0.98rem;
  color: #8A7B5C;
  margin-bottom: 0.7rem;
  margin-top: 0.7rem;
}
@media (max-width: 900px) {
  .rifas-list {
    flex-direction: column;
    gap: 1.2rem;
  }
  .rifa-card {
    min-width: 85vw;
    max-width: 95vw;
    flex: 0 0 85vw;
  }
}
@media (max-width: 1100px) {
  .rifa-card.disponible {
    min-width: 98vw;
    max-width: 100vw;
  }
}

.rifas-carousel-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}
.rifas-carousel {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 2rem;
  width: 100%;
  padding-bottom: 8px;
}
.rifas-carousel::-webkit-scrollbar {
  display: none;
}
.rifas-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #3C4C43;
  color: #E8D8B9;
  border: none;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}
.rifas-arrow.left { left: -22px; }
.rifas-arrow.right { right: -22px; }
.rifas-arrow:hover { background: #E8D8B9; color: #3C4C43; }
@media (max-width: 900px) {
  .rifas-arrow.left { left: 0; }
  .rifas-arrow.right { right: 0; }
  .rifas-carousel-container { margin-bottom: 1.2rem; }
  .rifas-carousel { gap: 1.2rem; }
}

.cuentas-titulo {
  color: #3C4C43;
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  margin-bottom: 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.cuentas-icon {
  width: 2.1rem;
  height: 2.1rem;
  display: inline-block;
  animation: bounce 1.2s infinite alternate;
}

.cuenta-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 0.7rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  box-shadow: 0 1px 6px rgba(60,76,67,0.08);
}

.footer-luxury {
  background: #E8D8B9;
  color: #fff;
  padding: 2.5rem 0 0.7rem 0;
  margin-top: 2.5rem;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 0 2rem;
}
.footer-col {
  flex: 1 1 180px;
  min-width: 180px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  color: #3C4C43;
}
.footer-col p, .footer-col a {
  color: #3C4C43;
  text-align: justify;
  margin: 0.2rem 0;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-info-icon {
  width: 1.4em;
  height: 1.4em;
  display: inline-block;
  animation: bounce 1.2s infinite alternate;
  flex-shrink: 0;
}
.footer-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: #3C4C43;
}
.footer-logo {
  width: 90px;
  height: auto;
  margin-top: 0.5rem;
  border-radius: 12px;
  background: #fff;
  padding: 0.3rem;
}
.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}
.footer-social img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #3C4C43;
  padding: 0.3rem;
  box-shadow: 0 4px 18px rgba(60,76,67,0.18);
  transition: transform 0.18s, box-shadow 0.18s;
}
.footer-social img:hover {
  transform: scale(1.12) rotate(-8deg);
  box-shadow: 0 4px 18px rgba(60,76,67,0.18);
}
.footer-copy {
  text-align: center;
  color: #3C4C43;
  font-size: 1rem;
  margin-top: 2.2rem;
  letter-spacing: 1px;
}
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  .footer-col {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }
}

.contacto-titulo {
  color: #3C4C43;
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  margin-bottom: 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.contacto-icon {
  width: 2.1rem;
  height: 2.1rem;
  display: inline-block;
  animation: bounce 1.2s infinite alternate;
}

.rifa-premios {
  margin: 0.7rem 0 0.7rem 0;
  padding-left: 1.1rem;
  color: #3C4C43;
  font-size: 1rem;
}
.rifa-premios li {
  margin-bottom: 0.3rem;
  list-style: disc;
}

.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 200;
}
.whatsapp-float, .instagram-float {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(60,76,67,0.18);
  transition: background 0.2s, box-shadow 0.2s, transform 0.18s;
  text-decoration: none;
}
.whatsapp-float {
  background: #25D366;
  color: #fff;
}
.whatsapp-float:hover {
  background: #128C7E;
  transform: scale(1.08);
}
.instagram-float {
  background: #E4405F;
  color: #fff;
}
.instagram-float:hover {
  background: #C13584;
  transform: scale(1.08);
}
.floating-buttons svg {
  width: 32px;
  height: 32px;
  display: block;
}
@media (max-width: 600px) {
  .floating-buttons {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }
  .whatsapp-float, .instagram-float {
    width: 48px;
    height: 48px;
  }
  .floating-buttons svg {
    width: 24px;
    height: 24px;
  }
}

.boletos-icon {
  width: 2.1rem;
  height: 2.1rem;
  display: inline-block;
  animation: bounce 1.2s infinite alternate;
}
.animated-ticket {
  display: inline-block;
}

/* Estilos para contenedores de datos */
.data-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.data-text {
  font-size: 1.1rem;
  word-break: break-all;
}

.data-item {
  font-size: 1.1rem;
  margin-top: 0.3rem;
}

/* Estilos para botones de copiar */
.copy-btn {
  background: #3C4C43;
  border: 2px solid #E8D8B9;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 80px;
  min-height: 36px;
}

.copy-text {
  color: #E8D8B9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.copy-btn:hover {
  background-color: #E8D8B9;
  color: #3C4C43;
  transform: scale(1.05);
}

.copy-btn:hover .copy-text {
  color: #3C4C43;
}

.copy-btn:active {
  transform: scale(0.95);
}

.copy-btn svg {
  transition: stroke 0.2s;
}

.copy-btn:hover svg path,
.copy-btn:hover svg rect {
  stroke: #C2B28F;
}

/* Mensaje de copiado */
.copy-message {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  z-index: 1000;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.copy-message.show {
  opacity: 1;
  transform: translateY(0);
} 

@media (max-width: 500px) {
  .boletos-grid {
    width: 100vw;
    margin-left: -8px;
    margin-right: -8px;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }
  .section.boletos {
    padding-left: 0;
    padding-right: 0;
    width: 100vw;
    margin-left: -8px;
    margin-right: -8px;
    box-sizing: border-box;
  }
  .boleto-num {
    font-size: 1.2rem;
    padding: 1rem 0;
    min-width: 44px;
    min-height: 44px;
  }
  .boletos-controls {
    flex-direction: column;
    gap: 0.7rem;
    align-items: stretch;
  }
  .boletos-btn, .boletos-buscar {
    font-size: 1.15rem;
    padding: 1rem 1.2rem;
  }
  .section, .section.boletos, .section.cuentas, .section.contacto {
    padding: 0.7rem 0.2rem;
    margin-bottom: 1.2rem;
  }
  .cuentas-titulo {
    font-size: 1.2rem;
    flex-direction: column;
    gap: 0.3rem;
  }
  .footer-container {
    flex-direction: column;
    gap: 0.7rem;
    padding: 0 0.2rem;
  }
  .footer-col {
    max-width: 100%;
    align-items: flex-start;
    text-align: left;
  }
  .rifa-card, .rifa-card.disponible {
    min-width: 98vw;
    max-width: 100vw;
    padding: 1rem 0.2rem;
  }
  .rifa-card h3 {
    font-size: 1.1rem;
  }
  .rifa-fecha, .rifa-card p, .rifa-card ul, .rifa-card .rifa-contacto {
    font-size: 0.98rem;
  }
  .cuentas-titulo span {
    font-size: 1rem !important;
  }
} 

@media (max-width: 600px) {
  html, body {
    max-width: 100vw;
    overflow-x: hidden;
    font-size: 16px;
    background: #3C4C43;
  }
  header, .navbar {
    min-width: 100vw;
    box-sizing: border-box;
  }
  .navbar {
    flex-direction: row;
    align-items: center;
    padding: 0.5rem 0.5rem;
    max-width: 100vw;
    position: relative;
  }
  .menu-toggle {
    display: flex !important;
    position: fixed;
    top: 12px;
    right: 18px;
    z-index: 2001;
    background: #3C4C43;
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(60,76,67,0.10);
  }
  .menu-toggle span {
    background: #E8D8B9;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #E8D8B9;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(60,76,67,0.10);
  }
  .nav-links.active {
    display: flex !important;
  }
  .nav-links li {
    width: 100vw;
    text-align: center;
  }
  .nav-links li a {
    font-size: 1.5rem;
    padding: 1.2rem 0;
    width: 100vw;
    display: block;
    border-bottom: 1px solid #C2B28F;
  }
  .logo {
    height: 44px;
    max-width: 90vw;
  }
  .logo-container {
    padding: 4px;
  }
  .header-visual {
    min-height: 120px;
    height: auto;
    max-height: none;
    margin-top: 60px;
    padding: 0;
    width: 100vw;
    box-sizing: border-box;
  }
  .carousel, .carousel-slide {
    min-height: 120px;
    height: auto;
    max-height: none;
    width: 100vw;
    box-sizing: border-box;
  }
  .carousel-slide {
    background-size: cover;
    background-position: center;
  }
  .section, .section.boletos, .section.cuentas, .section.contacto {
    padding: 0.5rem 0.1rem;
    margin-bottom: 0.7rem;
    border-radius: 10px;
    width: 100vw;
    box-sizing: border-box;
  }
  .boletos-titulo, .cuentas-titulo, .contacto-titulo {
    font-size: 1.2rem;
    flex-direction: column;
    gap: 0.2rem;
    text-align: center;
    word-break: break-word;
  }
  .boletos-controls {
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
    width: 100%;
  }
  .boletos-btn, .boletos-buscar {
    font-size: 1.2rem;
    padding: 1.1rem 1.2rem;
    width: 100%;
    box-sizing: border-box;
  }
  .boletos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.2rem;
    padding: 0.2rem 0.1rem;
    max-height: 220px;
    width: 100vw;
    box-sizing: border-box;
  }
  .boleto-num {
    font-size: 1.3rem;
    padding: 1.1rem 0;
    min-width: 48px;
    min-height: 48px;
    border-radius: 10px;
    box-sizing: border-box;
    word-break: break-word;
  }
  .rifa-card, .rifa-card.disponible {
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    padding: 0.7rem 0.1rem !important;
    border-radius: 10px;
    box-sizing: border-box !important;
    margin: 0 auto 1rem auto;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
  .rifa-card *, .rifa-card.disponible * {
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 100% !important;
  }
  .rifa-card h3, .rifa-card.disponible h3 {
    font-size: 1.1rem;
    margin: 0.5rem 0 0.5rem 0;
    line-height: 1.2;
    word-break: break-word;
  }
  .rifa-card ul, .rifa-card.disponible ul {
    padding-left: 1.1rem;
    margin: 0.5rem 0;
    font-size: 0.98rem;
    word-break: break-word;
  }
  .rifa-card p, .rifa-card.disponible p {
    font-size: 0.98rem;
    margin: 0.5rem 0;
    line-height: 1.3;
    word-break: break-word;
  }
  .rifa-galeria {
    flex-direction: column !important;
    gap: 0.7rem !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto 1rem auto !important;
  }
  .rifa-img-mini {
    width: 100% !important;
    max-width: 320px !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    display: block !important;
    margin: 0 auto !important;
  }
  .footer-container {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 0.1rem;
    width: 100vw;
    box-sizing: border-box;
  }
  .footer-col {
    max-width: 100%;
    align-items: flex-start;
    text-align: left;
    box-sizing: border-box;
  }
  .contacto-form input, .contacto-form textarea {
    font-size: 1.1rem;
    padding: 1.1rem 0.7rem;
    width: 100%;
    box-sizing: border-box;
  }
  .contacto-form button {
    font-size: 1.1rem;
    padding: 1.1rem 0.7rem;
    width: 100%;
    box-sizing: border-box;
  }
  .whatsapp-float, .instagram-float {
    width: 48px;
    height: 48px;
    right: 12px;
    bottom: 12px;
  }
  
  /* Ajustes para botones de copiar en móvil */
  .copy-btn {
    padding: 12px 16px !important;
    min-width: 100px !important;
    min-height: 48px !important;
    background: #3C4C43 !important;
    border: 2px solid #E8D8B9 !important;
    border-radius: 10px !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
    gap: 8px !important;
  }
  
  .copy-btn svg {
    width: 20px !important;
    height: 20px !important;
  }
  
  .copy-text {
    font-size: 14px !important;
    font-weight: 700 !important;
  }
  
  .copy-btn:hover {
    background: #E8D8B9 !important;
    transform: scale(1.05) !important;
  }
  
  .copy-btn:hover .copy-text {
    color: #3C4C43 !important;
  }
  
  .copy-btn:active {
    transform: scale(0.95) !important;
    background: #C2B28F !important;
  }
  
  .copy-message {
    top: 10px;
    right: 10px;
    left: 10px;
    font-size: 14px;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
  }
  
  /* Mejorar contenedores de datos en móvil */
  .section.cuentas div[style*="background:#3C4C43"] {
    padding: 1rem 0.8rem !important;
  }
  
  .section.cuentas div[style*="display:flex;align-items:center;gap:0.5rem"] {
    gap: 0.8rem !important;
    flex-wrap: wrap !important;
  }
  
  .section.cuentas span[id] {
    word-break: break-all !important;
    font-size: 1rem !important;
  }
  
  /* Mejorar la sección de cuentas en móvil */
  .section.cuentas {
    padding: 1rem 0.5rem !important;
  }
  
  .section.cuentas > div > div {
    margin: 0 0.5rem !important;
  }
  
  /* Asegurar que los botones sean tocables */
  .copy-btn {
    z-index: 10 !important;
    position: relative !important;
  }
  
  /* Mejorar el espaciado en móvil */
  .section.cuentas div[style*="margin-top:1rem;padding-left:2.5rem"] {
    padding-left: 1rem !important;
    margin-top: 0.8rem !important;
  }
  
  .section.cuentas div[style*="font-size:1.1rem;margin-top:0.3rem"] {
    margin-top: 0.5rem !important;
  }
  
  /* Hacer los botones más visibles en móvil */
  .data-container {
    gap: 0.8rem !important;
    margin-top: 0.5rem !important;
  }
  
  .data-text {
    font-size: 1rem !important;
    line-height: 1.3 !important;
  }
  
  /* Asegurar que los botones sean muy visibles */
  .copy-btn {
    position: relative !important;
    z-index: 100 !important;
  }
  
  .copy-btn::before {
    content: "📋";
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 12px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
  }
} 

@media (max-width: 900px) {
  .navbar {
    flex-direction: row;
    align-items: center;
    padding: 0.5rem 0.7rem;
    max-width: 100vw;
    position: relative;
  }
  .menu-toggle {
    display: flex !important;
    position: absolute;
    right: 1rem;
    top: 1rem;
    z-index: 1001;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #E8D8B9;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(60,76,67,0.10);
  }
  .nav-links.active {
    display: flex !important;
  }
  .nav-links li {
    width: 100vw;
    text-align: center;
  }
  .nav-links li a {
    font-size: 1.5rem;
    padding: 1.2rem 0;
    width: 100vw;
    display: block;
    border-bottom: 1px solid #C2B28F;
  }
  .logo {
    height: 48px;
  }
  .logo-container {
    padding: 4px;
  }
  header {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: #3C4C43;
  }
  .header-visual {
    margin-top: 60px;
  }
  .rifa-card, .rifa-card.disponible {
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    padding: 0.7rem 0.1rem !important;
    border-radius: 10px;
    box-sizing: border-box !important;
    margin: 0 auto 1rem auto;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
  .rifa-card *, .rifa-card.disponible * {
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 100% !important;
  }
  .rifa-card h3, .rifa-card.disponible h3 {
    font-size: 1.1rem;
    margin: 0.5rem 0 0.5rem 0;
    line-height: 1.2;
    word-break: break-word;
  }
  .rifa-card ul, .rifa-card.disponible ul {
    padding-left: 1.1rem;
    margin: 0.5rem 0;
    font-size: 0.98rem;
    word-break: break-word;
  }
  .rifa-card p, .rifa-card.disponible p {
    font-size: 0.98rem;
    margin: 0.5rem 0;
    line-height: 1.3;
    word-break: break-word;
  }
} 

@media (max-width: 900px) {
  .rifas-carousel-container,
  .rifas-carousel,
  .rifas-list {
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
    padding: 0 !important;
    flex-wrap: nowrap !important;
    display: block !important;
  }
  .rifa-card, .rifa-card.disponible {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0.7rem 0.2rem !important;
    border-radius: 10px;
    box-sizing: border-box !important;
    margin: 0 auto 1rem auto;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
} 

@media (max-width: 900px) {
  .rifa-galeria {
    flex-direction: column !important;
    gap: 0.7rem !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto 1rem auto !important;
  }
  .rifa-img-mini {
    width: 100% !important;
    max-width: 320px !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    display: block !important;
    margin: 0 auto !important;
  }
} 

@media (max-width: 900px) {
  .rifa-contacto {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.4rem !important;
    font-size: 0.98rem !important;
    word-break: break-word !important;
  }
  .rifa-contacto b:last-child {
    white-space: nowrap !important;
    font-size: 0.98rem !important;
  }
} 

@media (max-width: 600px) {
  .section.boletos {
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box;
  }
  .boletos-grid {
    grid-template-columns: repeat(6, 1fr) !important;
    grid-template-rows: repeat(10, 1fr) !important;
  }
} 

@media (max-width: 600px) {
  .boleto-num {
    min-height: 22px;
    min-width: 22px;
    font-size: 0.62rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0;
    word-break: break-all;
    line-height: 1.1;
    letter-spacing: 0.2px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .boletos-grid {
    grid-auto-rows: minmax(22px, auto);
    gap: 0.15rem;
  }
} 