/* Reset básico */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #121212;
    color: #fff;
    line-height: 1.6;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #121212;
    padding: 0px 20px; 
    transition: padding 0.3s ease;
}

.logo a {
    display: flex;
    user-select: none;
}

.logo img {
    height: 95px; 
    transition: transform 0.3s ease-in-out, height 0.3s ease; 
}

nav.active .logo img {
    height: 70px; 
}

.logo img:hover {
    transform: scale(1.05);
}

/* Estilo del menú (para desktop) */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li {
    text-align: center;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Eliminar el cuadro amarillo al hacer clic */
nav ul li a:focus, nav ul li a:hover {
    background-color: transparent;
    transform: scale(1.05);
}

/* Estilos del menú burger */
.burger-menu {
    display: none;
    cursor: pointer;
    color: white;
    font-size: 30px;
    user-select: none;
    -webkit-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 
}

.burger-menu:focus {
    outline: none;
}

.burger-menu:active {
    outline: none;
    box-shadow: none;
}

/* Menú responsive */
@media (max-width: 768px) {
    nav ul {
        display: none; /* Ocultamos el menú en móviles */
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #1e1e1e;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        z-index: 1;
        transition: transform 0.3s ease;  /* Transición suave para el menú */
    }

    nav ul li {
        text-align: left;
    }

    nav ul li a {
        font-size: 18px;
        padding: 15px;
        background-color: transparent;
    }

    /* Menú burger */
    .burger-menu {
        display: block; 
    }

    .burger-menu:focus {
        outline: none;  
    }

    nav.active ul {
        display: flex;
        transform: translateY(0);  
    }

    nav.active .logo img {
        height: 60px;
    }
}

/* Main */
main {
    display: flex;
    justify-content: center;
    margin: 30px 15px;
}

.main-container {
    width: 100%;
    max-width: 1000px;
}

.main-raffle {
    border-radius: 12px;
    margin-bottom: 32px;
    background-color: #252525;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
}

.main-raffle:hover {
    transform: translateY(-5px);
}

.main-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    max-height: 500px; /* Limitar la altura máxima del contenedor en PC */
}

.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: 20px;
    background-color: #333;
    border-radius: 0 0 12px 12px;
}

.main-description h4 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.main-description p {
    font-size: 14px;
    margin-top: 8px;
    color: #ccc;
}

.available-item {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background-color: #249e2e;
    text-transform: uppercase;
    border-radius: 17px;
    padding: 10px 18px;
}


.go-to {
    text-align: center;
    margin-top: 15px;
    display: flex;
    flex-direction: column; 
    gap: 10px;
    align-items: center; 
}

.go-to a, 
.go-to span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    background-color:  #249e2e;
    color: #000;
    border-radius: 20px;
    padding: 5px 12px;
    transition: background-color 0.3s ease, transform 0.2s;
    cursor: pointer;
    width: 160px; 
    text-decoration: none; 
}

.go-to a:hover, 
.go-to span:hover {
    background-color: #114415;
    transform: scale(1.05);
}

/* Barra de progreso */
.progress-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.progress {
    width: 100%;
    max-width: 600px;
    height: 30px;
    background-color: #444;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.progress-text {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    color: white;
    z-index: 2;
    pointer-events: none;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg,  #249e2e, #0e9719);
    transition: width 0.4s ease;
    border-radius: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .available-item {
        font-size: 12px;
        padding: 6px 14px;
    }

    .go-to span {
        font-size: 13px;
        padding: 5px 14px;
    }
}

@media (max-width: 480px) {
    .available-item {
        font-size: 11px;
        padding: 5px 12px;
    }
}

.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;
}

#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;
}


.search-tickets-container {
    position: fixed;
    left: 0;
    right: 0;
    top: -300px;
    width: 100%;
    max-width: 563px;
    margin: auto;
    z-index: 10;
    transition: all 0.5s;
}
.search-tickets-box {
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background-color:  #249e2e91;
    color: #ffffff;
    box-shadow: 0 0 18px -14px #000000;
    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:  #249e2e;
    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:  #249e2e;
    color: rgb(255, 255, 255);
    border-radius: 7px;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    user-select: none;
    width: 100%;
    padding: 9px;
    transition: all 0.2s ease 0s;
    margin-top: 20px;
}
.search-tickets-box button:hover {
    opacity: 0.7;
    transition: opacity 0.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 0.1s;
}
#close-search-tickets:hover {
    opacity: 0.5;
    transition: opacity 0.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: #ffffff;
    color: #8b8b8b;
    border: 1px solid #373737;
    border-radius: 9px;
    text-decoration: none;
    width: 100%;
    padding: 12px 20px;
    margin-bottom: 10px;
    transition: all 0.2s;
}
.my-tickets a:hover {
    opacity: 0.4;
    transition: all 0.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 {
    position: relative;
    display: flex;
    border-radius: 12px;
}
.rifa-image img {
    width: 100%;
    max-height: 500px;
    border-radius: 12px;
    object-fit: contain;
    user-select: none;
}
.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: #ffffff;
    border-radius: 10px;
    user-select: none;
    padding: 11px 21px;
}
.main-statement b {
    color:  #249e2e;
    font-weight: 500;
    text-decoration: underline;
}


.raffle h2 {
    font-size: 25px;
    color: #ffffff;
    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: #ffffff;
    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 0.2s;
}
.tag:hover {
    opacity: 0.5;
    transition: opacity 0.2s;
}
.tag span {
    display: inline-flex;
    font-size: 14px;
    color: white;
}


/* tags */
.support {
    background-color: #489f35;
}
.telegram {
    background-color: #30a6e0;
}
.instagram {
    background-color: #333333;
}
/* tags */


.raffle-description, .raffle-ranking, .raffle-tickets, .raffle-payment-method, .raffle-origin {
    background-color: #373737;
    color: #e9e9e9;
    border-bottom: 2px solid #000000bd;
    border-radius: 18px; 
    padding: 30px;
    margin-top: 35px;
}
.raffle-description h4, .raffle-ranking h4, .raffle-tickets h4, .raffle-payment-method h4, .raffle-origin h4 {
    font-size: 15px;
    color: #cacaca;
    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;
}


.add-tickets-container {
    display: flex;
    justify-content: center;
    color: #656565;
    margin-top: 28px;
}
.add-tickets-box {
    max-width: 515px;
    width: 100%;
}
.add-tickets {
    display: flex;
    justify-content: center;
    color: #e4e4e4;
    user-select: none;
}
.qty-btn {
    display: flex;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid  #249e2e80;
    border-radius: 9px;
    cursor: pointer;
    padding: 9px;
    max-width: 98px;
    width: 100%;
    margin-right: 15px;
    transition: all 0.2s;
}
.qty-btn:last-child {
    margin-right: 0;
}
.qty-btn:hover {
    background-color:  #249e2e;
    color: #ffffff;
    border: 1px solid  #249e2e80;
    transition: all 0.3s;
}
.qty-btn:focus {
    outline-color: #e55f5f;
}


.quantity-container {
    display: block;
    margin-top: 7px;
}
.quantity-box {
    display: flex;
    justify-content: center;
}
.quantity input {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    outline: none;
    max-width: 50px;
    border: 1px solid #181818;
    border-width: 0 1px 0 1px;
    text-align: center;
    text-align: -webkit-center;
}
.increase span {
    display: flex;
    font-size: 30px;
    text-decoration: none;
    background-color: #00ad65;
    color: #e4e4e4;
    cursor: pointer;
    border-radius: 7px;
    user-select: none;
    padding: 7px 20px;
    transition: all 0.2s;
}

.decrease span {
    display: flex;
    font-size: 30px;
    text-decoration: none;
    background-color: #d83434;
    color: #e4e4e4;
    cursor: pointer;
    border-radius: 7px;
    user-select: none;
    padding: 7px 24px;
    transition: all 0.2s;
}
#quantityValue {
    font-size: 16px;
    outline-color:  #249e2e;
    border: 1px solid #dbdbdb;
    border-radius: 7px;
    text-align: center;
    text-align: -webkit-center;
    max-width: 442px;
    width: 100%;
    margin: 0 5px;
}
.decrease span:hover {
    background-color: #d8343471;
    color: #ffffff;
    transition: all 0.3s;
}
.increase span:hover {
    background-color: #34D89471;
    color: #ffffff;
    transition: all 0.3s;
}


.total {
    display: flex;
    justify-content: space-between;
    color: #ffffff;
    font-size: 18px;
    margin-top: 22px;
    margin-bottom: 16px;
}


.purchase-tickets-container {
    position: fixed;
    left: 0;
    right: 0;
    top: -500px; /* Reducido para que suba menos */
    width: 90%; /* Se ajusta mejor en pantallas pequeñas */
    max-width: 400px; /* Tamaño más compacto */
    margin: auto;
    z-index: 10;
    transition: all 0.4s ease-in-out; /* Suavizado */
}

.purchase-tickets-box {
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background-color:  #249e2e57;
    color: #ffffff;
    box-shadow: 0 0 12px -10px #000000;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    padding: 20px 18px; /* Reducido */
}

.purchase-tickets-box label {
    font-size: 16px; /* Más pequeño */
    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; /* Más compacto */
    margin-top: 10px;
}

.purchase-tickets-box button {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
    background-color: #39da97;
    user-select: none;
    cursor: pointer;
    outline: none;
    border: none;
    border-radius: 6px;
    padding: 8px 12px; /* Más pequeño */
    margin-top: 15px;
    transition: opacity 0.2s;
}

.purchase-tickets-box button:hover {
    opacity: 0.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; /* Más pequeño */
    cursor: pointer;
    user-select: none;
    transition: opacity 0.1s;
}

#close-purchase-tickets:hover {
    opacity: 0.5;
}

/* Media query para pantallas muy pequeñas */
@media (max-width: 480px) {
    .purchase-tickets-container {
        width: 95%; /* Aún más adaptable */
        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 {
    display: flex;
    align-items: flex-start;
    margin: 20px 10px 0 10px;
}
.terms input {
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    background-color: #ffffff;
    outline: 2px solid #333;
    border: 2px solid #ffffff;
    width: 13px;
    height: 13px;
    cursor: pointer;
    padding: 7px;
    margin: 2px 9px 0 0;
}
.terms input:checked {
    background:  #249e2e;
}
.terms p {
    font-size: 12px;
}
.terms p a {
    font-size: 12px;
    color: #ffffff;
}

.purchase button {
    display: flex;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    background-color:  #249e2e;
    color: #ffffff;
    border-radius: 7px;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    user-select: none;
    width: 100%;
    padding: 9px;
    transition: all 0.2s;
}
.purchase button:hover {
    background-color:  #249e2e80;
    transition: all 0.3s;
}
.purchase-submit-btn {
    display: flex;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    background-color: #34d894;
    color: #ffffff;
    border-radius: 7px;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    user-select: none;
    margin-top: 20px;
    padding: 9px;
    transition: all 0.2s;
}
.purchase-submit-btn:hover {
    background-color: #1ca56c;
    transition: all 0.3s;
}

#quantity-error {
    display: none;
    color: red;
    text-align: center;
    text-align: -webkit-center;
    margin-top: 17px;
}




.raffle-payment-method h4, .raffle-origin h4 {
    text-align: left;
    text-align: -webkit-left;
}
.raffle-duals {
    display: flex;
}
.raffle-payment-method, .raffle-origin {
    width: 100%;
}
.raffle-payment-method {
    margin-right: 12px;
}
.raffle-text img {
    user-select: none;
    max-width: 100px;
    width: 100%;
}

.payment-details {
    margin-top: 0px;
    font-size: 18px;
    color: #e9e9e9;
    line-height: 1.6;
}

.payment-details p {
    margin: 5px 0;
}

.payment-details strong {
    color: #e9e9e9;
}

.copy-btn {
    display: flex;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color:  #249e2e;
    background-color: #373737;
    border: 1px solid  #249e2e;
    border-radius: 9px;
    cursor: pointer;
    padding: 6px;
    max-width: 98px;
    width: 100%;
    transition: all 0.2s;
}
.copy-btn:last-child {
    margin-right: 0;
}
.copy-btn:hover {
    background-color:  #249e2ea1;
    color:  #249e2e80;
    border: 1px solid  #249e2e;
    transition: all 0.3s;
}
.copy-btn:focus {
    outline-color: #e55f5f;
}

.file-upload {
    position: relative;
    width: 100%;
    max-width: 160px; /* Aún más compacto */
    margin: 0 auto;
    text-align: center;
}

/* Ocultar input real */
.file-upload input[type="file"] {
    display: none;
}

/* Estilo del botón */
.file-upload-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px; /* Espaciado más ajustado */
    width: 100%;
    padding: 5px 8px; /* Más pequeño */
    margin-top: 5px;
    background: linear-gradient(135deg, #e55f5f, #663838);
    color: #ffffff;
    font-size: 10px; /* Fuente más pequeña */
    font-weight: 500;
    border: none;
    border-radius: 4px; /* Redondeo menor */
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-in-out;
    height: 28px; /* Altura fija aún más reducida */
    min-width: 120px; /* Evita que se expanda demasiado */
}

/* Icono del botón */
.file-upload-button::before {
    content: "📁";
    font-size: 12px; /* Icono más pequeño */
}

/* Hover effect */
.file-upload-button:hover {
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    transform: scale(1.02);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Texto del archivo seleccionado */
.file-upload-text {
    margin-top: 3px; /* Más compacto */
    color: #ffffff;
    font-size: 9px; /* Fuente más pequeña */
    font-weight: 500;
}

.file-upload-text span {
    font-weight: bold;
    color: #39da97;
}

/* Responsividad para pantallas ultra pequeñas (iPhone 5, etc.) */
@media (max-width: 320px) {
    .file-upload {
        max-width: 140px;
    }

    .file-upload-button {
        font-size: 9px;
        padding: 4px;
        height: 26px; /* Aún más compacto */
        min-width: 110px;
    }

    .file-upload-text {
        font-size: 8px;
    }
}

.progress-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
}

.progress {
    width: 80%;
    max-width: 700px;
    height: 30px;
    background-color: #1e2122;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
}

.progress-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: white;
    z-index: 2;
    pointer-events: none;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(45deg,  #249e2e, #29792f, #0a6812,  #249e2e);
    transition: width 0.4s ease;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-align: right;
    line-height: 30px;
    white-space: nowrap;
    background-size: 200% 200%;
    animation: shimmer 3s infinite linear;
    border-radius: 22px;
}


/* Efecto de brillo para dar un aspecto metálico */
@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsividad */
@media (max-width: 768px) {
    .progress {
        width: 90%;             
        height: 25px;         
    }
    .progress-text {
        font-size: 14px;        
    }
    .progress-bar {
        font-size: 12px;        
        line-height: 25px;     
    }
}

footer {
    color: #fff;                  
    text-align: center;          
    padding: 5px 0;              
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer-container p {
    margin: 5px 0;               
    font-size: 13px;              
}

.footer-container a {
    font-size: 14px;
    font-weight: bold;
    color:  #249e2e;               
    text-decoration: none;       
}

.footer-container a:hover {
    text-decoration: underline;  
}

.social-icons {
    margin-top: 6px;            
}

.social-icons a {      
    color:  #249e2e;              
    font-size: 25px;             
    margin: 0 10px;              
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #114415;              
}

.terms-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #2f3131;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 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 0.2s ease;
}

.close-button:hover {
    transform: scale(1.1); 
    filter: brightness(1.2);
}


/* Main */

.pix-container {
    display: flex;
    justify-content: center;
    padding: 14px;
    margin-top: 55px;
}

.payment {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 306px;
    background-color: #373737;
    border-radius: 8px;
    box-shadow: 0 0 17px -6px #00000026;
    text-align: center;
    text-align: -webkit-center;
    padding: 46px 49px;
}
.payment span {
    font-size: 15px;
}
.payment p {
    font-size: 19px;
    font-weight: 700;
    color: #e9e9e9;
}
.payment p b {
    font-size: 15px;
    color: #CACACA;
    font-weight: 900;
}


.link-info {
    display: flex;
    align-items: center;
    margin: 44px 0 12px 0;
}
.link-info img {
    user-select: none;
    height: 18px;
    filter: brightness(100%) contrast(100%) saturate(0%) invert(100%) grayscale(100%);
    margin-right: 10px;
}

.link-info i {
    font-size: 20px;
    color:  #249e2e;
    margin-right: 8px; 
}

.link-info span {
    font-size: 14px;
    color: #e9e9e9;
    font-weight: 700;
    white-space: nowrap;
}

.link img {
    user-select: none;
    max-width: 220px;
    width: 100%;
}

.pix-value {
    font-size: 17px;
    color: #CACACA;
    font-weight: 900;
    margin: 19px 0;
}
.pix-value strong {
    color:  #249e2e;
    font-weight: 800;
}


.pix-copy-and-past span {
    display: block;
    color: #CACACA;
    font-size: 14px;
    margin: 35px 0 15px 0;
}
.link-text {
    position: relative;
    background-color: #C9C9C9;
    padding: 8px;
    border: 3px dotted #666666;
}
.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: #ffffff;
    border-radius: 8px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.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 0.2s;
}
.see-tickets:hover {
    background-color: #f3f3f3;
    color: #000000;
    border-radius: 9px 9px 25px 25px;
    transition: all 0.2s;
}

.ticket-numbers {
    opacity: 0;
    visibility: hidden;
    height: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    transition: margin 0.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 0.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:  #249e2e;
    color: #ffffff;
    border-radius: 7px;
    max-width: 800px;
    width: 100%;
    cursor: pointer;
    user-select: none;
    padding: 11px;
    margin-top: 20px;
    transition: all 0.2s;
}
.purchase span:hover {
    background-color:  #249e2e80;
    transition: all 0.3s;
}
/* Main */


@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-ranking, .raffle-tickets, .raffle-payment-method, .raffle-origin {
        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-ranking, .raffle-tickets, .raffle-payment-method, .raffle-origin {
        font-size: 12px;
    }

    .raffle-description h4, .raffle-ranking h4, .raffle-tickets h4, .raffle-payment-method h4, .raffle-origin 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: 14px;
    }
    .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;
    }
}
/* Main */