/* ========== codigo.css ========== */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Roboto, sans-serif
}

body {
    background-color:#0e1411;
    color: #fff;
    line-height: 1.6;
}

.custom-header {
    background: linear-gradient(135deg, #db9d33 0%, #db9d33 50%, #db9d33 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin: 0;
    width: 100%;
    min-height: 60px;
    position: relative;
    z-index: 100;
}

.custom-header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.custom-header .logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

.custom-header .logo img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.custom-header .logo img:hover {
    transform: scale(1.05);
}

/* Nombre de usuario */
.custom-header .logo-text {
    color: white;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.header-icons {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0;
}

/* Botón de modo oscuro */
.theme-toggle {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 18px;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

/* Separador vertical mejorado */
.header-divider {
    width: 2px;
    height: 35px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.5) 50%, 
        transparent 100%);
    margin: 0 8px;
}

/* Contenedor de iconos sociales mejorado */
.social-icons-container {
    display: flex;
    gap: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.534), rgba(255, 255, 255, 0.507));
    padding: 8px 12px;
    border-radius: 30px;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.12),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Iconos sociales con mejor diseño */
.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    position: relative;
}

/* Degradados mejorados para cada red social */
.social-icon.instagram {
    background: linear-gradient(135deg, #F58529 0%, #E1306C 50%, #C13584 100%);
}

.social-icon.telegram {
    background: linear-gradient(135deg, #54A9EB 0%, #0088cc 100%);
}

.social-icon.whatsapp {
    background: linear-gradient(135deg, #4FCE5D 0%, #25D366 100%);
}

/* Efecto hover sutil */
.social-icon:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.social-icon.instagram:hover {
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
}

.social-icon.telegram:hover {
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

.social-icon.whatsapp:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Dropdown Container */
.dropdown-contact {
    position: relative;
    display: none;
}

/* Responsive para tablets */
@media (max-width: 768px) {
    .custom-header {
        padding: 10px 20px;
        min-height: 55px;
    }

    .custom-header .logo img {
        height: 50px;
        width: 50px;
    }

    .custom-header .logo-text {
        font-size: 16px;
    }

    .social-icons-container {
        padding: 6px 10px;
        gap: 6px;
    }

    .social-icon {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .header-divider {
        height: 32px;
    }
}

/* Responsive para móviles */
@media (max-width: 480px) {
    .custom-header {
        padding: 8px 15px;
        min-height: 50px;
    }

    .custom-header .logo img {
        height: 55px;
        width: 55px;
        border-width: 2px;
    }

    .custom-header .logo-text {
        font-size: 15px;
    }

    .header-icons {
        gap: 8px;
    }

    .social-icons-container {
        padding: 5px 8px;
        gap: 5px;
    }

    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }

    .theme-toggle {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .header-divider {
        height: 28px;
        margin: 0 6px;
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 360px) {
    .custom-header {
        padding: 6px 12px;
    }

    .custom-header .logo img {
        height: 42px;
        width: 42px;
    }

    .custom-header .logo-text {
        font-size: 14px;
    }

    .social-icons-container {
        padding: 4px 6px;
        gap: 4px;
    }

    .social-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .theme-toggle {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}


main {
    display: flex;
    justify-content: center;
    margin: 15px 5px;
    padding: 0;
}

.rifas-carrusel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    gap: 24px;
}

.rifa-nav-btn {
    background: linear-gradient(135deg, #ffcd2b 0%, #f0d478 100%);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 12px 22px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(96, 160, 243, 0.4);
    position: relative;
    overflow: hidden;
}

.rifa-nav-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.rifa-nav-btn:hover::before {
    width: 300px;
    height: 300px;
}

.rifa-nav-btn:hover {
    background: linear-gradient(135deg, #f0d478 0%, #a58d3f 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(96, 160, 243, 0.5);
}

.rifa-nav-btn:active {
    transform: translateY(-1px) scale(1.02);
}

#rifa-active-content {
    width: 100%;
    max-width: 440px;
}

.main-container {
    width: 100%;
    max-width: 720px;
    padding: 0 10px;
}

.main-raffle {
    border-radius: 16px;
    margin-bottom: 36px;
    background: linear-gradient(145deg, #252525 0%, #1f1f1f 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 179, 198, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.main-raffle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffcd2b 0%, #f0d478 50%, #ffcd2b 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.main-raffle:hover::before {
    opacity: 1;
}

.main-raffle:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(255, 179, 198, 0.3), 0 0 0 1px rgba(255, 179, 198, 0.2);
}


.main-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    height: 100%;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    max-height: 600px
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

@media (min-width:768px) {
    .main-image {
        max-height: 500px
    }
}

@media (max-width:767px) {
    .main-image {
        max-height: 500px
    }
}

.main-image img:hover {
    transform: scale(1.05)
}

.info {
    padding: 16px;
    background: linear-gradient(145deg, #1a1a1a 0%, #252525 100%);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.main-description h4 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 15px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.main-description p {
    font-size: 14px;
    margin-top: 8px;
    color: #e0e0e0;
    line-height: 1.6;
}

.descripcion-ficha {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    padding: 14px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border-radius: 14px;
    border-left: 5px solid #ffcd2b;
    box-shadow: 0 4px 12px rgba(96, 160, 243, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.descripcion-ficha:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(96, 160, 243, 0.25);
}

.ficha-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #f0f0f0;
    padding: 4px 0;
}

.ficha-item i {
    color: #ffcd2b;
    margin-right: 12px;
    min-width: 18px;
    text-align: center;
    font-size: 15px;
    filter: drop-shadow(0 2px 4px rgba(255, 179, 198, 0.3));
}

.ficha-item span {
    flex: 1;
    word-break: break-word;
}

.raffle-details {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
    background: linear-gradient(135deg, #3d3d3d 0%, #2f2f2f 100%);
    padding: 14px 16px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.raffle-detail {
    display: flex;
    align-items: center;
    font-size: 13.5px;
    color: #f5f5f5;
    gap: 10px;
    font-weight: 500;
}

.raffle-detail i {
    color: #ffcd2b;
    font-size: 16px;
    filter: drop-shadow(0 2px 4px rgba(255, 179, 198, 0.3));
}

.raffle-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    border-left: 5px solid #ffcd2b;
    padding-left: 14px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(255, 179, 198, 0.2);
}

.available-item {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ffcd2b 0%, #f0d478 100%);
    text-transform: uppercase;
    border-radius: 20px;
    margin-top: 8px;
    padding: 10px 18px;
    box-shadow: 0 4px 12px rgba(96, 160, 243, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.available-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(96, 160, 243, 0.4);
}

.scroll-nav {
    position: fixed;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #fc0, #e3b800);
    color: #000;
    font-weight: 700;
    font-family: Roboto, sans-serif;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    gap: 8px;
    cursor: pointer;
    z-index: 1000;
    opacity: .9;
    transition: all .3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
    user-select: none
}

.scroll-nav:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .25)
}

.scroll-nav i {
    font-size: 18px
}

@media (max-width:768px) {
    .available-item {
        font-size: 12px;
        padding: 6px 14px
    }
    .go-to span {
        font-size: 13px;
        padding: 5px 12px
    }
}

@media (max-width:480px) {
    .available-item {
        font-size: 11px;
        padding: 5px 12px
    }
    .go-to a,
    .go-to button {
        font-size: 17px;
        padding: 10px 14px;
        width: 90%;
        max-width: 140px
    }
    .go-to .agotado {
        font-size: 13px;
        padding: 5px 14px;
        width: 90%;
        max-width: 160px
    }
}

.sc {
    border: 1px solid #373737;
    border-radius: 0;
    margin-bottom: -1px
}

.sc:first-child {
    border-radius: 12px 12px 0 0
}

.sc:last-child {
    border-radius: 0 0 12px 12px
}

.group-info {
    display: flex;
    align-items: center
}

.raffle-image {
    display: flex
}

.raffle-image img {
    width: 100%;
    min-width: 150px;
    max-height: 90px;
    border-radius: 12px;
    object-fit: cover;
    user-select: none;
    margin-right: 16px
}

.confirmation-wrapper {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #242424;
}

.confirmation-card {
  background: #181818;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.42);
  max-width: 480px;
  width: 100%;
  padding: 0 0 32px 0;
  margin: 32px 0;
}

.confirmation-header {
  text-align: center;
  padding: 34px 20px 0 20px;
}

.confirmation-title-top {
  color: #bdbdbd;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 8px;
}

.confirmation-header h1 {
  color: #fff;
  font-size: 1.55rem;
  font-weight: 900;
  margin: 0;
  line-height: 1.2;
}

.confirmation-header .brand {
  color: #ffcd2b;
}

.confirmation-image {
  width: 100%;
  background: #232323;
  border-radius: 14px;
  overflow: hidden;
  margin: 24px auto 0 auto;
  max-width: 95%;
  display: flex;
  justify-content: center;
}

.confirmation-image img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.confirmation-details {
  padding: 22px 28px 0 28px;
  text-align: left;
}

.confirmation-date {
  color: #c7e0ff;
  background: #222;
  padding: 7px 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  gap: 8px;
  margin-bottom: 18px;
}

.confirmation-details h2 {
  color: #fff;
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.confirmation-user {
  color: #e0e0e0;
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 10px;
}

.confirmation-user span {
  font-weight: 500;
}

.confirmation-tickets {
  margin: 20px 28px 0 28px;
  background: #232323;
  border-radius: 10px;
  padding: 12px;
  color: #fff;
  text-align: center;
}

.confirmation-tickets h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #fff;
}

.confirmation-tickets ul{
  display: grid;                
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;                    
  padding: 10px;
  margin: 0;
  list-style: none;

  background: rgba(255,255,255,0.04);
  border-radius: 14px;
}

.confirmation-tickets li{
  border-radius: 12px;           
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);

  box-shadow:
    0 1px 0 rgba(0,0,0,0.35),
    0 6px 14px rgba(0,0,0,0.25);

  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  text-align: center;
  min-width: 0;
  line-height: 1.05;
}

.confirmation-tickets li img{
  width: 20px;               
  height: 20px;
  display: block;
}

.confirmation-tickets .ticket-number{
  font-size: 0.95rem;        
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  margin: 0;                 
}

.confirmation-tickets .ticket-zodiac{
  font-size: 0.70rem;       
  font-weight: 600;
  opacity: 0.85;
  line-height: 1.05;

  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;                 /* por si acaso */
}

.confirmation-alert {
  margin: 24px 28px 0 28px;
  background: #232323;
  color: #ff3d2f;
  border-radius: 10px;
  padding: 13px 12px;
  font-size: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.confirmation-alert i {
  margin-top: 2px;
  font-size: 1.2em;
}

.confirmation-time {
  margin: 22px 28px 0 28px;
  background: #232323;
  color: #c7e0ff;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 9px;
}

.confirmation-social {
  margin: 25px 28px 0 28px;
  text-align: center;
  color: #bdbdbd;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}
.confirmation-social a {
  color: #fff;
  font-size: 1.4em;
  margin: 0 2px;
  transition: color 0.2s;
}
.confirmation-social a:hover {
  color: #ffcd2b;
}

.confirmation-footer {
  text-align: center;
  color: #bdbdbd;
  font-size: 1.1rem;
  margin: 22px 0 0 0;
  font-weight: 500;
}

.confirmation-btn {
  display: block;
  margin: 24px auto 0 auto;
  text-align: center;
  background: #ffcd2b;
  color: #fff;
  font-weight: bold;
  padding: 12px 0;
  border-radius: 10px;
  width: 80%;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.2s;
}
.confirmation-btn:hover {
  background: #005bb5;
}

@media (max-width: 600px) {
  .confirmation-card {
    max-width: 99vw;
    padding-bottom: 16px;
  }
  .confirmation-header {
    padding: 18px 6vw 0 6vw;
  }
  .confirmation-details, .confirmation-alert, .confirmation-tickets, .confirmation-time, .confirmation-social {
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .confirmation-image img {
    max-height: 180px;
  }
  .confirmation-tickets li{
    padding: 7px 6px;
  }
  .confirmation-tickets li img{
    width: 20px;
    height: 20px;
  }
  .confirmation-tickets .ticket-number{
    font-size: 0.95rem;
  }
  .confirmation-tickets .ticket-zodiac{
    font-size: 0.70rem;
  }
}

.soldout-stamp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-20deg);
    background: rgba(219, 2, 2, 0.473);
    color: #fff;
    font-size: clamp(1.2rem, 7vw, 4rem);
    font-weight: bold;
    padding: 0.6em 1.8em;
    border-radius: 0.9vw;
    z-index: 5;
    letter-spacing: 0.2em;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
    text-shadow: 2px 2px 8px #a00;
    opacity: 0.8;
    pointer-events: none;
    white-space: nowrap;
    user-select: none;
    max-width: 92%;      
    max-height: 40%;     
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;    
}


@media (max-width: 600px) {
    .soldout-stamp {
        font-size: clamp(1.2rem, 10vw, 3rem);
        padding: 2vw 8vw;
        border-radius: 2vw;
        max-height: 28%;
    }
}

@media (min-width: 1200px) {
    .soldout-stamp {
        font-size: clamp(2rem, 5vw, 3.5rem);
        max-width: 80%;
        max-height: 30%;
        padding: 0.6em 2em;
    }
}

#overlay-blur-effect {
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(11px);
    user-select: none;
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 9;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: .6
}

.whatsapp-float {
  position: fixed;
  bottom: 16px;
  right: 17px;
  z-index: 9999;
  display: block;
  transition: transform 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.08);
}
.whatsapp-float img {
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  display: block;
  width: 55px;
  height: 55px;
}
@media (max-width: 600px) {
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
  }
  .whatsapp-float img {
    width: 50px;
    height: 50px;
  }
}

.search-tickets-container {
    position: fixed;
    left: 0;
    right: 0;
    top: -300px;
    width: 100%;
    max-width: 563px;
    margin: auto;
    z-index: 10;
    transition: all .5s
}

.search-tickets-box {
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background-color: #ffcd2b91;
    color: #fff;
    box-shadow: 0 0 18px -14px #000;
    border-radius: 10px;
    width: 100%;
    max-width: 563px;
    padding: 28px 23px
}

.search-tickets-box label {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 34px
}

.search-tickets-box input {
    font-size: 16px;
    outline-color: #ffcd2b;
    border: none;
    border-radius: 6px;
    user-select: none;
    padding: 10px 15px
}

.search-tickets-box button {
    display: flex;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    background-color: #ffcd2b;
    color: #fff;
    border-radius: 7px;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    user-select: none;
    width: 100%;
    padding: 9px;
    transition: all .2s ease 0s;
    margin-top: 20px
}

.search-tickets-box button:hover {
    opacity: .7;
    transition: opacity .2s
}

#close-search-tickets {
    filter: invert(100%) sepia(5%) saturate(18%) hue-rotate(159deg) brightness(102%) contrast(102%);
    position: absolute;
    right: 27px;
    top: 23px;
    height: 18px;
    cursor: pointer;
    user-select: none;
    transition: opacity .1s
}

#close-search-tickets:hover {
    opacity: .5;
    transition: opacity .1s
}

.my-tickets {
    display: flex;
    max-width: 1000px;
    width: 100%;
    user-select: none
}

.my-tickets a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    background-color: #fff;
    color: #8b8b8b;
    border: 1px solid #373737;
    border-radius: 9px;
    text-decoration: none;
    width: 100%;
    padding: 12px 20px;
    margin-bottom: 10px;
    transition: all .2s
}

.my-tickets a:hover {
    opacity: .4;
    transition: all .2s
}

.my-tickets a img {
    filter: invert(46%) sepia(0) saturate(6746%) hue-rotate(273deg) brightness(115%) contrast(77%);
    height: 16px;
    margin-right: 11px
}

.raffle {
    margin-bottom: 32px
}

.rifa-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
}

.rifa-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

@media (max-width: 600px) {
    .rifa-image {
        width: 100%; 
        max-width: 98vw; 
        border-radius: 10px;
    }

    .rifa-image img {
        width: 100%; 
        max-width: 98vw;
        max-height: 45vh; 
        border-radius: 8px;
    }
}


.rifa-image2 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    margin-bottom: 5px;
    margin-top: 15px
}

.rifa-image2 img {
    width: 50%;
    max-height: 350px;
    border-radius: 12px;
    object-fit: contain;
    user-select: none
}

.main-statement {
    position: absolute;
    bottom: 7px;
    left: 7px;
    font-size: 15px;
    font-weight: 500;
    color: #1c1c1c;
    background: #fff;
    border-radius: 10px;
    user-select: none;
    padding: 11px 21px
}

.main-statement b {
    color: #ffcd2b;
    font-weight: 500;
    text-decoration: underline
}

.raffle h2 {
    font-size: 25px;
    color: #fff;
    border-bottom: 1px solid #373737;
    padding-bottom: 20px;
    margin-top: 23px;
    margin-bottom: 12px
}

.raffle-organizer {
    display: flex;
    align-items: center
}

.organizer-image {
    display: flex;
    margin-right: 10px
}

.organizer-image img {
    object-fit: cover;
    height: 80px;
    width: 80px;
    border: 1px solid #373737;
    border-radius: 50%;
    user-select: none
}

.organizer-info p {
    font-size: 14px;
    color: #cacaca
}

.organizer-info h4 {
    font-size: 16px;
    color: #fff;
    text-transform: uppercase
}

.organizer-tags {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    text-decoration: none;
    margin-top: 6px
}

.organizer-tags a {
    text-decoration: none
}

.organizer-tags img {
    display: flex;
    height: 17px;
    margin-right: 5px
}

.tag {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    background-color: #489f35;
    border-radius: 15px;
    padding: 4px 12px;
    margin-right: 5px;
    margin-bottom: 5px;
    user-select: none;
    transition: opacity .2s
}

.tag:hover {
    opacity: .5;
    transition: opacity .2s
}

.tag span {
    display: inline-flex;
    font-size: 14px;
    color: #fff
}

.support {
    background-color: #489f35
}

.telegram {
    background-color: #30a6e0
}

.instagram {
    background-color: #333
}

.tiktok {
    background-color: #333
}

.anteriores-section {
    width: 100vw;
    max-width: 100%;
    margin-top: 15px;
    margin-bottom: 0;
    padding: 12px 0 20px 0;
    border-radius: 0 0 12px 12px;
    overflow-x: visible;
}

.anteriores-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 0.8px;
    text-shadow: 0 2px 6px #000b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.past-raffles-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    overflow: visible;
    gap: 12px;
    margin: 0 auto;
    padding: 2px 0 6px 0;
    max-width: 95%;
    scrollbar-width: thin;
    scrollbar-color: #ffcd2b #232323;
}

.past-raffle-card {
    background: linear-gradient(135deg, #232d3a 70%, #181818 100%);
    border-radius: 10px;
    overflow: hidden; /* Evitar desbordamientos */
    box-shadow: 0 2px 10px rgba(18,102,172,0.14), 0 1.5px 6px rgba(0,0,0,0.28);
    min-width: 200px;   
    max-width: 200px;    
    flex: 0 0 200px;      
    position: relative;
    border: 1px solid transparent;
    transition: transform .18s, box-shadow .18s, border .16s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 5px; 
}

.pagination-arrow, .pagination-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background-color: #121212; 
    color: #ffffff; 
    border: none;
    border-radius: 50%; 
    cursor: pointer;
    text-decoration: none; 
    font-size: 0.8rem; 
    transition: all 0.3s ease; 
}

.pagination-arrow:hover, .pagination-number:hover {
    background-color: #ffcd2b; 
    color: #121212;
    transform: scale(1.1); 
}

.pagination-number.active {
    background-color: #ffcd2b; 
    color: #121212; 
    font-weight: bold; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); 
}


.past-raffle-card:hover {
    transform: translateY(-4px) scale(1.03) rotate(-0.8deg);
    box-shadow: 0 8px 24px #ffcd2b44, 0 2px 10px #000a;
    border-color: #ffcd2b;
    z-index: 2;
}

.past-raffle-img {
    width: 100%;
    height: 120px; /* Reducir altura */
    object-fit: cover; /* Ajustar imagen al espacio */
    display: block;
    filter: brightness(0.98) contrast(1.09) saturate(1.18);
    transition: filter .25s;
    border-radius: 10px 10px 0 0;
}

.past-raffle-card:hover .past-raffle-img {
    filter: brightness(1.13) contrast(1.18) saturate(1.32);
}

.past-raffle-info {
    padding: 8px 6px 10px 6px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.past-raffle-date {
    font-size: 0.7rem;
    color: #b7e1fc;
    opacity: 0.8;
    margin-bottom: 2px;
    font-weight: 500;
    display: block;
    text-align: left;
}

.btn-ver-ganador {
    margin-top: 5px;
    width: 100%;
    font-size: 10px;
    padding: 5px 0;
    border-radius: 5px;
    background: linear-gradient(90deg, #ffcd2b 60%, #916d03 100%);
    font-weight: 600;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 6px #ffcd2b33;
    transition: background .18s, color .18s, box-shadow .18s;
    text-align: center;
    color: #fff;
    text-decoration: none;
    border: none;
    outline: none;
    cursor: pointer;
}

.btn-ver-ganador:hover {
    background: linear-gradient(90deg, #806002 60%, #ffcd2b 100%);
    color: #fff;
    box-shadow: 0 4px 12px #ffcd2b55;
}

.past-raffles-grid::-webkit-scrollbar {
    height: 6px;
}

.past-raffles-grid::-webkit-scrollbar-thumb {
    background: #ffcd2b;
    border-radius: 4px;
}

.past-raffles-grid::-webkit-scrollbar-track {
    background: #232323;
    border-radius: 4px;
}

@media (max-width: 600px) {
    .anteriores-section {
        padding: 10px 0 6px 0;
        border-radius: 0 0 8px 8px;
        margin-top: 20px;
    }

    .anteriores-title {
        font-size: 1rem;
        gap: 5px;
        margin-bottom: 8px;
    }

    .past-raffles-grid {
        gap: 6px;
        padding: 2px 0 4px 0;
        max-width: 98vw;
    }

    .past-raffle-card {
        min-width: 160px;   
        max-width: 160px;
        flex-basis: 160px;
    }

    .past-raffle-img {
        height: 80px; /* Reducir altura en móviles */
        border-radius: 8px 8px 0 0;
    }

    .past-raffle-info {
        padding: 6px 4px 8px 4px;
        gap: 2px;
    }

    .past-raffle-date {
        font-size: 0.6rem;
    }

    .btn-ver-ganador {
        font-size: 9px;
        padding: 4px 0;
    }
}

.raffle-description,
.raffle-origin,
.raffle-payment-method,
.raffle-ranking {
    background-color: #3d3d3d;
    color: #e9e9e9;
    border-radius: 18px;
    border-color: #ffcd2b;
    padding: 30px;
    margin-top: 35px
}

.raffle-description h4,
.raffle-origin h4,
.raffle-payment-method h4,
.raffle-ranking h4,
.raffle-tickets h4 {
    font-size: 15px;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    text-align: -webkit-center;
    margin-bottom: 5px
}

.podium {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 32px
}

.rank {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 15px;
    text-align: center;
    text-align: -webkit-center;
    margin: 0 26px
}

.rank img {
    max-width: 48px;
    width: 100%;
    user-select: none;
    margin-bottom: 10px
}

.rank p {
    margin-bottom: 3px
}

/* --- Contenedor principal --- */
.raffle-tickets {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 36px;
  padding: 0 12px;
}

.add-tickets-box {
  background: linear-gradient(145deg, #2a2a2a 0%, #1f1f1f 100%);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 179, 198, 0.1);
  max-width: 400px;
  width: 100%;
  padding: 32px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.add-tickets-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffcd2b 0%, #f0d478 50%, #ffcd2b 100%);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* --- Título --- */
.raffle-tickets-title {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(255, 179, 198, 0.2);
}

/* --- Botones de cantidad horizontal --- */
.add-tickets {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.qty-btn {
  background: linear-gradient(145deg, #1f1f1f 0%, #2a2a2a 100%);
  color: #ffcd2b;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 12px;
  padding: 12px 0;
  cursor: pointer;
  border: 1.5px solid rgba(153, 132, 63, 0.5);
  min-width: 60px;
  width: 100%;
  max-width: 68px;
  text-align: center;
  position: relative;
  user-select: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.qty-btn:hover,
.qty-btn:focus {
  background: linear-gradient(135deg, #ffcd2b 0%, #f0d478 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.05);
  border-color: #ffcd2b;
  box-shadow: 0 6px 16px rgba(185, 160, 75, 0.5);
  user-select: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.qty-btn-main {
  background: linear-gradient(135deg, #ffcd2b 0%, #f0d478 100%);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  min-width: 72px;
  max-width: 90px;
  box-shadow: 0 6px 16px rgba(49, 44, 27, 0.5);
  border-radius: 14px;
  z-index: 1;
  position: relative;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  user-select: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.qty-btn-main:hover,
.qty-btn-main:focus {
  background: linear-gradient(135deg, #f0d478 0%, #a58d3f 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(96, 160, 243, 0.5);
  transform: translateY(-3px) scale(1.08);
  user-select: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.badge-recommended {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #fff;
  font-size: 0.7em;
  font-weight: 700;
  border-radius: 8px;
  padding: 3px 12px;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 2;
  border: 2px solid rgba(255, 255, 255, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* --- Input cantidad y +/- horizontal --- */
.quantity-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px 0 0 0;
}

.quantity-op {
  background: linear-gradient(145deg, #2a2a2a 0%, #1f1f1f 100%);
  color: #ffcd2b;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid rgba(96, 160, 243, 0.4);
  transition: all 0.3s ease;
  user-select: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.quantity-op:hover,
.quantity-op:focus {
  background: linear-gradient(135deg, #ffcd2b 0%, #f0d478 100%);
  color: #fff;
  transform: scale(1.15);
  border-color: #ffcd2b;
  box-shadow: 0 6px 12px rgba(96, 160, 243, 0.4);
  user-select: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.quantity-op.increase {
  background: linear-gradient(135deg, #ffcd2b 0%, #f0d478 100%);
  color: #fff;
  border-color: rgba(96, 160, 243, 0.5);
  user-select: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.quantity-op.increase:hover,
.quantity-op.increase:focus {
  background: linear-gradient(135deg, #f0d478 0%, #a58d3f 100%);
  color: #fff;
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(96, 160, 243, 0.5);
  user-select: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.quantity-op.decrease {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  border-color: rgba(239, 68, 68, 0.5);
  user-select: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.quantity-op.decrease:hover,
.quantity-op.decrease:focus {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #fff;
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.5);
  user-select: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

#quantityValue {
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(145deg, #1a1a1a 0%, #252525 100%);
  border: 2px solid rgba(96, 160, 243, 0.4);
  border-radius: 10px;
  padding: 8px 16px;
  text-align: center;
  width: 80px;
  margin: 0 6px;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

#quantityValue:focus {
  border-color: #ffcd2b;
  box-shadow: 0 0 0 3px rgba(255, 179, 198, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.3);
  outline: none;
}

/* --- Total --- */
.total {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 1.1rem;
  border-radius: 12px 12px 0 0;
  padding: 14px 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 8px;
  border: none; 
  border-bottom: 2px solid rgba(96, 160, 243, 0.4);
}


#total-value {
  background: linear-gradient(135deg, #ffcd2b 0%, #a58d3f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.1rem;
  font-weight: 600;
}

/* --- Botón comprar --- */
.go-to {
  width: 100%;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  padding: 0 20px; 
}

.go-to .pago-btn {
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  width: 100%;
  max-width: 500px; 
  background: linear-gradient(135deg, #ffcd2b 0%, #f0d478 50%, #a58d3f 100%);
  color: #fff;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(235, 196, 71, 0.5);
  border: none;
  user-select: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  z-index: 1;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  min-height: 48px; 
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Efecto de brillo deslizante */
.go-to .pago-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left 0.5s ease;
  z-index: 2;
  border-radius: 12px;
}

/* Borde animado giratorio - DETRÁS DEL BOTÓN */
.go-to .pago-btn::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    90deg,
    #ffcd2b,
    #f0d478,
    #a58d3f,
    #a58d3f,
    #a58d3f,
    #f0d478,
    #ffcd2b
  );
  border-radius: 14px;
  z-index: -1;
  background-size: 300%;
  animation: borderGlow 3s linear infinite;
  opacity: 0.8;
}

@keyframes borderGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.go-to .pago-btn:hover::before {
  left: 100%;
}

.go-to .pago-btn:hover {
  background: linear-gradient(135deg, #a58d3f 0%, #f0d478 50%, #ffcd2b 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(235, 196, 71, 0.5);
  transform: translateY(-2px);
}

.go-to .pago-btn:hover::after {
  opacity: 1;
  animation: borderGlow 2s linear infinite;
}

.go-to .pago-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(235, 196, 71, 0.5);
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .raffle-tickets {
    margin-top: 24px;
    padding: 0 5vw;
  }

  .add-tickets-box {
    padding: 24px 5vw;
    border-radius: 16px;
    max-width: 95vw;
    gap: 18px;
  }

  .raffle-tickets-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
  }

  .add-tickets {
    gap: 10px;
  }

  .qty-btn {
    font-size: 1rem;
    padding: 10px 0;
    border-radius: 10px;
    min-width: 58px;
    max-width: 72px;
  }

  .qty-btn-main {
    font-size: 1.1rem;
    min-width: 65px;
    max-width: 80px;
    padding: 11px 0;
    border-radius: 12px;
  }

  .badge-recommended {
    font-size: 0.65em;
    padding: 2px 10px;
    top: -14px;
    border-radius: 7px;
  }

  .quantity-box {
    gap: 10px;
  }

  .quantity-op {
    font-size: 1.3rem;
    width: 52px;
    height: 52px;
  }

  #quantityValue {
    font-size: 1.1rem;
    padding: 8px 14px;
    width: 69px;
  }

  .total {
    font-size: 1rem;
    padding: 12px 14px;
  }

  #total-value {
    font-size: 1.1rem;
  }
}

.purchase-tickets-container {
    position: fixed;
    left: 0;
    right: 0;
    top: -500px;
    width: 90%;
    max-width: 400px;
    margin: auto;
    z-index: 10;
    transition: all .4s ease-in-out
}

.purchase-tickets-box {
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background-color: #ffcd2b57;
    color: #fff;
    box-shadow: 0 0 12px -10px #000;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    padding: 20px 18px
}

.purchase-tickets-box label {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px
}

.purchase-tickets-box input {
    font-size: 14px;
    outline-color: #39da97;
    border: none;
    border-radius: 6px;
    user-select: none;
    padding: 8px 12px;
    margin-top: 10px
}

.purchase-tickets-box button {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    background-color: #39da97;
    user-select: none;
    cursor: pointer;
    outline: 0;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    margin-top: 15px;
    transition: opacity .2s
}

.purchase-tickets-box button:hover {
    opacity: .7
}

#close-purchase-tickets {
    filter: invert(100%) sepia(5%) saturate(18%) hue-rotate(159deg) brightness(102%) contrast(102%);
    position: absolute;
    right: 20px;
    top: 15px;
    height: 14px;
    cursor: pointer;
    user-select: none;
    transition: opacity .1s
}

#close-purchase-tickets:hover {
    opacity: .5
}

.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: #242424;
    color: #fff;
    border-radius: 12px;
    padding: 20px 30px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content h2 {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    color: #cbd5e1;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #fff;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 6px;
    background: #333;
    color: #fff;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #ffcd2b;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: #ffcd2b;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #0f5591;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 15px 20px;
    }

    .modal-content h2 {
        font-size: 18px;
    }

    .btn-submit {
        font-size: 14px;
    }
}


.modal-pago-container {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(36, 39, 46, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    padding: 15px;
    animation: fadeInBackdrop 0.3s ease;
}

@keyframes fadeInBackdrop {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-pago-content {
    background: linear-gradient(145deg, #2a2d35 0%, #1f2128 100%);
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    padding: 28px 24px 20px 24px;
    max-width: 420px;
    width: 95%;
    color: #fff;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-pago-modal {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 24px;
    color: #cbd5e1;
    opacity: 0.7;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.close-pago-modal:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3d4450;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.step-dot.active {
    background: linear-gradient(135deg, #ffcd2b 0%, #f0d478 100%);
    box-shadow: 0 0 12px rgba(207, 95, 198, 0.6);
    transform: scale(1.3);
}

.step-dot.active::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(235, 196, 71, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.pago-step {
    display: none;
}

.pago-step.active {
    display: block;
    animation: fadeInStep 0.3s ease;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.pago-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #fff 0%, #e5e7eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-info-row .label {
    color: #94a3b8;
    font-weight: 500;
}

.modal-info-row .value {
    font-weight: 600;
    color: #fff;
}

.modal-info-row.total {
    font-size: 1.1rem;
    font-weight: 700;
    border-bottom: none;
    padding: 12px 0 6px 0;
    margin-top: 6px;
    border-top: 2px solid rgba(235, 196, 71, 0.5);
}

.modal-info-row.total .value {
    background: linear-gradient(135deg, #ffcd2b 0%, #a58d3f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pago-metodos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

.pago-metodo-btn {
    background: linear-gradient(145deg, #2d3139 0%, #25282e 100%);
    border-radius: 14px;
    padding: 14px 0 10px 0;
    font-size: 0.9rem;
    color: #cbd5e1;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    outline: none;
    position: relative;
    overflow: hidden;
}

.pago-metodo-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(96, 160, 243, 0.1) 0%, rgba(96, 160, 243, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pago-metodo-btn:hover {
    background: linear-gradient(145deg, #353b44 0%, #2d3139 100%);
    border-color: rgba(96, 160, 243, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(96, 160, 243, 0.2);
}

.pago-metodo-btn:hover::before {
    opacity: 1;
}

.pago-metodo-btn.selected {
    background: linear-gradient(145deg, #353b44 0%, #2d3139 100%);
    color: #fff;
    border: 2px solid #ffcd2b;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 6px 20px rgba(96, 160, 243, 0.3)
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pago-metodo-btn.selected::before {
    opacity: 1;
}

.pago-metodo-btn i {
    font-size: 1.9rem;
    margin-bottom: 6px;
    transition: transform 0.3s ease;
}

.pago-metodo-btn:hover i,
.pago-metodo-btn.selected i {
    transform: scale(1.08);
}

.pago-btn {
    background: linear-gradient(135deg, #ffcd2b 0%, #f0d478 50%, #a58d3f 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 700;
    width: 100%;
    margin-top: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    user-select: none; 
    outline: none;
    -webkit-tap-highlight-color: transparent;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(235, 196, 71, 0.5);
}

.pago-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.pago-btn:hover {
    background: linear-gradient(135deg, #a58d3f 0%, #f0d478 50%, #ffcd2b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(96, 160, 243, 0.5);
}

.pago-btn:hover::before {
    left: 100%;
}

.pago-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(235, 196, 71, 0.5);
}

.btn-group {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.pago-btn.back-btn {
    background: linear-gradient(145deg, #3d4450 0%, #2d3139 100%);
    color: #fff;
    width: 35%;
    padding: 11px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-transform: none;
}

.pago-btn.back-btn:hover {
    background: linear-gradient(145deg, #4a5160 0%, #3d4450 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pago-btn.next-btn,
.pago-btn.submit-btn {
    flex: 1;
    padding: 11px 16px;
}

.pago-input.clean {
    background: linear-gradient(145deg, #2a2d35 0%, #1f2128 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    margin-bottom: 10px !important;
    padding: 11px 14px !important;
    font-size: 0.95rem;
    width: 100%;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}

.pago-input.clean::placeholder {
    color: #64748b;
}

.pago-input.clean:focus {
    border-color: #ffcd2b;
    box-shadow: 
        0 0 0 3px rgba(96, 160, 243, 0.1),
        0 2px 8px rgba(96, 160, 243, 0.2);
    background: linear-gradient(145deg, #2d3139 0%, #25282e 100%);
}

.pago-input.clean:hover {
    border-color: rgba(235, 196, 71, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .modal-pago-content {
        padding: 24px 20px 18px 20px;
        max-width: 400px;
        border-radius: 18px;
    }
    
    .pago-heading {
        font-size: 1.15rem;
        margin-bottom: 16px;
    }
    
    .modal-info-row {
        font-size: 0.9rem;
        margin-bottom: 8px;
        padding: 6px 0;
    }
    
    .modal-info-row.total {
        font-size: 1.05rem;
        padding: 10px 0 4px 0;
    }
    
    .pago-metodos {
        gap: 10px;
        margin-bottom: 16px;
    }
    
    .pago-metodo-btn {
        padding: 12px 0 8px 0;
        font-size: 0.85rem;
        border-radius: 12px;
    }
    
    .pago-metodo-btn i {
        font-size: 1.7rem;
        margin-bottom: 4px;
    }
    
    .step-indicator {
        margin-bottom: 14px;
        gap: 7px;
    }
}

@media (max-width: 480px) {
    .modal-pago-container {
        padding: 10px;
    }
    
    .modal-pago-content {
        padding: 22px 18px 16px 18px;
        border-radius: 16px;
        max-width: 100%;
    }
    
    .close-pago-modal {
        top: 12px;
        right: 14px;
        font-size: 22px;
        width: 28px;
        height: 28px;
    }
    
    .step-indicator {
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .step-dot {
        width: 7px;
        height: 7px;
    }
    
    .pago-heading {
        font-size: 1.1rem;
        margin-bottom: 14px;
    }
    
    .modal-info-row {
        font-size: 0.88rem;
        margin-bottom: 7px;
        padding: 5px 0;
    }
    
    .modal-info-row.total {
        font-size: 1rem;
        padding: 8px 0 4px 0;
        margin-top: 4px;
    }
    
    .pago-metodos {
        gap: 10px;
        margin-bottom: 14px;
    }
    
    .pago-metodo-btn {
        padding: 10px 0 7px 0;
        font-size: 0.8rem;
        border-radius: 12px;
    }
    
    .pago-metodo-btn i {
        font-size: 1.6rem;
        margin-bottom: 4px;
    }
    
    .pago-btn {
        padding: 11px 0;
        font-size: 0.95rem;
        margin-top: 14px;
        border-radius: 10px;
    }
    
    .btn-group {
        gap: 10px;
        margin-top: 14px;
    }
    
    .pago-btn.back-btn {
        width: 36%;
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .pago-btn.next-btn,
    .pago-btn.submit-btn {
        padding: 10px 14px;
    }
    
    .pago-input.clean {
        padding: 10px 12px !important;
        font-size: 0.9rem;
        margin-bottom: 9px !important;
        border-radius: 8px;
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 360px) {
    .modal-pago-content {
        padding: 20px 16px 14px 16px;
    }
    
    .pago-heading {
        font-size: 1.05rem;
        margin-bottom: 12px;
    }
    
    .modal-info-row {
        font-size: 0.85rem;
    }
    
    .pago-metodo-btn {
        padding: 9px 0 6px 0;
        font-size: 0.75rem;
    }
    
    .pago-metodo-btn i {
        font-size: 1.5rem;
    }
    
    .pago-btn {
        padding: 10px 0;
        font-size: 0.9rem;
    }
}


.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 30px auto;
    width: 100%;
    max-width: 500px;
    padding: 0 20px;
}

.responsive-button, .whatsapp-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.responsive-button {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.responsive-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.responsive-button:hover::before {
    left: 100%;
}

.responsive-button:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.responsive-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.whatsapp-button {
    background: linear-gradient(135deg, #25D366 0%, #1ebe5b 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-button::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.5s ease;
}

.whatsapp-button:hover::before {
    left: 100%;
}

.whatsapp-button:hover {
    background: linear-gradient(135deg, #1ebe5b 0%, #17a34a 100%);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.responsive-button i, .whatsapp-button i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.responsive-button:hover i, .whatsapp-button:hover i {
    transform: scale(1.1);
}

/* Tablet */
@media (max-width: 768px) {
    .button-container {
        gap: 12px;
        margin: 25px auto;
        padding: 0 15px;
    }

    .responsive-button, .whatsapp-button {
        font-size: 14px;
        padding: 12px 20px;
        border-radius: 10px;
    }

    .responsive-button i, .whatsapp-button i {
        font-size: 16px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .button-container {
        flex-direction: column;
        gap: 12px;
        margin: 20px auto;
        max-width: 100%;
    }

    .responsive-button, .whatsapp-button {
        width: 100%;
        font-size: 14px;
        padding: 13px 20px;
        border-radius: 10px;
    }

    .responsive-button i, .whatsapp-button i {
        font-size: 17px;
    }
}



.file-drop-area {
    background: #2a2a2a;
    border: 2px dashed #444c56;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: #cbd5e1;
    font-size: 1em;
    margin-bottom: 18px;
    cursor: pointer;
    transition: border .2s, background .2s;
    position: relative
}

.file-drop-area:hover {
    border-color: #e5e7eb;
    background: #353b44
}

.file-preview img {
    border: 2px solid #ffcd2b;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
}


.pago-upload-input {
    display: none
}

.resumen-metodo {
    background-color: #2a2a2a;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #ddd
}

.cedula-row .pago-input.clean {
    text-align: left;
    padding-left: 14px
}

.cedula-row select.pago-input.clean {
    padding-right: 0;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg width="18" height="10" viewBox="0 0 18 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L9 9L17 1" stroke="%23cbd5e1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px 10px
}

.form-label {
    display: block;
    color: #cbd5e1;
    font-size: .98em;
    margin-bottom: 6px;
    font-weight: 500
}

.form-group {
    margin-bottom: 4px
}

.resumen-metodo {
    background: #24272eed;
    border-radius: 10px;
    padding: 10px 10px 6px 10px;
    margin-bottom: 8px;
    font-size: 16px;
    color: #e3e3e3;
    box-shadow: 0 1px 7px rgba(0, 0, 0, .07);
    max-width: 365px;
    margin-left: auto;
    margin-right: auto;
}

.resumen-metodo p {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    margin-bottom: 7px;
    font-size: 13px;
    color: #b5bac1;
    letter-spacing: .01em;
    font-weight: 500;
}

.resumen-metodo strong {
    color: #9db6c7;
    min-width: 20px;
    font-weight: 600;
    letter-spacing: .1px;
    font-size: 16px;
    opacity: .81;
}

.resumen-metodo span[id$=Elegida],
.resumen-metodo span[id$=Elegido] {
    background: rgba(255, 255, 255, .09);
    color: #fff;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 7px;
    font-size: 16px;
    letter-spacing: .03em;
    border: 1px solid rgba(18, 102, 172, .04);
    margin-right: 2px;
    word-break: break-all;
    /* <-- Evita desbordes en correos largos */
    overflow-wrap: break-word;
    max-width: 180px;
    /* <-- Ajusta según tu diseño */
    display: inline-block;
}

.resumen-metodo .copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    margin: 0 4px 0 0;
    /* margen solo a la derecha */
    color: #b7c7d8;
    font-size: 0.92em;
    padding: 0;
    border-radius: 4px;
    transition: background .15s, color .17s;
    display: flex;
    align-items: center;
    outline: 0;
    height: 20px;
    width: 20px;
    justify-content: center;
}

.resumen-metodo .copy-btn.copied,
.resumen-metodo .copy-btn:hover {
    background: rgba(18, 102, 172, .15);
    color: #ffcd2b;
}

.resumen-metodo .copy-btn:focus {
    outline: 2px solid #ffcd2b50;
    outline-offset: 1px;
}

.metodo-pill {
    background: linear-gradient(90deg, #ffcd2b 70%, #8d7115  100%);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 4px 13px;
    border-radius: 999px;
    letter-spacing: .03em;
    margin-left: 8px;
    display: inline-block;
    box-shadow: 0 1px 4px rgba(18, 102, 172, .08);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(.95)
    }
    to {
        opacity: 1;
        transform: scale(1)
    }
}

@media (max-width:480px) {
    .modal-pago-content {
        max-width: 100%;
        width: 100%;
        padding: 20px 12px;
        border-radius: 10px;
        box-shadow: 0 6px 12px rgba(0, 0, 0, .4);
        max-height: 90vh;
        overflow-y: auto;
        scrollbar-width: none
    }
    .modal-pago-content::-webkit-scrollbar {
        display: none
    }
}

@media (max-width:480px) {
    .purchase-tickets-container {
        width: 95%;
        max-width: 350px
    }
    .purchase-tickets-box {
        padding: 18px 15px
    }
    .purchase-tickets-box label {
        font-size: 14px
    }
    .purchase-tickets-box input {
        font-size: 13px;
        padding: 7px 10px
    }
    .purchase-tickets-box button {
        font-size: 13px;
        padding: 7px 10px
    }
    #close-purchase-tickets {
        right: 15px;
        top: 12px;
        height: 12px
    }
}

.terms-modal-container {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .8);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 15px
}

.terms-modal-content {
    background: #242424a7;
    border-radius: 12px;
    padding: 25px;
    max-width: 600px;
    width: 100%;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
    font-family: Arial, sans-serif;
    overflow-y: auto;
    max-height: 90vh;
    position: relative
}

.close-terms-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    transition: transform .2s, color .2s
}

.close-terms-modal:hover {
    color: #333;
    transform: scale(1.1)
}

.terms-heading {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #ffcd2b
}

.terms-body {
    font-size: 1rem;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 20px
}

.terms-body ul {
    list-style: inside disc;
    padding-left: 0
}

.terms-body li {
    margin-bottom: 10px
}

.terms-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center
}

.terms-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .95rem;
    color: #555
}

.terms-checkbox input {
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    outline: 2px solid #ffcd2b;
    border: 2px solid #fff;
    width: 18px;
    height: 18px;
    cursor: pointer;
    border-radius: 4px;
    transition: background .2s, border .2s
}

.terms-checkbox input:checked {
    background: #ffcd2b;
    border-color: #ffcd2b
}

.terms-checkbox label a {
    color: #ffcd2b;
    text-decoration: none;
    font-weight: 700
}

.terms-checkbox label a:hover {
    text-decoration: underline
}

.terms-btn {
    background: #ffcd2b;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 700;
    width: 100%;
    max-width: 300px;
    cursor: pointer;
    transition: background .3s, transform .2s
}

.terms-btn:hover {
    background: #0f5591;
    transform: translateY(-2px)
}

.terms-note {
    font-size: .9rem;
    color: #cbd5e1;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 1.4
}

.terms-note a.terms-link {
    color: #ffcd2b;
    text-decoration: none;
    font-weight: 700
}

.terms-note a.terms-link:hover {
    text-decoration: underline
}

@media (max-width: 600px) {
  .terms-modal-content {
    width: 96vw !important;
    max-width: 96vw !important;
    padding: 12px 6px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
  }
  .terms-heading {
    font-size: 1.12rem !important;
    margin-bottom: 8px !important;
    text-align: center !important;
  }
  .terms-body ul {
    padding-left: 16px !important;
    margin-bottom: 6px !important;
  }
  .terms-body li {
    font-size: 12px !important;
    margin-bottom: 7px !important;
    line-height: 1.22 !important;
  }
  .close-terms-modal {
    font-size: 24px !important;
    top: 5px !important;
    right: 10px !important;
  }
  .terms-footer {
    flex-direction: column !important;
    gap: 8px !important;
    padding-top: 8px !important;
  }
  .terms-checkbox label {
    font-size: 12px !important;
  }
  .terms-btn {
    font-size: 13px !important;
    padding: 6px 0 !important;
    border-radius: 6px !important;
    width: 100% !important;
    margin-top: 7px !important;
  }
}


.purchase button {
    display: flex;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    background-color: #ffcd2b;
    color: #fff;
    border-radius: 7px;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    user-select: none;
    width: 100%;
    padding: 9px;
    transition: all .2s
}

.purchase button:hover {
    background-color: #ffcd2b80;
    transition: all .3s
}

.ws button {
    display: flex;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    background-color: #25d366;
    color: #fff;
    border-radius: 7px;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    user-select: none;
    width: 100%;
    padding: 9px;
    transition: all .2s
}

.ws button:hover {
    background-color: #177539;
    transition: all .3s
}

.purchase-submit-btn {
    display: flex;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    background-color: #34d894;
    color: #fff;
    border-radius: 7px;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    user-select: none;
    margin-top: 20px;
    padding: 9px;
    transition: all .2s
}

.purchase-submit-btn:hover {
    background-color: #1ca56c;
    transition: all .3s
}

#quantity-error {
    display: none;
    color: red;
    text-align: center;
    text-align: -webkit-center;
    margin-top: 17px
}

.raffle-origin h4,
.raffle-payment-methodraffle-payment-method h4 {
    text-align: left;
    text-align: -webkit-left
}

.raffle-duals {
    display: flex
}

.raffle-origin,
.raffle-payment-method {
    width: 100%
}

.raffle-payment-method {
    margin-right: 12px
}

.raffle-text img {
    user-select: none;
    max-width: 100px;
    width: 100%
}

.payment-details {
    margin-top: 20px;
    font-size: 16px;
    background: #363636;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .1);
    color: #f5f5f5
}

.payment-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 12px;
    border-bottom: 3px solid #333;
    padding-bottom: 8px
}

.payment-field:last-child {
    border-bottom: none;
    padding-bottom: 0
}

.payment-field strong {
    color: #ccc;
    min-width: 80px
}

.payment-field span {
    flex: 1;
    text-align: right;
    font-weight: 500;
    color: #fff;
    word-break: break-word
}

.copy-btn {
    background: 0 0;
    border: none;
    cursor: pointer;
    margin-left: 6px;
    color: #ffcd2b;
    font-size: 1em;
    transition: color .2s;
    vertical-align: middle;
    padding: 2px
}

.copy-btn.copied,
.copy-btn:active {
    color: #032f53
}

.copy-btn:focus {
    outline: 0
}

.file-upload {
    position: relative;
    width: 100%;
    max-width: 160px;
    margin: 0 auto;
    text-align: center
}

.file-upload input[type=file] {
    display: none
}

.file-upload-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 100%;
    padding: 5px 8px;
    margin-top: 5px;
    background: linear-gradient(135deg, #e55f5f, #663838);
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    transition: all .2s ease-in-out;
    height: 28px;
    min-width: 120px
}

.file-upload-button::before {
    content: "📁";
    font-size: 12px
}

.file-upload-button:hover {
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    transform: scale(1.02);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2)
}

.file-upload-text {
    margin-top: 3px;
    color: #fff;
    font-size: 9px;
    font-weight: 500
}

.file-upload-text span {
    font-weight: 700;
    color: #39da97
}

@media (max-width:320px) {
    .file-upload {
        max-width: 140px
    }
    .file-upload-button {
        font-size: 9px;
        padding: 4px;
        height: 26px;
        min-width: 110px
    }
    .file-upload-text {
        font-size: 8px
    }
}

.progress-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    position: relative;
    padding: 0 27px;
}

.progress {
    width: 100%;
    max-width: 600px;
    height: 30px;
    background: rgba(60, 60, 60, 0.6);
    border-radius: 50px;
    overflow: visible;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffcd2b 0%, #f0d478 100%);
    transition: width 1s ease;
    border-radius: 50px;
    display: block; 
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: white;
    letter-spacing: 0.3px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    z-index: 10;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .progress-container {
        margin-top: 25px;
        padding: 0 15px;
    }
    
    .progress {
        height: 25px;
    }
    
    .progress-text {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .progress-container {
        margin-top: 20px;
        padding: 0 12px;
    }
    
    .progress {
        height: 25px;
    }
    
    .progress-text {
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .progress-container {
        margin-top: 18px;
        padding: 0 10px;
    }
    
    .progress {
        height: 15px;
    }
    
    .progress-text {
        font-size: 12px;
    }
}



.footer-responsive {
    padding: 14px 20px;
    border-top: 1px solid #444;
    font-size: 13px;
    color: #bbb;
    background: 0 0;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center; 
    align-items: center;
    width: 100%;
}

.footer-left {
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.footer-left a {
    color: #ffcd2b;
    text-decoration: none;
    font-weight: 500;
    transition: color .3s
}

.footer-left a:hover {
    color: #fff
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.footer-right a {
    color: #ffcd2b;
    font-size: 20px;
    transition: color .3s ease, transform .3s ease
}

.footer-right a:hover {
    color: #3a3a3a;
    transform: scale(1.2)
}

@media (max-width: 600px) {
    .footer-responsive {
        flex-direction: column; 
        justify-content: center; 
        align-items: center;
        padding: 12px 14px;
    }

    .footer-right {
        justify-content: center;
    }
}

.file-drop-area {
    background-color: #2a2a2a;
    border: 2px dashed #444;
    border-radius: 8px;
    padding: 12px 16px;
    text-align: center;
    cursor: pointer;
    color: #ccc;
    font-size: 13px;
    margin-top: 14px;
    transition: border-color .3s ease, background-color .3s ease
}

.file-drop-area:hover {
    background-color: #333;
    border-color: #ffcd2b;
    color: #ffcd2b
}

.file-drop-area i {
    font-size: 26px;
    margin-bottom: 8px;
    display: block;
    color: #ffcd2b
}

.file-drop-area span {
    display: block;
    font-size: 13px;
    margin-top: 4px;
    color: #aaa
}

.file-drop-success {
    background-color: #3d3d3d73!important;
    border: 2px solid #ffcd2b!important;
    color: #065f46!important
}

.pago-upload-input {
    display: none
}

.terms-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #2f3131;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
    z-index: 1000;
    width: 80%;
    max-width: 500px;
    padding: 20px;
    display: none
}

.terms-box {
    text-align: center
}

.terms-box img {
    filter: invert(100%) sepia(5%) saturate(18%) hue-rotate(159deg) brightness(102%) contrast(102%);
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer
}

.terms-box h2 {
    color: #c9c9c9
}

.terms-box p {
    color: #cacaca;
    padding: 5px
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: transform .2s ease
}

.close-button:hover {
    transform: scale(1.1);
    filter: brightness(1.2)
}

.pix-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    width: 100%;
    padding: 0 10px;
    background: 0 0
}

.payment {
    background: #242424;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
    padding: 34px 32px 28px 32px;
    max-width: 370px;
    width: 100%;
    color: #fff;
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px
}

.payment-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #b3b3b3;
    margin-bottom: 3px;
    line-height: 1.2
}

.success-msg {
    font-size: 1.1rem;
    color: #3ecf4c;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 0;
    line-height: 1.2
}

.tickets-list {
    margin: 20px auto;
    text-align: center;
    background-color: #2c2c2c; 
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    max-width: 500px;
}

.tickets-list h2 {
    font-size: 1.3rem;
    color: #ffffff; 
    margin-bottom: 13px;
    font-weight: bold;
    border-bottom: 1px solid #444; 
    padding-bottom: 10px;
}

.tickets-list ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 10px; 
    list-style: none;
    padding: 0;
    margin: 0;
}

.tickets-list li {
    background: #3a3a3a;
    color: #ffffff; 
    padding: 10px;
    border-radius: 9px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tickets-list li:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    background: #4a4a4a; 
}

.tickets-list p {
    font-size: 1rem;
    color: #bbbbbb; 
    margin-top: 15px;
}


.confirmation-msg {
    padding: 9px 14px;
    background: #ffcd2b22;
    border-radius: 10px;
    color: #ffcd2b;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    width: 100%;
    line-height: 1.3
}

.link {
    margin: 12px 0 6px 0;
    display: flex;
    justify-content: center;
    width: 100%
}

.link img {
    width: 64px;
    height: 64px;
    max-width: 100%
}

.pix-copy-and-past {
    font-size: .98rem;
    color: #b8b8b8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 0;
    width: 100%;
    text-align: center;
    line-height: 1.2
}

.confirmation-msg i,
.pix-copy-and-past i,
.success-msg i {
    font-size: 1.2em;
    min-width: 1.2em
}

@media (max-width:768px) {
    .pix-container {
        min-height: 70vh;
        padding: 0 4vw
    }
    .payment {
        max-width: 98vw;
        padding: 22px 8vw 18px 8vw
    }
    .link img {
        width: 52px;
        height: 52px
    }
    .confirmation-msg {
        font-size: .98rem;
        padding: 8px
    }
}

@media (max-width:480px) {
    .pix-container {
        min-height: 60vh;
        padding: 0 2vw
    }
    .payment {
        padding: 15px 2vw 12px 2vw;
        border-radius: 12px;
        gap: 10px
    }
    .payment-title {
        font-size: 1.08rem
    }
    .success-msg {
        font-size: 1rem
    }
    .confirmation-msg {
        font-size: .93rem;
        padding: 6px
    }
    .link img {
        width: 36px;
        height: 36px
    }
    .pix-copy-and-past {
        font-size: .94rem;
        gap: 5px
    }
}

.link-text {
    position: relative;
    background-color: #c9c9c9;
    padding: 8px;
    border: 3px dotted #666
}

.link-text:hover img {
    display: block
}

.link-text img {
    display: none;
    height: 19px;
    width: 19px;
    position: absolute;
    right: 0;
    top: 0;
    background-color: #ffffd1;
    border-radius: 5px;
    cursor: pointer;
    z-index: 2;
    padding: 9px
}

#link-text {
    font-size: 14px;
    color: #363636;
    word-break: break-all;
    user-select: all
}

#copy {
    user-select: none
}

#copied-code {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    font-size: 14px;
    background-color: #363636;
    color: #fff;
    border-radius: 8px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all .3s;
    user-select: none;
    padding: 10px;
    z-index: 2
}

.checkout-list {
    display: flex;
    justify-content: center
}

.information-list {
    max-width: 800px;
    width: 100%;
    background-color: #363636;
    border-radius: 14px;
    padding: 12px
}

.info {
    border-bottom: 3px solid #000000bd;
    padding: 21px 14px
}

.info span,
b {
    font-size: 16px;
    color: #fff
}

.see-tickets {
    display: flex;
    justify-content: center;
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
    background-color: #1e2122;
    color: #f3f3f3;
    border-radius: 7px;
    cursor: pointer;
    user-select: none;
    padding: 12px;
    margin-top: 12px;
    transition: all .2s
}

.see-tickets:hover {
    background-color: #f3f3f3;
    color: #000;
    border-radius: 9px 9px 25px 25px;
    transition: all .2s
}

.ticket-numbers {
    opacity: 0;
    visibility: hidden;
    height: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    transition: margin .4s
}

.ticket-numbers p {
    font-size: 15px;
    color: #f3f3f3;
    border: 1px solid #6f6f6f;
    border-radius: 7px;
    min-width: 44px;
    text-align: center;
    text-align: -webkit-center;
    padding: 8px;
    margin: 0 5px 5px 0
}

.ticket-numbers p:last-child {
    margin-right: 0
}

.visible {
    height: max-content;
    visibility: visible;
    opacity: 1;
    margin: 28px 22px;
    transition: all .4s
}

.purchase {
    display: flex;
    justify-content: center;
    text-align: center;
    text-align: -webkit-center;
    text-decoration: none
}

.purchase span {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    background-color: #ffcd2b;
    color: #fff;
    border-radius: 7px;
    max-width: 800px;
    width: 100%;
    cursor: pointer;
    user-select: none;
    padding: 11px;
    margin-top: 20px;
    transition: all .2s
}

.purchase span:hover {
    background-color: #ffcd2b80;
    transition: all .3s
}

.ws {
    display: flex;
    justify-content: center;
    text-align: center;
    text-align: -webkit-center;
    text-decoration: none
}

.ws span {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    background-color: #25d366;
    color: #fff;
    border-radius: 7px;
    max-width: 800px;
    width: 100%;
    cursor: pointer;
    user-select: none;
    padding: 11px;
    margin-top: 20px;
    transition: all .2s
}

.ws span:hover {
    background-color: #0c5c29;
    transition: all .3s
}

@media (max-width:900px) {
    .info {
        display: flex;
        flex-direction: column
    }
}

@media (max-width:730px) {
    .purchase-tickets-box {
        top: -50px
    }
    .safe-buy-image img {
        height: 25px
    }
    .safe-buy span {
        font-size: 11px
    }
    .order-complete-container {
        margin-top: 62px
    }
    .order-complete h1 {
        font-size: 26px
    }
    .order-complete span {
        font-size: 15px
    }
    .successfully {
        padding: 25px
    }
    .successfully img {
        height: 50px;
        width: 50px
    }
    .view-details-order a {
        font-size: 15px
    }
    .link-info {
        display: none
    }
}

@media (max-width:900px) {
    .file-upload-button {
        padding: 10px;
        font-size: 14px
    }
    .file-upload {
        width: 100%;
        max-width: 100%
    }
    .raffle h2 {
        font-size: 20px
    }
    .raffle-description,
    .raffle-origin,
    .raffle-payment-method,
    .raffle-ranking,
    .raffle-tickets {
        font-size: 15px
    }
    .my-tickets a {
        font-size: 14px;
        padding: 10px 20px
    }
    .my-tickets a img {
        height: 14px
    }
    .main-statement {
        font-size: 13px;
        padding: 8px 17px
    }
    .podium {
        justify-content: space-between
    }
    .rank {
        margin: 0 5px
    }
    .rank p {
        font-size: 13px
    }
}

@media (max-width:700px) {
    .file-upload-button {
        padding: 12px;
        font-size: 14px
    }
    .file-upload-text {
        font-size: 12px
    }
    .search-tickets-box label {
        font-size: 16px
    }
    .search-tickets-box input {
        font-size: 14px
    }
    .search-tickets-box button {
        font-size: 14px
    }
    .raffle h2 {
        font-size: 18px
    }
    .raffle-description,
    .raffle-origin,
    .raffle-payment-method,
    .raffle-ranking,
    .raffle-tickets {
        font-size: 12px
    }
    .raffle-description h4,
    .raffle-origin h4,
    .raffle-payment-method h4,
    .raffle-ranking h4,
    .raffle-tickets h4 {
        font-size: 13px
    }
    .my-tickets a {
        font-size: 13px;
        padding: 10px 20px
    }
    .my-tickets a img {
        height: 13px
    }
    .main-statement {
        font-size: 12px;
        padding: 8px 17px
    }
    .organizer-info p {
        font-size: 12px
    }
    .organizer-info h4 {
        font-size: 14px
    }
    .tag span {
        font-size: 11px
    }
    .podium {
        justify-content: space-between
    }
    .rank {
        margin: 0 5px
    }
    .rank p {
        font-size: 12px
    }
    .qty-btn {
        font-size: 20px
    }
    .purchase button {
        font-size: 14px
    }
    .purchase-tickets-box label {
        font-size: 16px
    }
    .purchase-tickets-box input {
        font-size: 14px
    }
    .terms p,
    .terms p a {
        font-size: 12px
    }
    .purchase-submit-btn {
        font-size: 14px
    }
}

@media (max-width:901px) {
    .main-description h4 {
        font-size: 14px
    }
    .main-description p {
        font-size: 13px
    }
    .available,
    .unavailable {
        font-size: 10px
    }
}

@media (max-width:550px) {
    .file-upload-button {
        padding: 10px;
        font-size: 14px
    }
    .file-upload {
        width: 80%;
        max-width: 100%
    }
    .raffle-image img {
        margin: 0 0 16px 0
    }
    .group-info {
        flex-direction: column;
        align-items: flex-start
    }
}

/* ========================================
   NO RAFFLE AVAILABLE - SANTA CLAUS
   ======================================== */

.no-raffle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    min-height: 500px;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 20px auto;
    max-width: 900px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Efecto de nieve cayendo */
.no-raffle-container::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200%;
    background-image: 
        radial-gradient(3px 3px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(2px 2px at 50% 50%, white, transparent),
        radial-gradient(3px 3px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(2px 2px at 15% 90%, white, transparent);
    background-size: 200px 200px, 150px 150px, 180px 180px, 220px 220px, 160px 160px, 190px 190px, 170px 170px;
    animation: snowfall 15s linear infinite;
    pointer-events: none;
    opacity: 0.6;
    z-index: 1;
}

/* Segunda capa de nieve para más profundidad */
.no-raffle-container::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200%;
    background-image: 
        radial-gradient(2px 2px at 40% 20%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(3px 3px at 70% 40%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 25% 60%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(2px 2px at 85% 80%, rgba(255, 255, 255, 0.8), transparent);
    background-size: 250px 250px, 200px 200px, 180px 180px, 230px 230px;
    animation: snowfall 20s linear infinite;
    pointer-events: none;
    opacity: 0.4;
    z-index: 1;
}

@keyframes snowfall {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100%);
    }
}

.santa-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    animation: floatSanta 3s ease-in-out infinite;
    z-index: 2;
}

@keyframes floatSanta {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.santa-image {
    max-width: 380px;
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.7));
}

.mensaje-liberacion {
    position: absolute;
    top: 12%;
    right: -5%;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #ffffff;
    padding: 20px 32px;
    border-radius: 15px;
    font-family: 'Roboto', 'Arial Black', sans-serif;
    font-size: 26px;
    font-weight: 900;
    box-shadow: 
        0 10px 25px rgba(231, 76, 60, 0.5),
        0 0 0 3px #ffffff,
        0 0 0 6px rgba(231, 76, 60, 0.4),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2);
    transform: rotate(-8deg);
    animation: pulseMessage 2s infinite;
    text-align: center;
    line-height: 1.1;
    letter-spacing: 1.5px;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.6),
        0 0 10px rgba(255, 255, 255, 0.3);
    z-index: 3;
}

@keyframes pulseMessage {
    0%, 100% {
        transform: rotate(-8deg) scale(1);
        box-shadow: 
            0 10px 25px rgba(231, 76, 60, 0.5),
            0 0 0 3px #ffffff,
            0 0 0 6px rgba(231, 76, 60, 0.4),
            inset 0 -2px 10px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: rotate(-8deg) scale(1.08);
        box-shadow: 
            0 15px 35px rgba(231, 76, 60, 0.7),
            0 0 0 3px #ffffff,
            0 0 0 6px rgba(231, 76, 60, 0.6),
            0 0 30px rgba(231, 76, 60, 0.4),
            inset 0 -2px 10px rgba(0, 0, 0, 0.2);
    }
}

.no-raffle-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    margin: 20px 0 15px;
    text-align: center;
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease-out;
    z-index: 2;
    position: relative;
}

.no-raffle-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 550px;
    line-height: 1.7;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1.2s ease-out;
    z-index: 2;
    position: relative;
    font-weight: 400;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mensaje-liberacion::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.4) 0%, transparent 70%);
    border-radius: 15px;
    z-index: -1;
    animation: glowPulse 2s infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

@media (max-width: 768px) {
    .no-raffle-container {
        padding: 40px 20px;
        min-height: 450px;
        margin: 15px;
        background: rgba(20, 20, 20, 0.7);
    }

    .santa-wrapper {
        margin-bottom: 30px;
    }

    .santa-image {
        max-width: 280px;
    }

    .mensaje-liberacion {
        font-size: 20px;
        padding: 14px 22px;
        top: 10%;
        right: -8%;
        box-shadow: 
            0 8px 20px rgba(231, 76, 60, 0.5),
            0 0 0 2px #ffffff,
            0 0 0 5px rgba(231, 76, 60, 0.4),
            inset 0 -2px 8px rgba(0, 0, 0, 0.2);
    }

    .no-raffle-title {
        font-size: 2rem;
        margin: 15px 0 12px;
    }

    .no-raffle-text {
        font-size: 1.05rem;
        padding: 0 15px;
        max-width: 450px;
    }
}

@media (max-width: 480px) {
    .no-raffle-container {
        padding: 30px 15px;
        min-height: 400px;
        border-radius: 15px;
        background: rgba(20, 20, 20, 0.75);
    }

    .santa-image {
        max-width: 220px;
    }

    .mensaje-liberacion {
        font-size: 16px;
        padding: 12px 18px;
        top: 8%;
        right: -10%;
        letter-spacing: 1px;
        box-shadow: 
            0 6px 15px rgba(231, 76, 60, 0.5),
            0 0 0 2px #ffffff,
            0 0 0 4px rgba(231, 76, 60, 0.4),
            inset 0 -2px 6px rgba(0, 0, 0, 0.2);
    }

    .no-raffle-title {
        font-size: 1.6rem;
        margin: 12px 0 10px;
    }

    .no-raffle-text {
        font-size: 0.95rem;
        padding: 0 10px;
        line-height: 1.6;
    }
}

@media (min-width: 769px) {
    .santa-wrapper::before {
        content: '❄';
        position: absolute;
        top: -30px;
        left: -50px;
        font-size: 25px;
        color: rgba(255, 255, 255, 0.7);
        animation: snowflake1 4s infinite ease-in-out;
    }

    .santa-wrapper::after {
        content: '❄';
        position: absolute;
        top: -20px;
        right: -40px;
        font-size: 20px;
        color: rgba(255, 255, 255, 0.6);
        animation: snowflake2 5s infinite ease-in-out;
    }
}

@keyframes snowflake1 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(20px) rotate(180deg);
        opacity: 1;
    }
}

@keyframes snowflake2 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(15px) rotate(-180deg);
        opacity: 1;
    }
}

/* =======================================
   BLOQUE DESCRIPCIÓN PREMIOS (Genesis Jimenez)
   ======================================= */

.cm-prize-summary{
  margin-top:10px;
  margin-bottom:14px;
}

.cm-prize-summary-inner{
  position:relative;
  padding:12px 14px 8px;
  border-radius:14px;
  background:radial-gradient(circle at top,#2a2a2a,#181818);
  border:1px solid rgba(255,255,255,0.05);
  box-shadow:0 14px 30px -18px rgba(0,0,0,0.95);
}

/* Texto recortado */
.cm-prize-summary-text{
  margin:0;
  font-size:0.9rem;
  line-height:1.6;
  color:#f4f4f4;
  opacity:0.9;

  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3; /* Nº de líneas visibles */
  overflow:hidden;
}

/* Estado expandido */
.cm-prize-summary-text.cm-expanded{
  -webkit-line-clamp:unset;
  max-height:none;
}

/* Botón */
.cm-prize-summary-toggle{
  margin-top:6px;
  padding:3px 0 1px;
  border:none;
  background:none;
  color:#db9d33;
  font-size:0.8rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.07em;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.cm-prize-summary-toggle::after{
  content:'▼';
  font-size:0.7rem;
  transition:transform .2s ease;
}

/* Flecha hacia arriba cuando está expandido */
.cm-prize-summary-toggle[aria-expanded="true"]::after{
  transform:rotate(180deg);
}

/* Hover */
.cm-prize-summary-toggle:hover{
  color:#ffd98a;
}

/* Versión móvil ajustada */
@media (max-width:480px){
  .cm-prize-summary-inner{
    padding:10px 11px 6px;
    border-radius:12px;
  }
  .cm-prize-summary-text{
    font-size:0.82rem;
    -webkit-line-clamp:3;
  }
  .cm-prize-summary-toggle{
    font-size:0.76rem;
  }
}

/* --- RANKING LISTA MODERNA (OPCIÓN 2) --- */
.ranking-modern {
  max-width:430px;
  margin:32px auto 0;
  background:#242424;
  border:1px solid #2e2e2e;
  border-radius:18px;
  padding:22px 20px 24px;
  box-shadow:0 6px 18px -6px rgba(0,0,0,.55);
  position:relative;
  overflow:hidden;
}

.ranking-modern::before {
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 75% 25%, rgba(125,25,1,.17), transparent 60%),
    radial-gradient(circle at 25% 80%, rgba(164,122,20,.12), transparent 65%);
  opacity:.9;
  pointer-events:none;
}

.ranking-modern-title {
  margin:0 0 10px;
  font-size:15px;
  text-align:center;
  letter-spacing:.8px;
  font-weight:700;
  text-transform:uppercase;
  background:linear-gradient(90deg,#7d1901,#a47a14);
  -webkit-background-clip:text;
  color:transparent;
}

.ranking-list {
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.ranking-item {
  display:grid;
  grid-template-columns:38px 1fr auto;
  align-items:center;
  gap:12px;
  background:linear-gradient(120deg,#2d2d2d,#1f1f1f);
  border:1px solid #363636;
  border-radius:14px;
  padding:10px 14px 10px 12px;
  position:relative;
  transition:transform .25s, box-shadow .25s, border-color .25s;
}

.ranking-item:hover {
  transform:translateY(-4px);
  box-shadow:0 8px 20px -8px #000;
  border-color:#7d190155;
}

.place-badge {
  width:38px;
  height:38px;
  border-radius:12px;
  background:#2f2f2f;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:.9rem;
  color:#bbb;
  letter-spacing:.5px;
  position:relative;
  box-shadow:0 0 0 1px #404040 inset;
}

.ranking-item.first .place-badge {
  background:linear-gradient(135deg,#dfc044,#7d1901);
  color:#121212;
  box-shadow:0 0 0 1px #7d190166 inset;
}
.ranking-item.second .place-badge {
  background:linear-gradient(135deg,#c7c7c7,#555);
  color:#121212;
  box-shadow:0 0 0 1px #888 inset;
}
.ranking-item.third .place-badge {
  background:linear-gradient(135deg,#d49052,#7d4a09);
  color:#121212;
  box-shadow:0 0 0 1px #a56a2677 inset;
}

.ranking-item .info {
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
}

.ranking-item .username {
  font-size:.8rem;
  font-weight:600;
  color:#e6e6e6;
  letter-spacing:.3px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:100%;
}

.progress-mini {
  width:100%;
  height:7px;
  border-radius:6px;
  overflow:hidden;
  position:relative;
}

.progress-mini .fill {
  height:100%;
  background:linear-gradient(90deg,#7d1901,#a82301,#7d1901);
  background-size:200% 100%;
  animation:progressFlow 4s linear infinite;
  border-radius:6px;
  transition:width .4s;
}

@keyframes progressFlow {
  0% {background-position:0 50%;}
  50% {background-position:100% 50%;}
  100% {background-position:0 50%;}
}

.ranking-item .tickets {
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:center;
  gap:2px;
}

.ranking-item .tickets b {
  font-size:.9rem;
  color:#dfc044;
  font-weight:700;
  letter-spacing:.6px;
}

.ranking-item .tickets span {
  font-size:.55rem;
  letter-spacing:.5px;
  text-transform:uppercase;
  color:#9c9c9c;
  font-weight:600;
}

.ranking-empty {
  font-size:.8rem;
  color:#bbb;
  text-align:center;
  margin:4px 0 0;
}

@media (max-width:460px) {
  .ranking-modern {
    padding:18px 14px 20px;
    max-width:360px;
  }
  .ranking-item {
    grid-template-columns:34px 1fr auto;
    padding:9px 12px;
    gap:10px;
  }
  .place-badge {
    width:34px;
    height:34px;
    font-size:.75rem;
  }
  .ranking-item .username {
    font-size:.72rem;
  }
  .ranking-item .tickets b {
    font-size:.8rem;
  }
  .ranking-item .tickets span {
    font-size:.5rem;
  }
}




/* ========== purchase.css ========== */
/* ============================================
   HISTORIAL DE COMPRAS
   ============================================ */

   .historial-container {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    padding: 0 15px;
}

.historial-title {
    color: #fff;
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.historial-title i {
    color: #ffd700;
}

.historial-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ============================================
   ITEM DE HISTORIAL
   ============================================ */

.historial-item {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-left: 4px solid #666;
    transition: all 0.3s ease;
}

.historial-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Estados específicos */
.historial-item.estado-completado,
.historial-item.estado-aprobado {
    border-left-color: #28a745;
}

.historial-item.estado-pendiente {
    border-left-color: #ffc107;
}

.historial-item.estado-denegado,
.historial-item.estado-rechazado {
    border-left-color: #dc3545;
}

/* ============================================
   HEADER DEL HISTORIAL
   ============================================ */

.historial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #333;
}

.historial-fecha {
    color: #aaa;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.historial-fecha i {
    color: #ffd700;
}

.historial-estado {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Estados - Colores */
.estado-completado .historial-estado,
.estado-aprobado .historial-estado {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid #28a745;
}

.estado-pendiente .historial-estado {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
}

.estado-denegado .historial-estado,
.estado-rechazado .historial-estado {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid #dc3545;
}

/* Iconos de estado */
.estado-completado .historial-estado i,
.estado-aprobado .historial-estado i {
    color: #28a745;
}

.estado-pendiente .historial-estado i {
    color: #ffc107;
    animation: pulse 2s infinite;
}

.estado-denegado .historial-estado i,
.estado-rechazado .historial-estado i {
    color: #dc3545;
}

/* ============================================
   BODY DEL HISTORIAL
   ============================================ */

.historial-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.historial-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    color: #888;
    font-size: 0.85em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    color: #fff;
    font-size: 1em;
    font-weight: 600;
}

/* ============================================
   ANIMACIONES
   ============================================ */

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .historial-title {
        font-size: 1.3em;
    }

    .historial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .historial-estado {
        align-self: flex-start;
    }

    .historial-body {
        grid-template-columns: 1fr;
    }

    .historial-item {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .historial-container {
        padding: 0 10px;
    }

    .historial-title {
        font-size: 1.2em;
    }

    .historial-item {
        padding: 12px;
    }

    .info-label {
        font-size: 0.8em;
    }

    .info-value {
        font-size: 0.95em;
    }
}

/* Boletos en historial */
.historial-boletos {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.boletos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.boleto-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.estado-completado .boleto-badge {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.estado-pendiente .boleto-badge {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.text-muted {
    color: #999 !important;
    font-style: italic;
}


/* ========== raffles.css ========== */
/* =========================
   VARIABLES GLOBALES
   ========================= */
:root{
  --accent:#db9d33;
  --accent-alt:#db9d33;
  --accent-grad:linear-gradient(92deg,#db9d33 0%,#db9d33 55%,#db9d33 100%);
  --bg-card:#262626;
  --bg-card-alt:#181818;
  --radius-lg:22px;
  --transition:.55s cubic-bezier(.8,.05,.2,1);
  --shadow:0 18px 40px -18px rgba(0,0,0,.9);
  --shadow-hover:0 22px 55px -22px rgba(0,0,0,.95),0 0 0 1px #db9d3345;
  --progress-bg:#1e1e1e;
  --progress-fill:linear-gradient(90deg,#db9d33,#db9d33,#db9d33);
  --danger:#c74444;

  /* TAMAÑOS – MOBILE FIRST */
  --fs-xxs:0.7rem;
  --fs-xs:0.75rem;
  --fs-s:0.85rem;
  --fs-base:0.9rem;
  --fs-title:1rem;
}

/* Aumentamos ligeramente en pantallas medianas */
@media (min-width:768px){
  :root{
    --fs-xs:0.8rem;
    --fs-s:0.95rem;
    --fs-base:1rem;
    --fs-title:1.2rem;
  }
}

/* Y un poco más en desktop grande */
@media (min-width:1200px){
  :root{
    --fs-title:1.3rem;
  }
}

/* =========================
   RESETEOS BÁSICOS
   ========================= */

html,body{
  overscroll-behavior-x:none;
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

body{
  margin:0;
  background:#050505;
  color:#e3e3e3;
  font-family:'Poppins',system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

.no-select,
.no-select *{
  -webkit-user-select:none;
  user-select:none;
  -webkit-touch-callout:none;
  -webkit-tap-highlight-color:transparent;
}

.carousel-nav,
.btn-sm{
  -webkit-user-select:none;
  user-select:none;
  -webkit-tap-highlight-color:transparent;
  text-decoration:none;
}

.carousel-nav::selection,
.btn-sm::selection,
.carousel-nav *::selection,
.btn-sm *::selection{
  background:transparent;
}

.btn-sm:focus:not(:focus-visible),
.carousel-nav:focus:not(:focus-visible){
  outline:none;
}

/* =========================
   CONTENEDOR PRINCIPAL
   ========================= */

.active-raffles-section{
  margin:26px auto 44px;
  max-width:1320px;
  padding:0 14px;
}

.active-raffles-section .section-title{
  font-size:1.05rem;
  font-weight:800;
  color:#fff;
  display:flex;
  gap:8px;
  align-items:center;
  letter-spacing:.6px;
  text-transform:uppercase;
  margin:0 0 16px;
}

.active-raffles-section .section-title i{
  color:var(--accent-alt);
  filter:drop-shadow(0 0 5px rgba(245,186,81,.45));
}

@media (min-width:768px){
  .active-raffles-section{
    margin:36px auto 58px;
    padding:0 18px;
  }
  .active-raffles-section .section-title{
    font-size:1.25rem;
  }
}

/* =========================
   CAROUSEL LAYOUT
   ========================= */

.carousel{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:20px;
}

.carousel *{
  -webkit-user-select:none;
  user-select:none;
  scrollbar-width:thin;
}

.carousel-viewport{
  position:relative;
  width:100%;
  border-radius:24px;
  padding:12px 4px 22px;
  isolation:isolate;
}

.carousel-track{
  display:flex;
  flex-direction:column;
  gap:20px;
  width:100%;
}

.carousel-track>.raffle-card{
  flex:0 0 100%;
  display:flex;
  justify-content:center;
  background:transparent;
  border:none;
  padding:0;
  position:relative;
  scroll-snap-align:center;
}

/* =========================
   CARD
   ========================= */

.raffle-card-inner{
  width:100%;
  max-width:430px;
  background:radial-gradient(circle at top,#313131 0%,#171717 55%,#101010 100%);
  border-radius:var(--radius-lg);
  position:relative;
  overflow:hidden;
  border:1px solid #333;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background .55s ease;
  isolation:isolate;
  animation:scaleIn .5s ease;
}

@media (min-width:768px){
  .raffle-card-inner{
    width:clamp(300px,52vw,430px);
  }
}

@media (hover:hover){
  .raffle-card-inner:hover{
    transform:translateY(-4px);
    box-shadow:var(--shadow-hover);
    border-color:#444;
    background:radial-gradient(circle at top,#383129 0%,#151515 55%,#0c0c0c 100%);
  }
}

/* =========================
   IMAGEN
   ========================= */

.raffle-card-image{
  position:relative;
  width:100%;
  aspect-ratio:var(--ar,4/3);
  background:#050505;
  overflow:hidden;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  --blur-opacity:.55;
}

.raffle-card-image img.raffle-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .8s cubic-bezier(.25,.1,.25,1),opacity .45s ease;
  opacity:0;
  transform:scale(1.03);
  backface-visibility:hidden;
  -webkit-user-drag:none;
  user-drag:none;
  pointer-events:none;
}

.raffle-card-image img.raffle-img.ready{
  opacity:1;
  transform:none;
}

.raffle-card-image.is-horizontal img.raffle-img{
  object-fit:cover;
}

.raffle-card-image.is-vertical img.raffle-img{
  object-fit:contain;
  width:100%;
  height:100%;
  z-index:1;
  position:relative;
}

.raffle-card-image.is-vertical::before{
  content:"";
  position:absolute;
  inset:0;
  background:var(--bg-blur,#111) center/cover no-repeat;
  filter:blur(22px) brightness(var(--blur-opacity));
  transform:scale(1.18);
  z-index:0;
  transition:filter .6s;
}

@media (hover:hover){
  .raffle-card-inner:hover .raffle-card-image.is-horizontal img.raffle-img{
    transform:scale(1.06);
  }
  .raffle-card-inner:hover .raffle-card-image.is-vertical::before{
    filter:blur(26px) brightness(.62);
  }
}

/* =========================
   RIBBON / ESTADOS
   ========================= */

.ribbon-free{
  position:absolute;
  top:14px;
  left:-40px;
  background:linear-gradient(120deg,#00b894,#019163);
  color:#fff;
  font-size:0.55rem;
  font-weight:800;
  letter-spacing:.9px;
  padding:6px 50px 5px;
  transform:rotate(-30deg);
  text-transform:uppercase;
  box-shadow:0 4px 10px -3px rgba(0,0,0,.65);
  z-index:6;
}

.soldout-stamp{
  position:absolute;
  inset:0;
  background:linear-gradient(160deg,#460000d4,#000000cc);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:.9rem;
  font-weight:800;
  letter-spacing:2px;
  color:#ffe1e1;
  text-shadow:0 2px 4px #000;
  z-index:8;
}

/* =========================
   BODY DE LA CARD
   ========================= */

.raffle-card-body{
  padding:14px 14px 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1;
}

@media (min-width:768px){
  .raffle-card-body{
    padding:18px 20px 20px;
    gap:12px;
  }
}

.raffle-card-title{
  margin:0 0 2px;
  font-size:var(--fs-title);
  font-weight:700;
  line-height:1.18;
  color:#fff;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* =========================
   META (precio, fecha)
   ========================= */

.raffle-meta{
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.meta-price{
  background:linear-gradient(135deg,#2a2216,#17130c);
  color:#fff;
  padding:6px 12px 5px;
  font-size:var(--fs-s);
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-weight:700;
  letter-spacing:.45px;
  box-shadow:0 4px 10px -4px rgba(0,0,0,.8),inset 0 0 0 1px rgba(0,0,0,.6);
}

.meta-date{
  background:#202020;
  color:#c7c7c7;
  padding:5px 11px 5px;
  font-size:var(--fs-xs);
  font-weight:600;
  border-radius:999px;
  display:inline-flex;
  gap:6px;
  align-items:center;
  letter-spacing:.4px;
}

.meta-price i,
.meta-date i{
  color:var(--accent);
  font-size:.85em;
}

/* =========================
   PROGRESS BAR
   ========================= */

.progress.mini{
  height:24px;
  background:var(--progress-bg);
  border-radius:14px;
  position:relative;
  overflow:hidden;
  box-shadow:inset 0 0 0 1px #2a2a2a,0 6px 14px -8px rgba(0,0,0,.9);
  display:flex;
  align-items:center;
  justify-content:center;
}

@media (min-width:768px){
  .progress.mini{
    height:26px;
  }
}

.progress.mini .progress-bar{
  position:absolute;
  top:0;
  left:0;
  height:100%;
  width:0%;
  background:var(--progress-fill);
  background-size:200% 100%;
  animation:shimmer 5s linear infinite;
  transition:width .6s ease, background .4s ease, opacity .3s ease;
}

.progress.mini .progress-text{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:var(--fs-xs);
  font-weight:800;
  letter-spacing:.5px;
  color:#fff;
  text-shadow:0 1px 3px #000;
  white-space:nowrap;
  text-transform:uppercase;
  padding:0 10px;
}

@keyframes shimmer{
  0%{background-position:0 50%}
  50%{background-position:100% 50%}
  100%{background-position:0 50%}
}

/* =========================
   ACCIONES (BOTONES)
   ========================= */

.raffle-actions{
  display:flex;
  gap:8px;
  margin-top:4px;
}

/* Botón base */
.btn-sm{
  flex:1;
  background:var(--accent-grad);
  color:#17130b;
  font-size:var(--fs-base);
  font-weight:800;
  letter-spacing:.5px;
  text-transform:uppercase;
  border:none;
  border-radius:14px;
  padding:9px 10px 9px;
  cursor:pointer;
  display:inline-flex;
  gap:6px;
  justify-content:center;
  align-items:center;
  position:relative;
  overflow:hidden;
  transition:filter .3s ease,transform .2s ease,box-shadow .3s ease,background-position .5s ease;
  background-size:200% 100%;
  box-shadow:0 10px 22px -10px rgba(0,0,0,.9);
}

.btn-sm i{
  font-size:.95em;
}

.btn-sm:hover{
  filter:brightness(1.08);
  transform:translateY(-2px);
  box-shadow:0 14px 24px -14px rgba(0,0,0,.95);
  background-position:100% 50%;
}

.btn-sm:active{
  transform:translateY(0) scale(.97);
  box-shadow:0 8px 18px -12px rgba(0,0,0,.9);
}

/* Botón COMPRAR */
.btn-sm.buy-btn{
  flex:1.3;
}

/* Botón CANAL (WhatsApp/Telegram) */
.btn-sm.channel-btn{
  flex:1;
  background:linear-gradient(92deg,#25D366 0%,#128C7E 55%,#25D366 100%);
  color:#02110b;
}
.btn-sm.channel-btn i{
  font-size:1.05em;
}

/* Botón VERIFICAR BOLETOS */
.btn-sm.verify-btn{
  flex:0 0 40px;
  aspect-ratio:1/1;
  background:#262626;
  color:var(--accent);
  border-radius:12px;
  box-shadow:0 6px 14px -10px rgba(0,0,0,.9);
  font-size:1rem;
  padding:0;
}

/* Etiqueta AGOTADA */
.sold-label{
  flex:1;
  background:#5e2020;
  color:#ffd7d7;
  text-align:center;
  font-size:var(--fs-xs);
  font-weight:800;
  letter-spacing:.6px;
  padding:9px 4px 8px;
  border-radius:14px;
  border:1px solid #712c2c;
  box-shadow:inset 0 0 0 1px #000,0 6px 16px -14px rgba(0,0,0,.9);
  text-transform:uppercase;
}

/* =========================
   CONTROLES CARRUSEL
   (los dejamos definidos por si quieres activarlos luego)
   ========================= */

.carousel-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:56px;
  height:56px;
  border-radius:50%;
  background:radial-gradient(circle at 30% 20%,#2e2e2e,#111);
  backdrop-filter:blur(6px);
  border:1px solid #2c2c2c;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color:var(--accent);
  font-size:1.1rem;
  z-index:30;
  transition:.45s, transform .45s, opacity .45s;
  box-shadow:0 10px 28px -10px rgba(0,0,0,.9);
}

.carousel-nav.prev{left:calc(-1 * var(--nav-gap));}
.carousel-nav.next{right:calc(-1 * var(--nav-gap));}
.carousel-nav:disabled{opacity:.25;cursor:default;}
.carousel-nav:not(:disabled):hover{
  background:radial-gradient(circle at 30% 20%,#3b2815,#0c0c0c);
  color:#ffe7c4;
  transform:translateY(-50%) scale(1.08);
}
.carousel-nav::after{
  content:"";
  position:absolute;
  inset:-10px;
}

@media (hover:hover){
  .carousel:not(:hover) .carousel-nav{opacity:.8;}
  .carousel:hover .carousel-nav.prev{
    transform:translate(-4px,-50%) scale(1.08);
  }
  .carousel:hover .carousel-nav.next{
    transform:translate(4px,-50%) scale(1.08);
  }
}

.carousel-nav:focus-visible,
.btn-sm:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
}

/* Si NO quieres flechas visibles por ahora */
.carousel-nav{
  display:none !important;
}

/* =========================
   RESPONSIVE EXTRA
   ========================= */

@media (min-width:640px){
  .carousel{min-height:480px;}
}

@media (min-width:900px){
  .carousel-viewport{padding:16px 4px 28px;}
  .carousel-track>.raffle-card{flex:0 0 66%;}
}

@media (min-width:1200px){
  .carousel-track>.raffle-card{flex:0 0 52%;}
}

/* Ajustes finos en móviles pequeños */
@media (max-width:400px){
  .raffle-card-body{
    padding:12px 11px 12px;
    gap:8px;
  }
  .meta-price,
  .meta-date{
    padding:4px 9px 4px;
  }
}

/* =========================
   ANIMACIÓN DE ENTRADA
   ========================= */

@keyframes scaleIn{
  from{transform:scale(.97);opacity:0}
  to{transform:scale(1);opacity:1}
}

/* =========================
   BADGE / NOTA DINÁMICA
   ========================= */

.raffle-card-image{position:relative;}

.raffle-note{
  position:absolute;
  top:8px;
  left:8px;
  z-index:9;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 11px 5px;
  font-size:var(--fs-xs);
  font-weight:600;
  letter-spacing:.4px;
  line-height:1.1;
  color:#fff;
  background:linear-gradient(145deg,#2a2a2ad9,#1b1b1be6);
  border-radius:999px;
  max-width:72%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  box-shadow:0 4px 10px -4px rgba(0,0,0,.55);
}

/* Barra lateral de color */
.raffle-note::before{
  content:"";
  width:5px;
  height:70%;
  border-radius:99px;
  display:block;
  background:linear-gradient(180deg,#ff6464,#c9002e);
}

/* Variantes */
.raffle-note.success::before{
  background:linear-gradient(180deg,#27c66c,#118a44);
}
.raffle-note.warning::before{
  background:linear-gradient(180deg,#ffae42,#ff6b00);
}
.raffle-note.danger::before{
  background:linear-gradient(180deg,#e14b4b,#a91919);
}

.raffle-note.multiline{
  white-space:normal;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}

/* Badge responsive */
@media (max-width:600px){
  .raffle-note{
    font-size:var(--fs-xxs);
    padding:4px 9px 4px;
    max-width:78%;
  }
}

/* Respeto preferencias de movimiento */
@media (prefers-reduced-motion:reduce){
  .raffle-note{
    animation:none!important;
  }
}


