:root {
    --primary-color: #0045A1;
    --secundary-color: #FE000C;
    --strong-gray: #2B2626;
    --strong-blue: #000C51;
    --text-color: #454545;
    --gray-light: #dedede;
    --light-blue: #EDEDFF;
    --green: #54b200;
    --white: #fff;
    --black: #000;
    --gray: #ced4da;
}

@font-face {
    font-family: 'EMprint-Regular';
    font-style: normal;
    font-weight: normal;
    src: url('/assets/fonts/EMprint-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'EMprint-Semibold';
    font-style: normal;
    font-weight: normal;
    src: url('/assets/fonts/EMprint-Semibold.ttf') format('truetype');
}

@font-face {
    font-family: 'EMprint-Bold';
    font-style: normal;
    font-weight: normal;
    src: url('/assets/fonts/EMprint-Bold.ttf') format('truetype');
}

body {
    color: var(--text-color);
    overflow-x: hidden;
    font-family: 'EMprint-Regular';
}

header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.w-40 {
    width: 40%;
}

/*======================================================= NAVBAR =======================================================*/

.navbar {
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.12);
}

.logo-nexum {
    height: 40px;
}

.responsive-btn-lg {
    display: none;
}

.bg-w {
    background-color: var(--white);
}

.navbar-nav .nav-link {
    color: var(--strong-gray);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.nav-link-login {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.btn-comenzar {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(24, 75, 216, 0.3);
}

/*======================================================= Hero Banner =======================================================*/

.hero-banner {
    background-image: url(https://placehold.jp/1500x500.png);
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    min-height: 555px;
    display: flex;
    align-items: center;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(0, 97, 52, 0) 0%, rgba(0, 0, 0, 0.231) 100%);
}

.info-promo {
    background-color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 32px;
    position: relative;
}

.product-title {
    max-width: 60%;
    height: auto;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
}

.img-gasolineria {
    max-width: 900px !important;
    height: auto !important;
    margin: 0 auto;
    border-radius: 12px;
    position: absolute;
    bottom: -84px;
    left: -322px;
}

.img-carro {
    width: 480px;
    position: absolute;
    bottom: -30px;
}

/*======================================================= Como Participar =======================================================*/

#como-participar-pasos {
    background-color: #ffffff;
    position: relative;
}

.title-pasos {
    font-family: 'EMprint-Bold';
    color: var(--primary-color);
}

.link-map {
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 24px;
    font-weight: bold;
}

.btn-ticket {
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 24px;
    font-weight: bold;
}
.fw-black {
    font-weight: 900;
}

.fs-7 {
    font-size: 0.8rem;
}

.z-index-2 {
    z-index: 2;
}

.pasos-content {
    position: relative;
    padding: 40px 0;
}

.pasos-row {
    position: relative;
    margin-bottom: 140px;
}

.subtitle-pasos {
    font-size: 3rem !important;
}

.paso-num {
    position: absolute;
    font-size: 14rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(209, 28, 36, 0.05);
    top: -50px;
    left: -30px;
    user-select: none;
    z-index: 1;
}

.paso-num.layout-right {
    left: auto;
    right: -30px;
}

.content-text {
    position: relative;
}

.image-pasos {
    position: relative;
    padding: 15px;
    background: transparent;
    display: inline-block;
    width: 100%;
}

.image-pasos::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    z-index: 1;
    border: 6px solid var(--primary-color, #d11c24);
}

.image-pasos.paso-right::before {
    top: 0;
    right: 0;
    border-bottom: 0;
    border-left: 0;
}

.image-pasos.paso-left::before {
    bottom: 0;
    left: 0;
    border-top: 0;
    border-right: 0;
}

.flow-img {
    position: relative;
    z-index: 2;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    filter: grayscale(10%);
    transition: all 0.4s ease;
    width: 100%;
    object-fit: cover;
    max-height: 400px;
}

.image-pasos:hover .flow-img {
    transform: scale(1.02);
    filter: grayscale(0%);
    box-shadow: 0 30px 50px rgba(0,0,0,0.12);
}

@media (max-width: 767.98px) {
    .pasos-row {
        margin-bottom: 80px;
    }
    .paso-num {
        font-size: 8rem;
        top: -40px;
        left: 0px;
    }
    .paso-num.layout-right {
        right: auto;
        left: 0px;
    }
    .image-pasos::before {
        width: 40px;
        height: 40px;
        border-width: 4px;
    }
}

/*======================================================= Funcionamiento dinamica =======================================================*/

#funcionamiento-dinamica {
    background-color: var(--light-blue);
    padding: 60px 20px;
    font-family: 'EMprint-Regular';
    color: #333333;
}

.dinamica-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    padding: 12px 20px;
    border-radius: 8px;
}

.dinamica-container {
    max-width: 900px;
    margin: 0 auto;
}

.funcionamiento-header {
    text-align: center;
    margin-bottom: 40px;
}

.funcionamiento-header h2 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 8px;
    font-family: 'EMprint-Bold';
}

#funcionamiento-dinamica .station-badge {
    display: inline-block;
    background-color: var(--white);
    color: var(--text-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

#funcionamiento-dinamica .vigencia-box {
    background-color: #ffffff;
    border-radius: 8px;
    /* padding: 20px;
    text-align: center;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02); */
    margin-bottom: 40px;
}

#funcionamiento-dinamica .vigencia-title {
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: var(--strong-gray);
    font-weight: bold;
    margin-bottom: 6px;
}

#funcionamiento-dinamica .vigencia-dates {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
}

.funcionamiento-sections {
    margin-bottom: 40px;
}

.funcionamiento-sections h3 {
    font-size: 1.3rem !important;
    color: var(--text-color);
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 8px;
    margin-bottom: 20px;
    font-family: 'EMprint-Semibold';
}

.funcionamientos {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-button {
    background-color: #ffffff00 !important;
    border-radius: 0px !important;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
    font-size: 1.3rem !important;
}

.accordion-button:focus {
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.04) !important;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color) !important;
}

.accordion-button:not(.collapsed) {
    color: var(--secundary-color) !important;
    background-color: #ffffff00 !important;
    border-radius: 0px !important;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
    margin-bottom: 20px !important;
}

.accordion-body {
    padding: 0px !important;
}

.accordion-item {
    border: 0px solid #000 !important;
    background-color: #00000000 !important;
}
    
/*======================================================= Conoce tu premio =======================================================*/

#conoce-tu-premio {
    padding: 100px 0;
    background-color: var(--strong-gray);
    overflow: hidden;
}

.premio-title {
    font-family: 'EMprint-Bold';
    letter-spacing: -1px;
}

.premio-line {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color, var(--secundary-color));
    margin-top: 15px;
    border-radius: 2px;
}

@media (max-width: 991.98px) {
    .premio-line {
        margin-left: auto;
        margin-right: auto;
    }
}

.premio-container {
    position: relative;
    padding: 20px;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.badge-premio {
    position: absolute;
    top: 0;
    left: 40px;
    background: var(--primary-color, var(--secundary-color));
    color: #ffffff;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 10px 25px rgba(30, 80, 232, 0.3);
}

.premio-image {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.premio-image::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    z-index: -1;
    pointer-events: none;
}

.premio-img {
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.premio-image:hover .premio-img {
    transform: scale(1.04) translateY(-5px);
}

.condiciones {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 35px;
}

.bi-calendar3 {
    color: var(--secundary-color);
}

.bg-primer-periodo {
    background-color: var(--secundary-color);
}

.bg-segundo-periodo {
    background-color: var(--primary-color);
}

.periodo-card {
    transition: all 0.3s ease;
}

.periodo-card:hover {
    background: rgba(255, 255, 255, 0.10) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-2px);
}

@media (max-width: 575.98px) {
    .condiciones {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.condicion {
    display: flex;
    flex-direction: column;
}

.cantidad {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color, var(--secundary-color));
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'EMprint-Regular';
}

.valor h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.valor p {
    color: #a0aec0;
    font-size: 0.95rem;
    margin: 0;
}

.condiciones-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lista-condiciones {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-condiciones li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--white);
    line-height: 1.5;
}

.lista-condiciones li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--primary-color, var(--secundary-color));
    font-weight: bold;
}

.vigencia {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--gray-light);
    padding: 10px 20px;
    border-radius: 30px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    max-width: 658px;
}

.terminos-condiciones {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.terminos-condiciones:hover {
    color: var(--white);
}

/*======================================================= Ranking ganadores =======================================================*/

#ranking-ganadores {
    background: radial-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.ranking-title {
    color: var(--primary-color);
    font-family: 'EMprint-Bold';
    letter-spacing: -1px;
}

.ranking-subtitle {
    color: #64748b;
    font-size: 1.05rem;
}

.ranking-split-section {
    background: radial-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #f8fafc;
}

.leader-hero-card {
    background: radial-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #eab308;
    border-radius: 28px;
    padding: 20px 24px;
    text-align: center;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px rgba(234, 179, 8, 0.12);
    overflow: hidden;
}

.leader-crown-badge {
    background: #eab308;
    color: #0f172a;
    font-weight: 900;
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: 20px;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.leader-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(234, 179, 8, 0.15);
    border: 2px solid #eab308;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: #eab308;
    margin-bottom: 20px;
}

.leader-status {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.leader-name {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--text-color);
    margin-top: 4px;
}

.participantes-card {
    background: radial-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #94a3b8;
    border-radius: 20px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.2s ease;
    width: 100%;
}

.participantes-card:hover {
    transform: translateX(6px);
}

.poscion-rank {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.silver-rank .poscion-rank {
    background: #e2e8f0;
    color: #475569;
}

.bronze-rank .poscion-rank {
    background: #ffedd5;
    color: #c2410c;
}

.rank-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: #64748b;
    width: 30px;
}

.participantes-ico {
    font-size: 1.6rem;
    color: #cbd5e1;
}

.rank-tag {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 800;
}

.participantes-name {
    margin: 0;
    font-weight: 800;
    color: var(--text-color);
    font-size: 1.25rem;
}

.consultar {
    max-width: 350px;
}

.consultar-inline-card {
    background: linear-gradient(var(--primary-color), var(--strong-blue));
    border: 1px solid #94a3b8;
    border-radius: 20px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0px;
}

.consultar h5 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 2px;
    color: var(--white);
}

.consultar p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--white);
}

.bar-icon {
    font-size: 2rem;
    color: var(--white);
    background: rgba(30, 54, 232, 0.08);
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-consultar-glow {
    background: #ffffff;
    color: var(--white) !important;
    font-weight: 800;
    border-radius: 30px;
    padding: 10px 24px;
}

/*======================================================= Registrar tickets =======================================================*/

.ticket-register-section {
    background: #f8fafc;
    position: relative;
    font-family: 'EMprint-Regular';
}

.badge-dinamica {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 69, 161, 0.08);
    color: var(--primary-color);
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-title {
    color: var(--primary-color);
    font-family: 'EMprint-Bold';
    font-size: 3rem;
    line-height: 1.2;
    margin: 0;
}

.main-subtitle {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.6;
}

.divider-line {
    border-top: 2px dashed #e2e8f0;
    opacity: 1;
}

.step-num {
    width: 28px;
    height: 28px;
    background: var(--strong-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.steps-mini-list span {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.ticket-help-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.btn-ticket-example {
    background: transparent;
    border: none;
    color: var(--secundary-color);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0;
    transition: all 0.2s ease;
}

.example-ico {
    color: var(--primary-color);
}

.btn-ticket-example:hover {
    color: #b30008;
    transform: translateX(3px);
}

.form-card-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.custom-label {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-color);
    margin-bottom: 6px;
    display: block;
}

.check-link {
    color: var(--primary-color);
}

.input-icon-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.2s ease;
}

.custom-input {
    padding-left: 44px !important;
    height: 50px;
    border-radius: 12px !important;
    border: 1.5px solid #e2e8f0 !important;
    font-size: 0.95rem !important;
    color: var(--strong-blue) !important;
    background-color: #f8fafc !important;
    transition: all 0.25s ease !important;
}

.custom-input:focus {
    background-color: #ffffff !important;
    border-color: var(--strong-blue) !important;
    box-shadow: 0 0 0 4px rgba(0, 69, 161, 0.1) !important;
}

.custom-input:focus + .input-icon,
.input-icon-group:focus-within .input-icon {
    color: var(--strong-blue);
}

.upload-icon-circle {
    width: 48px;
    height: 48px;
    background: rgba(0, 69, 161, 0.08);
    color: var(--strong-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.upload-title {
    color: #334155;
    font-weight: 600;
    font-size: 0.95rem;
}

.upload-subtitle {
    color: #94a3b8;
    font-size: 0.8rem;
}

.btn-submit-ticket {
    background: var(--secundary-color) !important;
    color: var(--white) !important;
    width: 100%;
    height: 52px;
    border-radius: 32px !important;
    font-weight: 800;
    font-size: 1.05rem;
    border: none;
    box-shadow: 0 10px 25px rgba(254, 0, 12, 0.25);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-submit-ticket:hover {
    background: #d6000a !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(254, 0, 12, 0.35);
}

@media (max-width: 991.98px) {
    .form-card-wrapper {
        padding: 24px;
    }
    .main-title {
        font-size: 1.8rem;
    }
}

/*======================================================= Modal Formulario =======================================================*/

.info-modal-trigger {
    color: var(--secundary-color) !important;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: dashed;
}

.info-modal-trigger:hover {
    color: #b8141c !important;
    text-decoration: underline !important;
}

.modal-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.3rem;
}

.modal-icon-box.box-highlight {
    background-color: rgba(232, 30, 41, 0.1);
    color: var(--secundary-color);
}

.vigencia-badge {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.btn-accordion-trigger {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 16px 20px;
    border-radius: 16px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.btn-accordion-trigger:hover, 
.btn-accordion-trigger:focus {
    background: #f1f5f9;
    border-color: #cbd5e1;
    box-shadow: 0 6px 15px rgba(0,0,0,0.04);
}

.btn-accordion-trigger[aria-expanded="true"] .arrow-icon {
    transform: rotate(180deg);
}

.btn-accordion-trigger .arrow-icon {
    transition: transform 0.3s ease;
    color: #64748b;
}

.btn-link {
    color: var(--secundary-color) !important;
    font-size: 14px !important;
}

.control-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.4;
}

.control-list-item i {
    color: var(--strong-blue);
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.img-ticket-pasos {
    width: 100%;
    border-radius: 12px;
}

/*======================================================= Footer =======================================================*/

footer {
    background-color: var(--strong-gray);
}


footer ul {
    list-style: none !important;
    display: inline-flex !important;
    flex-direction: row !important;
    gap: 0px !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: center;
}

ul a {
    color: var(--white);
}

ul a:hover {
    color: var(--primary-color);
}

/*======================================================= Modal Iniciar Sesión =======================================================*/

.custom-auth-modal .auth-card-content {
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 28px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
    position: relative;
    overflow: hidden;
}

.btn-close-custom {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}
.btn-close-custom:hover {
    background: var(--secundary-color);
    color: var(--white);
    transform: rotate(90deg);
}

.auth-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    max-width: 200px;
    margin: 0 auto;
}
.step-line {
    position: absolute;
    top: 14px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
    transition: background 0.4s ease;
}
.step-line.active {
    background: var(--primary-color, var(--strong-blue));
}
.step-indicator {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
}
.step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
}
.step-indicator.active .step-num {
    background: var(--primary-color, var(--strong-blue));
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 69, 161, 0.15);
}
.step-indicator.active .step-label {
    color: var(--primary-color, var(--strong-blue));
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.highlight-text {
    color: var(--primary-color, var(--strong-blue));
}

.auth-desc {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-top: 6px;
}

.custom-floating-field {
    position: relative;
}
.custom-input-pill {
    width: 100%;
    height: 56px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    padding: 18px 20px 6px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    outline: none;
    transition: all 0.25s ease;
}
.custom-floating-field label {
    position: absolute;
    left: 20px;
    top: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    pointer-events: none;
    transition: all 0.2s ease;
}
.custom-input-pill:focus ~ label,
.custom-input-pill:not(:placeholder-shown) ~ label {
    top: 6px;
    font-size: 0.72rem;
    color: var(--primary-color, var(--strong-blue));
}
.custom-input-pill:focus {
    background: var(--white);
    border-color: var(--primary-color, var(--strong-blue));
    box-shadow: 0 10px 20px rgba(0, 69, 161, 0.08);
}

.user-email-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}
.btn-edit-email {
    border: none;
    background: transparent;
    color: var(--secundary-color);
    padding: 0;
    font-size: 0.85rem;
    cursor: pointer;
}

.otp-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.otp-box {
    width: 46px;
    height: 56px;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    transition: all 0.2s ease;
}
.otp-box:focus {
    background: #ffffff;
    border-color: var(--secundary-color);
    box-shadow: 0 8px 16px rgba(254, 0, 12, 0.15);
    outline: none;
    transform: translateY(-2px);
}
.otp-separator {
    color: #cbd5e1;
    font-weight: 800;
}

.btn-auth-primary {
    height: 52px;
    background: var(--secundary-color) !important;
    color: var(--white) !important;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    box-shadow: 0 10px 20px rgba(254, 0, 12, 0.25);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-auth-primary:hover {
    background: #d6000a;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(254, 0, 12, 0.35);
}
.btn-resend-link {
    background: transparent;
    border: none;
    color: var(--primary-color, var(--strong-blue));
    font-weight: 700;
    font-size: 0.85rem;
}

/*======================================================= Responsive =======================================================*/

@media (max-width: 1400px) {

    .product-title {
        max-width: 50%;
    }

    .img-gasolineria {
        width: 600px;
        left: -222px;
    }

    .img-carro {
        width: 380px;
        right: -100px;
    }

}
        
@media (max-width: 1200px) {
    .navbar-collapse {
        padding-bottom: 20px;
    }

    .info-promo {
        font-size: 14px;
    }

    .img-gasolineria {
        width: 540px;
    }

    .img-carro {
        width: 370px;
    }

    .rank-0 {
        display: none;
    }

    .responsive-btn {
        display: none;
    }

    .responsive-btn-lg {
        display: block;
    }
}

@media (max-width: 991px) {
    #conoce-tu-premio {
        padding: 30px 0;
    }

    #funcionamiento-dinamica {
        padding: 30px 20px;
    }

    .w-40 {
        width: 100%;
    }

    .top-responsive {
	    display: none;
    }

    .product-title {
        max-width: 80%;
    }

    .responsive-br {
        display: none;
    }

    .responsive-order {
        flex-direction: column-reverse;
    }

    .pasos-container::before {
        display: none;
    }
    
    .orden-pasos,
    .orden-pasos.lado-izq,
    .orden-pasos.lado-der {
        flex-direction: column !important;
        align-items: flex-start;
        margin-bottom: 60px;
    }

    .pasos-img-wrapper,
    .pasos-content-card {
        width: 100%;
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;
    }

    .pasos-img-wrapper {
        margin-bottom: 30px;
    }

    .pasos-content-card {
        padding-top: 50px;
        margin-left: 40px;
        width: calc(100% - 40px);
    }
    
    .step-badge {
        left: 20px;
    }

    .header-section {
        text-align: center;
    }

    .ranking-tops {
        flex-direction: column;
        align-items: center;
        gap: 50px;
        min-height: auto;
    }
    
    .ranking-card {
        height: auto !important;
    }
    
    .rank-gold-card {
        order: 1;
    }
    
    .rank-silver-card {
        /* display: none; */
        order: 2;
    }
    
    .rank-bronze-card {
        /* display: none; */
        order: 3;
    }
}

@media screen and (min-width: 768px) {
    #como-participar {
        height: 460px;
    }
    #como-participar2 {
        height: 480px;
    }
}

@media (max-width: 768px) {
    .pasos-responsive {
        display: block;
    }

    .pasos {
        display: none;
    }

    .responsive-text {
        justify-content: center;
        align-items: center;
        text-align: center !important;
    }
    
    .especificaciones {
        grid-template-columns: 1fr;
    }
    .especificacion-card.card-wide {
        grid-column: span 1;
    }

    .form-padding {
        padding: 20px;
    }

    .funcionamiento-header h2 {
        font-size: 2rem;
        margin-bottom: 14px;
    }
}

@media (max-width: 576px) {
    .content-text {
        text-align: center;
    }

    .hero-banner {
        min-height: 432px;
    }

    .pasos-container {
        margin-top: 0px;
    }

    .pasos-container::before {
        display: none;
    }
    .pasos-content-card {
        margin-left: 0;
        width: 100%;
    }

    .condicion {
        text-align: center;
    }

    .consultar-inline-card {
        flex-direction: column;
    }

    .responsive-rank {
        flex-direction: column;
    }

    .bar-icon {
        display: none !important;
    }

    .img-ticket-pasos {
        display: none;
    }

    .main-title {
        text-align: center;
    }

    .main-subtitle {
        text-align: center;
    }

    .steps-mini-list {
        flex-direction: column !important;
    }
}

@media (max-width: 422px) {
    .responsive-contents {
        flex-direction: column-reverse;
        align-items: center;
        gap: 8px;
    }
}

@media (max-width: 400px) {
    .btn-comenzar {
        font-size: 14px;
    }
}

@media (max-width: 370px) {
    .btn-comenzar {
        padding: 10px;
        font-size: 14px;
    }
}

@media (max-width: 333px) {
    .logo-nexum {
        height: 30px;
    }
}
