* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Roboto, sans-serif
}

body {
    background-color:#242424;
    color: #fff;
    line-height: 1.6;
}

.custom-header {
    background-color: #242424;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 20px
}

.custom-header .logo img {
    height: 72px
}

.logo-slogan-container {
    display: flex;
    align-items: center;
    gap: 16px
}

.slogan {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: #9b9b9b;
    margin-left: 12px;
    gap: 6px;
    white-space: nowrap
}

.slogan i {
    color: #836f00;
    font-size: 1.2em;
    margin-left: 4px
}

@media (max-width:600px) {
    .slogan {
        font-size: 1rem;
        margin-left: 0;
        white-space: normal;
        max-width: 170px;
        line-height: 1.15;
        word-break: break-word;
        text-align: left
    }
}

.header-icons {
    display: flex;
    gap: 15px
}

.header-icons a {
    color: #23d100;
    font-size: 22px;
    transition: transform .3s, color .3s
}

.header-icons a:hover {
    color: #fff;
    transform: scale(1.2)
}

.logo a {
    display: flex;
    user-select: none
}

.logo img {
    height: 72px
}

nav.active .logo img {
    height: 68px
}

.logo img:hover {
    transform: scale(1.05)
}

main {
    display: flex;
    justify-content: center;
    margin: 10px 15px
}

.rifas-carrusel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 20px;
}
.rifa-nav-btn {
    background: #23d100;
    border: none;
    color: #121212;
    font-size: 2rem;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}
.rifa-nav-btn:hover {
    background: #FFD700;
}
#rifa-active-content {
    width: 100%;
    max-width: 420px;
}


.main-container {
    width: 150%;
    max-width: 700px
}

.main-raffle {
    border-radius: 12px;
    margin-bottom: 32px;
    background-color: #252525;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .5);
    transition: transform .3s
}

.main-raffle:hover {
    transform: translateY(-5px)
}

.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: 12px;
    background-color: #202020;
    border-radius: 0 0 12px 12px
}

.main-description h4 {
    font-size: 23px;
    font-weight: 500;
    margin-top: 15px;
    color: #fff
}

.main-description p {
    font-size: 13px;
    margin-top: 6px;
    color: #ccc
}

.descripcion-ficha {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
    padding: 10px;
    background-color: #2a2a2a;
    border-radius: 10px;
    border-left: 4px solid #23d100
}

.ficha-item {
    display: flex;
    align-items: center;
    font-size: 13.5px;
    color: #e0e0e0
}

.ficha-item i {
    color: #23d100;
    margin-right: 10px;
    min-width: 16px;
    text-align: center;
    font-size: 14px
}

.ficha-item span {
    flex: 1;
    word-break: break-word
}

.raffle-details {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    background-color: #3d3d3d;
    padding: 10px 14px;
    border-radius: 10px
}

.raffle-detail {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #f1f1f1;
    gap: 8px;
    font-weight: 500
}

.raffle-detail i {
    color: #23d100;
    font-size: 15px
}

.raffle-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 8px;
    border-left: 4px solid #23d100;
    padding-left: 12px;
    line-height: 1.3
}

.available-item {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background-color: #23d100;
    text-transform: uppercase;
    border-radius: 17px;
    margin-top: 6px;
    padding: 8px 14px
}

.go-to {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center
}

.go-to a,
.go-to button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #23d100, #836305);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 26px;
    text-decoration: none;
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
    overflow: hidden
}

.go-to a::before,
.go-to button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, .25);
    transform: skewX(-25deg);
    transition: left .6s ease;
    z-index: 1
}

.go-to a:hover::before,
.go-to button:hover::before {
    left: 130%
}

.go-to a:hover,
.go-to button:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .25)
}

.go-to a i,
.go-to button i {
    animation: bounceIcon .6s infinite ease-in-out
}

@keyframes bounceIcon {
    0%,
    100% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(-6px)
    }
}

.go-to .agotado {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    background-color: #ccc;
    color: #666;
    border-radius: 30px;
    padding: 10px 20px;
    cursor: not-allowed
}

.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: #23d100;
}

.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: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.confirmation-tickets li {
  background: #333;
  color: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
}

.confirmation-alert {
  margin: 24px 28px 0 28px;
  background: #232323;
  color: #87cfff;
  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: #23d100;
}

.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: #23d100;
  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;
  }
}

.soldout-stamp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-20deg);
    background: rgba(220, 0, 0, 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: #23d10091;
    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: #23d100;
    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: #23d100;
    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: #23d100;
    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: #23d100 #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: #23d100; 
    color: #121212;
    transform: scale(1.1); 
}

.pagination-number.active {
    background-color: #23d100; 
    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 #23d10044, 0 2px 10px #000a;
    border-color: #23d100;
    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, #23d100 60%, #916d03 100%);
    font-weight: 600;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 6px #23d10033;
    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%, #23d100 100%);
    color: #fff;
    box-shadow: 0 4px 12px #23d10055;
}

.past-raffles-grid::-webkit-scrollbar {
    height: 6px;
}

.past-raffles-grid::-webkit-scrollbar-thumb {
    background: #23d100;
    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: #23d100;
    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: 32px;
  padding: 0 10px;
}

.add-tickets-box {
  background: #242424;
  border-radius: 18px;
  box-shadow: 0 4px 24px #0008;
  max-width: 380px;
  width: 100%;
  padding: 28px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* --- Título --- */
.raffle-tickets-title {
  color: #fff;
  font-size: 1.32rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: .02em;
  line-height: 1.15;
}

/* --- Botones de cantidad horizontal --- */
.add-tickets {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.qty-btn {
  background: #23262b;
  color: #f7d35f;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 11px 0;
  cursor: pointer;
  border: 0.5px solid #ffffffb6;     
  min-width: 56px;
  width: 100%;
  max-width: 64px;
  text-align: center;
  position: relative;
  user-select: none; 
  outline: none;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover,
.qty-btn:focus {
  background: #23d100;
  color: #181818;
  transform: scale(1.05);
  user-select: none; 
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.qty-btn-main {
  background: linear-gradient(90deg, #18c964 60%, #0e7c47 100%);
  color: #fff;
  font-size: 1.09rem;
  font-weight: 700;
  min-width: 68px;
  max-width: 85px;
  box-shadow: 0 3px 12px #18c96433;
  border-radius: 12px;
  z-index: 1;
  position: relative;
  user-select: none; 
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.qty-btn-main:hover,
.qty-btn-main:focus {
  background: linear-gradient(90deg, #0e7c47 60%, #18c964 100%);
  color: #fff;
  box-shadow: 0 6px 18px #18c96444;
  transform: scale(1.07);
  user-select: none; 
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.badge-recommended {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #23d100 70%, #745727 100%);
  color: #fff;
  font-size: 0.68em;
  font-weight: 700;
  border-radius: 7px 7px 7px 7px;
  padding: 2px 10px;
  box-shadow: 0 2px 8px #23d10022;
  letter-spacing: .03em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 2;
  border: 1.5px solid #fff3;
}

/* --- Input cantidad y +/- horizontal --- */
.quantity-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 0 0;
}
.quantity-op {
  background: #23262b;
  color: #23d100;
  font-size: 1.38rem;
  font-weight: 700;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background .17s, color .17s, transform .12s;
  user-select: none; 
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.quantity-op:hover,
.quantity-op:focus {
  background: #23d100;
  color: #23262b;
  transform: scale(1.10);
  user-select: none; 
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.quantity-op.increase {
  background: #18c964;
  color: #fff;
  user-select: none; 
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.quantity-op.increase:hover,
.quantity-op.increase:focus {
  background: #14b158;
  color: #fff;
  transform: scale(1.10);
  user-select: none; 
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.quantity-op.decrease {
  background: #ef4444;
  color: #fff;
  user-select: none; 
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.quantity-op.decrease:hover,
.quantity-op.decrease:focus {
  background: #b91c1c;
  color: #fff;
  transform: scale(1.10);
  user-select: none; 
  outline: none;
  -webkit-tap-highlight-color: transparent;
}


#quantityValue {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  background: #181818;
  border: 2px solid #23262b;
  border-radius: 7px;
  padding: 7px 14px;
  text-align: center;
  width: 66px;
  margin: 0 4px;
  transition: border .2s;
}

/* --- Total --- */
.total {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 1.05rem;
  border-radius: 8px;
  padding: 11px 15px;
  font-weight: 700;
  box-shadow: 0 1px 4px #0002;
  letter-spacing: .01em;
  margin-top: 6px;
}
#total-value {
  color: #248f52;
  font-size: 1.09rem;
  font-weight: 800;
}

/* --- Botón comprar --- */
.go-to {
  width: 100%;
  margin-top: 8px;
  display: flex;
  justify-content: center;
}
.go-to .pago-btn {
  font-size: 1.08rem;
  font-weight: 700;
  padding: 12px 0;
  width: 100%;
  max-width: 180px;
  background: linear-gradient(90deg, #23d100 70%, #105f01 100%);
  color: #fff;
  border-radius: 32px;
  transition: background .18s, color .18s, box-shadow .18s, transform .13s;
  box-shadow: 0 2px 8px #23d10022;
  border: none;
  user-select: none; 
  outline: none;
  -webkit-tap-highlight-color: transparent;
  letter-spacing: .04em;
}
.go-to .pago-btn:hover {
  background: linear-gradient(90deg, #59e63d 60%, #23d100 100%);
  color: #fff;
  box-shadow: 0 4px 18px #23d10022;
  transform: scale(1.03) translateY(-1px);
}

/* --- Responsive --- */
@media (max-width: 600px) {
  /* --- Ajustes generales para el contenedor --- */
  .raffle-tickets {
    margin-top: 20px;
    padding: 0 5vw;
  }
  .add-tickets-box {
    padding: 20px 5vw;
    border-radius: 14px;
    max-width: 95vw;
    gap: 15px;
  }
  .raffle-tickets-title {
    font-size: 1.02rem;
    margin-bottom: 5px;
  }

  /* --- Botones de añadir tickets --- */
  .add-tickets {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
  }
  .qty-btn {
    font-size: 1.1rem;
    padding: 10px 0;
    border-radius: 8px;
    min-width: 64px;
    max-width: 80px;
    text-align: center;
    background: #23262b;
    border: 1px solid #ccc;
    flex: 1; 
    user-select: none; 
    outline: none;
    -webkit-tap-highlight-color: transparent;
  }
  .qty-btn-main {
    background: linear-gradient(90deg, #18c964 60%, #0e7c47 100%);
    font-size: 1.2rem;
    min-width: 60px;
    max-width: 75px;
    padding: 10px 0;
    border-radius: 10px;
  }

  /* --- Etiqueta recomendada --- */
  .badge-recommended {
    font-size: 0.7em;
    padding: 3px 8px;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 6px;
    border-width: 1px;
    background: linear-gradient(90deg, #23d100 70%, #6b5329 100%);
    color: #fff; 
  }

  /* --- Caja de cantidad --- */
  .quantity-box {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .quantity-op {
    font-size: 1.2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #3a3a3a; 
    border: 1px solid #181818; 
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none; 
    outline: none;
    -webkit-tap-highlight-color: transparent;
  }
  #quantityValue {
    font-size: 1.1rem;
    padding: 8px 12px;
    border-radius: 8px;
    width: 70px;
    margin: 0 4px;
    text-align: center;
    background-color: #181818; /* Fondo blanco */
    border: 1px solid #ccc; /* Borde sutil */
  }

  /* --- Total de tickets --- */
  .total {
    font-size: 1.05rem;
    padding: 10px 12px;
    text-align: center;
  }
  #total-value {
    font-size: 1.1rem;
    font-weight: bold;
  }

  /* --- Botón de pago --- */
  .go-to .pago-btn {
    font-size: 1.1rem;
    padding: 12px 0;
    max-width: 180px;
    border-radius: 24px;
    background-color: #23d100; /* Fondo azul */
    color: #fff; /* Texto blanco */
    text-align: center;
    border: none;
    cursor: pointer;
    user-select: none; 
    outline: none;
    -webkit-tap-highlight-color: transparent;
  }
  .go-to .pago-btn:hover {
    background-color: #a78720; 
  }
}


.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: #23d10057;
    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: #23d100;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: #23d100;
    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.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    font-family: Roboto, sans-serif;
    padding: 15px;
}

.modal-pago-content {
    background: #242424;
    border-radius: 22px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.24);
    padding: 34px 28px 24px 28px;
    max-width: 410px;
    width: 95%;
    color: #fff;
    position: relative;
    animation: fadeIn 0.3s;
}

.close-pago-modal {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 26px;
    color: #cbd5e1;
    opacity: .7;
    cursor: pointer;
    transition: opacity .2s
}

.close-pago-modal:hover {
    opacity: 1
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #444c56;
    transition: background .3s
}

.step-dot.active {
    background: #23d100;
    border: 2px solid #23d100
}

.pago-step {
    display: none
}

.pago-step.active {
    display: block
}

.pago-heading {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: .03em;
    text-align: center;
    color: #fff
}

.modal-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 1rem
}

.modal-info-row .label {
    color: #cbd5e1
}

.modal-info-row .value {
    font-weight: 600;
    color: #fff
}

.modal-info-row.total {
    font-size: 1.13rem;
    font-weight: 700
}

.pago-metodos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px
}

.pago-metodo-btn {
    background: #3d3d3d;
    border-radius: 14px;
    padding: 22px 0 10px 0;
    font-size: 1rem;
    color: #e5e7eb;
    font-weight: 500;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background .3s, border .2s, color .2s, transform .2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    outline: 0
}

.pago-metodo-btn.selected,
.pago-metodo-btn:focus,
.pago-metodo-btn:hover {
    background: #353b44;
    color: #23d100;
    border: 2px solid #e5e7eb;
    transform: translateY(-2px) scale(1.04)
}

.pago-metodo-btn i {
    font-size: 2rem;
    margin-bottom: 8px
}

.pago-btn {
    background: #fff;
    color: #23272f;
    border: none;
    border-radius: 8px;
    padding: 13px 0;
    font-size: 1.1rem;
    font-weight: 700;
    width: 100%;
    margin-top: 18px;
    transition: background .2s, color .2s;
    cursor: pointer;
    user-select: none; 
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.pago-btn:hover {
    background: #23d100;
    color: #2a2a2a
}

.btn-group {
    display: flex;
    gap: 14px;
    margin-top: 18px
}

.pago-btn.back-btn {
    background-color: #444;
    color: #fff;
    width: 30%;
    padding: 8px 12px
}

.pago-btn.back-btn:hover {
    background-color: #555
}

.pago-btn.next-btn,
.pago-btn.submit-btn {
    flex: 1;
    padding: 10px 16px
}

.pago-input.clean {
    background: #2a2a2a;
    border: 2px solid #353b44;
    border-radius: 7px;
    color: #fff;
    margin-bottom: 8px!important;
    padding: 10px!important;
    font-size: .98rem;
    width: 100%;
    transition: border .2s
}

.pago-input.clean:focus {
    outline: 0;
    border-color: #e5e7eb
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    width: 100%;
    max-width: 400px;
}

.responsive-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
    cursor: pointer;
    background: #c0c0c0;
    border: 2px solid #dbdbdb;
    border-radius: 50px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.responsive-button:hover {
    background: #a5a5a5;
    border-color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.responsive-button i {
    font-size: 18px;
    animation: move-up-down 1s ease-in-out infinite;
}

@keyframes move-up-down {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px); 
    }
}

@media (max-width: 600px) {
    .responsive-button {
        font-size: 14px;
        padding: 8px 16px;
        border-radius: 30px;
    }

    .button-container {
        margin: 10px auto;
    }
}


.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 #23d100;
    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: #23d100;
}

.resumen-metodo .copy-btn:focus {
    outline: 2px solid #23d10050;
    outline-offset: 1px;
}

.metodo-pill {
    background: linear-gradient(90deg, #23d100 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: #23d100
}

.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 #23d100;
    border: 2px solid #fff;
    width: 18px;
    height: 18px;
    cursor: pointer;
    border-radius: 4px;
    transition: background .2s, border .2s
}

.terms-checkbox input:checked {
    background: #23d100;
    border-color: #23d100
}

.terms-checkbox label a {
    color: #23d100;
    text-decoration: none;
    font-weight: 700
}

.terms-checkbox label a:hover {
    text-decoration: underline
}

.terms-btn {
    background: #23d100;
    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: #23d100;
    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: #23d100;
    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: #23d10080;
    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: #23d100;
    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;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    position: relative
}

.progress {
    width: 100%;
    max-width: 600px;
    height: 30px;
    background-color: #3d3d3d;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #23d100, #41c925, #147201);
    transition: width .4s ease;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    text-align: right;
    line-height: 30px;
    background-size: 200% 200%;
    animation: shimmer 3s infinite linear;
    border-radius: 22px
}

.progress-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    z-index: 2;
    pointer-events: none
}

@keyframes shimmer {
    0% {
        background-position: 0 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0 50%
    }
}

@media (max-width:768px) {
    .progress {
        width: 90%;
        height: 25px
    }
    .progress-text {
        font-size: 14px
    }
    .progress-bar {
        font-size: 12px;
        line-height: 25px
    }
}

.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: space-between;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%
}

.footer-left {
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.footer-left a {
    color: #23d100;
    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: #23d100;
    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: row;
        justify-content: space-between;
        padding: 12px 14px
    }
    .footer-left {
        font-size: 12px;
        white-space: nowrap
    }
    .footer-right a {
        font-size: 18px
    }
}

.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: #23d100;
    color: #23d100
}

.file-drop-area i {
    font-size: 26px;
    margin-bottom: 8px;
    display: block;
    color: #23d100
}

.file-drop-area span {
    display: block;
    font-size: 13px;
    margin-top: 4px;
    color: #aaa
}

.file-drop-success {
    background-color: #3d3d3d73!important;
    border: 2px solid #10b981!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: #23d10022;
    border-radius: 10px;
    color: #23d100;
    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: #23d100;
    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: #23d10080;
    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
    }
}