
 /* =========================
   PAGE LOADER
========================= */

#pageLoader{

    position:fixed;

    inset:0;

    z-index:999999999;

    background:#050505;

    display:flex;

    align-items:center;

    justify-content:center;

    transition:.4s;

}

#pageLoader.hide{

    opacity:0;

    visibility:hidden;

}

.loader-content{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    text-align:center;

    width:100%;

}

.loader-logo{

    display:block;

    width:120px;

    height:auto;

    margin:0 auto 30px auto;

    background:#ffffff;

    border-radius:52px;

}

.loader-spinner{

    width:70px;

    height:70px;

    border-radius:50%;

    border:4px solid rgba(255,255,255,.08);

    border-top:4px solid #ff1616;

    margin:0 auto;

    animation:spin 1s linear infinite;

}

.loader-content h3{

    color:#fff;

    margin-top:25px;

    margin-bottom:10px;

    font-size:28px;

    font-weight:900;

}

.loader-content p{

    color:#999;

}

@keyframes spin{

    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }

}   

.dw-info-text{

    margin:25px 0 35px;

    color:#d4d4d8;

    line-height:1.9;

    font-size:15px;

}

.dw-info-text h3{

    color:#fff;

    font-size:24px;

    font-weight:900;

    margin-bottom:15px;

    margin-top:25px;

}

.dw-info-text p{

    margin-bottom:15px;

}

.dw-info-text ul{

    padding-left:20px;

    margin-bottom:20px;

}

.dw-info-text li{

    margin-bottom:10px;

}

.dw-info-text hr{

    border:none;

    height:1px;

    background:rgba(255,255,255,.08);

    margin:25px 0;

}

.dw-goodluck{

    margin-top:25px;

    color:#4ade80;

    font-size:18px;

    font-weight:700;

}
.dw-qr-box {

    margin-top: 18px;

    background: #151515;

    border: 1px solid var(--dw-border);

    border-radius: 22px;

    padding: 20px;

    text-align: center;

}

.dw-qr {

    width: 180px;

    height: 180px;

    background: #fff;

    padding: 10px;

    border-radius: 18px;

}

:root {
    --dw-bg: #050505;
    --dw-card: #111111;
    --dw-card2: #171717;
    --dw-soft: #1f1f1f;
    --dw-red: #ff1616;
    --dw-red-dark: #b30000;
    --dw-text: #ffffff;
    --dw-muted: #a1a1aa;
    --dw-muted2: #d4d4d8;
    --dw-border: rgba(255, 255, 255, .09);
    --dw-shadow: 0 28px 80px rgba(0, 0, 0, .45);
}

body {
    background:
        radial-gradient(circle at top left, rgba(255, 22, 22, .12), transparent 28%),
        radial-gradient(circle at bottom right, rgba(179, 0, 0, .12), transparent 26%),
        var(--dw-bg) !important;
    color: var(--dw-text);
}

.dw-raffle-page {
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 22, 22, .14), transparent 24%),
        #050505;
    min-height: 100vh;
}

.dw-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 22px;
}

/* HERO */

.dw-raffle-hero {
    position: relative;
    height: 460px;
    min-height: 460px;
    margin: 14px 20px 0;
    border-radius: 0 0 30px 30px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--dw-border);
    box-shadow: var(--dw-shadow);
}

.dw-hero-media,
.heroSwiper,
.swiper-slide {
    width: 100%;
    height: 100%;
    min-height: 360px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.dw-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .92), rgba(0, 0, 0, .56), rgba(0, 0, 0, .1)),
        linear-gradient(to top, rgba(0, 0, 0, .96), rgba(0, 0, 0, .16));
    display: flex;
    align-items: flex-end;
}

.dw-hero-content {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 42px 42px;
}

.dw-hero-tag,
.dw-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 22, 22, .13);
    border: 1px solid rgba(255, 22, 22, .28);
    color: #ff4d4d;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.dw-hero-content h1 {
    max-width: 880px;
    margin: 22px 0 18px;
    color: #fff;
    font-size: 78px;
    line-height: .95;
    font-weight: 950;
    letter-spacing: -3px;
    text-shadow: 0 20px 50px rgba(0, 0, 0, .55);
}

.dw-hero-content p {
    max-width: 680px;
    color: #e4e4e7;
    font-size: 20px;
    line-height: 1.75;
}

.dw-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.dw-btn {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    padding: 0 26px;
    font-weight: 900;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: .25s;
}

.dw-btn:hover {
    transform: translateY(-2px);
}

.dw-btn-primary {
    color: #fff;
    background: linear-gradient(90deg, var(--dw-red), var(--dw-red-dark));
    box-shadow: 0 0 35px rgba(255, 22, 22, .35);
}

.dw-btn-outline {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(12px);
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, .6);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--dw-red);
    box-shadow: 0 0 18px rgba(255, 22, 22, .7);
}

.swiper-button-prev,
.swiper-button-next {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: rgba(0, 0, 0, .48);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(12px);
    color: #fff;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 18px;
    font-weight: 900;
}

/* =========================
   LAYOUT
========================= */

.dw-raffle-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
    align-items: start;
}

.reserve-sidebar {
    position: relative;
}

.reserve-card {
    position: sticky;
    top: 20px;
    padding: 22px;
}

/* =========================
   HERO
========================= */

.dw-raffle-hero {

    position: relative;

    height: 520px;

    min-height: 520px;

    margin: 14px 20px 0;

    border-radius: 0 0 28px 28px;

    overflow: hidden;

}

.dw-hero-content h1 {

    font-size: 58px;

    line-height: 1.05;

    font-weight: 900;

    letter-spacing: -2px;

}

/* =========================
   NUMEROS
========================= */

.numbers-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fill,
            minmax(90px, 1fr));

    gap: 12px;

}

.ticket {

    height: 60px;

    border-radius: 14px;

    font-size: 18px;

    font-weight: 900;

}

/* =========================
   SIDEBAR
========================= */

.reserve-price {

    font-size: 32px;

}

.sinpe-box h4 {

    font-size: 22px;

}

.input {

    min-height: 52px;

}

.btn-reservar {

    min-height: 56px;

}

/* =========================
   QR
========================= */

.dw-qr-box {

    margin-top: 18px;

    text-align: center;

}

.dw-qr {

    width: 150px;

    height: 150px;

    background: #fff;

    padding: 10px;

    border-radius: 16px;

}

/* =========================
   MOBILE
========================= */

@media(max-width:1200px) {

    .dw-raffle-layout {

        grid-template-columns: 1fr;

    }

    .reserve-sidebar {

        order: 2;

    }

    .dw-content-column {

        order: 1;

    }

    .reserve-card {

        position: relative;

        top: auto;

    }

}

@media(max-width:768px) {

    .dw-raffle-hero {

        height: 320px;

        min-height: 320px;

    }

    .dw-hero-content h1 {

        font-size: 34px;

    }

    .numbers-grid {

        grid-template-columns:
            repeat(auto-fill,
                minmax(75px, 1fr));

    }

    .ticket {

        height: 52px;

        font-size: 15px;

    }

}

@media(max-width:480px) {

    .numbers-grid {

        grid-template-columns:
            repeat(auto-fill,
                minmax(65px, 1fr));

        gap: 8px;

    }

    .ticket {

        height: 48px;

        font-size: 13px;

    }

}

.ticket {
    height: 58px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 950;
    cursor: pointer;
    transition: .22s;
    border: 1px solid rgba(255, 255, 255, .08);
    color: #fff;
}

.ticket:hover:not(:disabled) {
    transform: translateY(-3px);
    border-color: rgba(255, 22, 22, .6);
    box-shadow: 0 12px 24px rgba(255, 22, 22, .13);
}

.ticket.disponible {
    background: #161616;
}

.ticket.reservado {
    background: linear-gradient(135deg, #f59e0b, #c2410c);
    cursor: not-allowed;
    opacity: .72;
}

.ticket.vendido {
    background: #4b5563;
    cursor: not-allowed;
    opacity: .55;
}

.ticket.selected {
    background: linear-gradient(135deg, var(--dw-red), var(--dw-red-dark)) !important;
    border-color: var(--dw-red);
    box-shadow: 0 0 20px rgba(255, 22, 22, .42);
}

/* =========================
   PAGINACION DREAM WHEELS
========================= */

/* =========================
   NUEVA PAGINACION
========================= */

.rifary-pagination{
    margin:30px 0;
    padding:24px;
    border-radius:24px;
    background:#111;
    border:1px solid var(--dw-border);

    display:flex;
    flex-direction:column;
    gap:18px;
}

.rifary-page-center{
    width:100%;

    display:flex;
    flex-direction:column;
    align-items:center;
    gap:15px;
}

.rifary-page-label{
    color:#888;
    font-size:12px;
    font-weight:900;
    letter-spacing:2px;
    text-transform:uppercase;
}

.rifary-page-numbers{
    width:100%;

    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(170px,1fr));

    gap:12px;
}

.rifary-page-numbers a{
    height:56px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:16px;

    background:#181818;
    border:1px solid #2d2d2d;

    color:#fff;
    text-decoration:none;

    font-size:15px;
    font-weight:800;

    transition:.25s;
}

.rifary-page-numbers a:hover{
    border-color:#ff1616;
}

.rifary-page-numbers a.active{
    background:#ff1616;
    border-color:#ff1616;
    box-shadow:0 0 25px rgba(255,22,22,.35);
}

.rifary-page-numbers span{
    display:flex;
    align-items:center;
    justify-content:center;
    color:#666;
    font-size:20px;
}

.rifary-page-center strong{
    color:#fff;
    font-size:14px;
    font-weight:900;
}

.rifary-page-nav{
    height:58px;
    min-width:220px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:18px;

    background:#181818;
    border:1px solid #2c2c2c;

    color:#fff;
    text-decoration:none;

    font-weight:800;
}

.rifary-page-nav.disabled{
    opacity:.4;
}

.rifary-pagination-actions{
    display:flex;
    justify-content:space-between;
    gap:15px;
}

@media(max-width:768px){

    .rifary-page-numbers{
        grid-template-columns:1fr 1fr;
    }

    .rifary-pagination-actions{
        flex-direction:column;
    }

    .rifary-page-nav{
        width:100%;
        min-width:auto;
    }
}


/* HELP */

.dw-help-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.dw-help-card {
    text-align: left;
    padding: 24px;
    cursor: pointer;
    transition: .25s;
    color: #fff;
}

.dw-help-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 22, 22, .42);
}

.dw-help-card span {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: rgba(255, 22, 22, .13);
    font-size: 24px;
    margin-bottom: 18px;
}

.dw-help-card strong {
    display: block;
    font-size: 20px;
    margin-bottom: 8px;
}

.dw-help-card small {
    color: var(--dw-muted);
    line-height: 1.6;
}

/* SIDEBAR */

.reserve-sidebar {
    position: relative;
}

.reserve-card {
    padding: 28px;
    position: sticky;
    top: 100px;
}

.dw-checkout-head h3 {
    margin: 16px 0 10px;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    font-weight: 950;
}

.dw-checkout-head p {
    color: var(--dw-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.reserve-price {
    margin: 20px 0;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 22, 22, .2), rgba(255, 255, 255, .055));
    border: 1px solid rgba(255, 22, 22, .28);
    color: #fff;
    font-size: 42px;
    line-height: 1;
    font-weight: 950;
}

.reserve-price span {
    display: block;
    margin-top: 8px;
    color: #ffb3b3;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.sinpe-box,
.summary-box,
.share-box {
    background: #151515;
    border: 1px solid var(--dw-border);
    border-radius: 22px;
    padding: 18px;
}

.sinpe-box {
    margin-bottom: 18px;
}

.sinpe-box strong,
.share-title,
.summary-box span {
    display: block;
    color: #ff5a5a;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.sinpe-box p {
    color: #fff;
    margin: 0;
}

.sinpe-box h4 {
    margin: 10px 0 0;
    color: #fff;
    font-size: 28px;
    font-weight: 950;
}

.selected-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

.summary-box strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: 22px;
    font-weight: 950;
}

.summary-box.total {
    background: linear-gradient(135deg, var(--dw-red), var(--dw-red-dark));
    border-color: rgba(255, 22, 22, .45);
}

.summary-box.total span,
.summary-box.total strong {
    color: #fff;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 8px;
}

.input {
    width: 100%;
    min-height: 56px;
    border-radius: 16px;
    border: 1px solid #2a2a2a;
    background: #101010;
    color: #fff;
    padding: 0 16px;
    outline: none;
    box-sizing: border-box;
}

.input:focus {
    border-color: var(--dw-red);
    box-shadow: 0 0 0 4px rgba(255, 22, 22, .12);
}

.file-input {
    padding: 15px;
}

.btn-reservar,
.btn-consultar {
    width: 100%;
    min-height: 64px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(90deg, var(--dw-red), var(--dw-red-dark));
    color: #fff;
    font-size: 17px;
    font-weight: 950;
    cursor: pointer;
    margin-top: 8px;
    box-shadow: 0 0 28px rgba(255, 22, 22, .32);
    transition: .25s;
}

.btn-reservar:hover,
.btn-consultar:hover {
    transform: translateY(-2px);
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    margin-top: 14px;
    border-radius: 16px;
    background: rgba(37, 211, 102, .12);
    border: 1px solid rgba(37, 211, 102, .26);
    color: #22c55e;
    text-decoration: none;
    font-weight: 950;
}

.share-box {
    margin-top: 18px;
}

.share-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.share-btn {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
    transition: .22s;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn.whatsapp {
    background: #25D366;
}

.share-btn.facebook {
    background: #1877F2;
}

.share-btn.telegram {
    background: #229ED9;
}

.share-btn.copy {
    background: #ef4444;
}

/* ALERTS */

.alert {
    padding: 18px 22px;
    border-radius: 20px;
    margin-bottom: 22px;
    font-weight: 900;
}

.alert.success {
    background: rgba(34, 197, 94, .14);
    border: 1px solid rgba(34, 197, 94, .28);
    color: #4ade80;
}

.alert.error {
    background: rgba(239, 68, 68, .14);
    border: 1px solid rgba(239, 68, 68, .28);
    color: #f87171;
}

/* MODALS */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .78);
    display: none;
    z-index: 999999;
    overflow-y: auto;
    padding: 40px 20px;
    -webkit-overflow-scrolling: touch;
}

.modal-overlay.show {
    display: block;
}

.consultar-modal,
.guide-modal {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    background: #111;
    border: 1px solid var(--dw-border);
    border-radius: 30px;
    padding: 34px;
    position: relative;
    box-shadow: var(--dw-shadow);
    animation: modalIn .2s ease;
}

.close-modal {
    position: sticky;
    top: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: none;
    background: #1f1f1f;
    border-radius: 15px;
    cursor: pointer;
    font-size: 28px;
    color: #fff;
    z-index: 20;
}

.consultar-modal h2,
.guide-header h2 {
    margin: 12px 0 10px;
    color: #fff;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 950;
}

.consultar-modal p,
.guide-header p {
    color: var(--dw-muted);
    line-height: 1.7;
}

.guide-header {
    text-align: center;
    margin-bottom: 28px;
}

.guide-icon {
    font-size: 58px;
}

.guide-steps {
    display: grid;
    gap: 16px;
}

.guide-step {
    display: flex;
    gap: 16px;
    background: #171717;
    border: 1px solid var(--dw-border);
    border-radius: 22px;
    padding: 20px;
}

.guide-step-number {
    width: 52px;
    height: 52px;
    border-radius: 17px;
    background: linear-gradient(90deg, var(--dw-red), var(--dw-red-dark));
    color: #fff;
    font-size: 22px;
    font-weight: 950;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guide-step h3 {
    margin: 0;
    color: #fff;
    font-size: 19px;
    font-weight: 950;
}

.guide-step p {
    margin-top: 8px;
    color: var(--dw-muted);
    line-height: 1.7;
}

.guide-step.important {
    background: linear-gradient(135deg, rgba(255, 22, 22, .35), rgba(179, 0, 0, .22));
    border-color: rgba(255, 22, 22, .32);
}

.consultar-results {
    margin-top: 20px;
    max-height: 420px;
    overflow: auto;
    display: grid;
    gap: 14px;
}

.result-ticket {
    background: #171717;
    border: 1px solid var(--dw-border);
    border-radius: 20px;
    padding: 18px;
}

.result-ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.result-ticket-number {
    font-size: 34px;
    font-weight: 950;
    color: #fff;
}

.result-ticket-status {
    padding: 9px 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.result-ticket-status.aprobado {
    background: rgba(34, 197, 94, .14);
    color: #4ade80;
}

.result-ticket-status.pendiente {
    background: rgba(245, 158, 11, .16);
    color: #fbbf24;
}

.result-ticket-status.rechazado {
    background: rgba(239, 68, 68, .16);
    color: #f87171;
}

.result-ticket-info {
    margin-top: 12px;
    color: var(--dw-muted);
    line-height: 1.7;
    font-size: 14px;
}

.empty-results {
    text-align: center;
    padding: 26px;
    color: var(--dw-muted);
}

.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.toast {
    min-width: 320px;
    max-width: 420px;
    padding: 18px 22px;
    border-radius: 20px;
    color: #fff;
    font-weight: 900;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .35);
    animation: toastIn .25s ease;
    position: relative;
    overflow: hidden;
}

.toast::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 100%;
    background: rgba(255, 255, 255, .35);
    animation: toastTimer 2.8s linear forwards;
}

.toast.success {
    background: linear-gradient(90deg, #16a34a, #22c55e);
}

.toast.warning {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.toast.error {
    background: linear-gradient(90deg, #dc2626, #ef4444);
}

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-text {
    flex: 1;
    line-height: 1.5;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastTimer {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}



.dw-title-card {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: center;
    padding: 34px;
    margin-bottom: 30px;
}

.dw-title-card,
.dw-numbers-card,
.dw-progress-card,
.reserve-card,
.dw-help-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025));
    border: 1px solid var(--dw-border);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .24);
}

.dw-title-card h2 {
    margin: 18px 0 12px;
    color: #fff;
    font-size: 46px;
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -1.8px;
}


.dw-price-card {
    background: linear-gradient(135deg, rgba(255, 22, 22, .18), rgba(255, 255, 255, .06));
    border: 1px solid rgba(255, 22, 22, .24);
    border-radius: 26px;
    padding: 26px;
}

.dw-price-card span {
    display: block;
    color: #ffb3b3;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.dw-price-card strong {
    color: #fff;
    font-size: 42px;
    line-height: 1;
    font-weight: 950;
}

.dw-raffle-main {
    padding: 36px 0 90px;
}

.dw-title-card p {
    color: var(--dw-muted);
    line-height: 1.8;
    font-size: 17px;
}

.dw-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.dw-stat-card {
    background: #111;
    border: 1px solid var(--dw-border);
    border-radius: 24px;
    padding: 22px;
}

.dw-stat-card span {
    display: block;
    color: var(--dw-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.dw-stat-card strong {
    color: #fff;
    font-size: 28px;
    font-weight: 950;
}

.dw-progress-card {
    padding: 24px;
    margin-bottom: 30px;
}

.dw-title-card,
.dw-numbers-card,
.dw-progress-card,
.reserve-card,
.dw-help-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025));
    border: 1px solid var(--dw-border);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .24);
}

.dw-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.dw-progress-head span {
    color: var(--dw-muted);
    font-weight: 900;
}

.dw-progress-head strong {
    color: #fff;
}

.dw-progress {
    height: 14px;
    background: #1a1a1a;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .05);
}

.dw-progress span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--dw-red), var(--dw-red-dark));
    box-shadow: 0 0 22px rgba(255, 22, 22, .5);
}

.dw-numbers-card {
    padding: 34px;
}

.dw-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.dw-card-head h2 {
    margin: 16px 0 10px;
    color: #fff;
    font-size: 44px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -1.5px;
}

.dw-card-head p {
    color: var(--dw-muted);
    line-height: 1.7;
}

.dw-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(34, 197, 94, .13);
    border: 1px solid rgba(34, 197, 94, .28);
    color: #4ade80;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.dw-random-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.quick-actions button {
    min-height: 44px;
    border: none;
    border-radius: 14px;
    padding: 0 16px;
    background: #191919;
    border: 1px solid var(--dw-border);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    transition: .22s;
}

.quick-actions button:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 22, 22, .55);
    color: #ff5a5a;
}

.dw-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
    color: var(--dw-muted2);
    font-size: 13px;
    font-weight: 800;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    display: inline-block;
}

.dw-legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.legend-dot.available {
    background: #222;
    border: 1px solid #555;
}

.legend-dot.selected {
    background: var(--dw-red);
}

.legend-dot.reserved {
    background: #f59e0b;
}

.legend-dot.sold {
    background: #6b7280;
}

/* RESPONSIVE */

@media(max-width:1200px) {

    .dw-raffle-layout {
        grid-template-columns: 1fr;
    }

    .reserve-card {
        position: relative;
        top: 0;
    }

    .dw-title-card {
        grid-template-columns: 1fr;
    }

    .dw-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media(max-width:900px) {

    .dw-raffle-hero {
        height: 300px;
        min-height: 300px;
        margin: 10px 12px 0;
        border-radius: 0 0 24px 24px;
    }

    .dw-hero-media,
    .heroSwiper,
    .swiper-slide {
        min-height: 300px;
    }

    .dw-hero-content {
        padding: 56px 24px;
    }

    .dw-hero-content h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .dw-hero-content p {
        font-size: 17px;
    }

    .numbers-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .dw-help-grid {
        grid-template-columns: 1fr;
    }

    .dw-card-head {
        flex-direction: column;
    }

}

@media(max-width:600px) {

    .dw-container {
        padding: 0 14px;
    }

    .dw-raffle-main {
        padding-top: 20px;
    }

    .dw-raffle-hero {
        height: 420px;
        min-height: 420px;
    }

    .dw-hero-media,
    .heroSwiper,
    .swiper-slide {
        min-height: 420px;
    }

    .dw-hero-content {
        padding: 36px 18px;
    }

    .dw-hero-content h1 {
        font-size: 28px;
    }

    .dw-hero-actions {
        flex-direction: column;
    }

    .dw-btn {
        width: 100%;
    }

    .dw-title-card,
    .dw-numbers-card,
    .reserve-card,
    .dw-progress-card {
        padding: 22px;
        border-radius: 24px;
    }

    .dw-title-card h2,
    .dw-card-head h2 {
        font-size: 32px;
    }

    .dw-stats-grid {
        grid-template-columns: 1fr;
    }

    .numbers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .ticket {
        height: 52px;
        font-size: 14px;
    }

    .selected-summary,
    .share-buttons {
        grid-template-columns: 1fr;
    }

    .pagination-wrap {
        flex-wrap: wrap;
    }

    .modal-overlay {
        padding: 0;
    }

    .consultar-modal,
    .guide-modal {
        min-height: 100vh;
        max-width: 100%;
        border-radius: 24px 24px 0 0;
        padding: 24px 18px 40px;
    }

    .guide-step {
        flex-direction: column;
    }

    .toast-container {
        top: auto;
        bottom: 18px;
        left: 14px;
        right: 14px;
    }

    .toast {
        min-width: 100%;
        max-width: 100%;
    }

}

@media(max-width:768px){

    .dw-hero-tag{
        display:none;
    }

    .dw-hero-content p{
        display:none;
    }

    .dw-hero-actions{
        display:none;
    }

    .dw-hero-content{
        padding:20px;
    }

    .dw-hero-content h1{
        font-size:22px;
        line-height:1.2;
        margin:0;
    }

}

@media(max-width:700px) {

    .rifary-pagination {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px;
    }

    .rifary-page-nav,
    .rifary-page-nav:last-child {
        width: 100%;
        justify-self: stretch;
    }

    .rifary-page-center {
        order: -1;
    }

    .rifary-page-numbers {
        flex-wrap: wrap;
    }

}