
/* ---------- Search ----------- */
.search-box {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-box input {
    width: min(420px, 90%);
    border-radius: 8px;
    border: 2px solid #9164cc;
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
}

.highlight-text {
    background: #eee84f;
    color: #42275c;
    font-weight: 700;
    border-radius: 3px;
    padding: 0 2px;
}

/* ---------- Table wrapper + table ----------- */
.table-wrapper {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 80vh;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .25);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    color: #333;
    font-size: 14px;
}

thead th {
    background: linear-gradient(to bottom, #42275c, #9164cc);
    color: #fff;
    padding: 12px;
    position: sticky;
    top: 0;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: .4px;
}

tbody td {
    padding: 12px;
    border-bottom: 1px solid #e6e6e6;
    vertical-align: top;
}

tbody tr:nth-child(even) {
    background: #fafafa;
}

tbody tr:hover {
    background: #e0f7fa;
}

/* ---------- Ganadores ----------- */
.winner {
    background: #f4f0df !important;
    box-shadow: inset 0 0 0 2px #8564c8;
    font-weight: bold;
}

/* ---------- Animación de actualización ----------- */
.updated-row {
    animation: flashUpdate .7s ease-in-out;
}

@keyframes flashUpdate {
    0% {
        background: #fff6a0;
    }

    100% {
        background: inherit;
    }
}

/* ---------- Mobile Cards ----------- */
@media (max-width: 600px) {
    body {
        padding: 14px;
    }

    h1 {
        font-size: 1.4rem;
    }

    .search-box input {
        width: 100%;
        font-size: 16px;
        padding: 12px 14px;
    }

    .table-wrapper {
        background: transparent;
        box-shadow: none;
        max-height: none;
        overflow-y: visible;
    }

    table {
        display: block;
        background: transparent;
    }

    thead {
        display: none;
    }

    tbody {
        display: block;
    }

    tbody tr {
        display: block;
        margin: 14px 0;
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
        position: relative;
    }

    tbody tr::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 6px;
        background: linear-gradient(90deg, #42275c, #9164cc);
    }

    tbody td {
        display: block;
        padding: 14px 16px;
        border: none;
        border-bottom: 1px solid #f0f0f0;
    }

    tbody td:last-child {
        border-bottom: none;
    }

    tbody td::before {
        content: attr(data-label);
        display: block;
        font-weight: 700;
        color: #9164cc;
        margin-bottom: 6px;
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: .4px;
    }

    tbody tr:hover {
        background: #fff;
    }
}

.bg-success {
    background-color: #9164cc !important;
}




.logo-container {
  text-align: center;
}

/* Hide Content Initially */
#content {
  display: none;
}

/* Animations */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeOut {
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes fadeInText {
  100% {
    opacity: 1;
  }
}


#sellosFunnel {
  background: linear-gradient(to bottom right, #fafafa, #f5f3ff);
  border-radius: 12px;
  padding: 8px;
}

#sellosFunnel { width: 100%; }
@media (max-width: 640px) {
  #sellosFunnel .apexcharts-data-labels text { font-size: 8px !important; }
}
div#countdown {
    display: none !important;
}







        :root {
            --morado-principal: #5a1f8a;
            --morado-secundario: #3a1459;
            --morado-claro: #8c52d1;
            --dorado-1: #fff17a;
            --dorado-2: #f6cf47;
            --dorado-3: #c98a12;
            --texto: #4b3b5f;
            --beige: #f5efe4;
            --beige-2: #efe6da;
            --blanco: #ffffff;
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            font-family: Arial, Helvetica, sans-serif;
            color: var(--texto);
            background-color: var(--beige);
            background-image: radial-gradient(circle at 1px 1px, rgba(120, 92, 60, 0.08) 1px, transparent 0);
            background-size: 14px 14px;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        a {
            text-decoration: none;
        }

        .header-custom {
            position: sticky;
            top: 0;
            z-index: 999;
            background: rgba(245, 239, 228, 0.96);
            backdrop-filter: blur(8px);
            border-bottom: 1px solid #ddd1c2;
        }

        .brand-ribbon img {
            max-height: 64px;
            width: auto;
        }

        .navbar-nav .nav-link {
            color: var(--morado-secundario);
            font-weight: 700;
            text-transform: uppercase;
            font-size: 0.95rem;
            letter-spacing: 0.03em;
            position: relative;
            padding-left: 0.9rem !important;
            padding-right: 0.9rem !important;
        }

        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: var(--morado-claro);
        }

        .navbar-nav .nav-link.active::after,
        .navbar-nav .nav-link:hover::after {
            content: "";
            position: absolute;
            left: 14px;
            right: 14px;
            bottom: 2px;
            height: 3px;
            background: var(--morado-claro);
            border-radius: 999px;
        }

        .btn-gold {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            background: linear-gradient(180deg, var(--dorado-1) 0%, var(--dorado-2) 52%, var(--dorado-3) 100%);
            color: var(--morado-secundario);
            font-weight: 900;
            text-transform: uppercase;
            border: none;
            border-radius: 999px;
            padding: 16px 34px;
            font-size: 1.1rem;
            box-shadow: 0 14px 28px rgba(170, 115, 7, 0.26);
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }

        .btn-compra {
            width: 600px;
            max-width: 100%;
            border-radius: 999px;
            padding: 0;
            font-size: 1.1rem;
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }

        .btn-compra img {
            width: 100%;
            height: auto;
            border-radius: 999px;
        }

        .btn-gold:hover,
        .btn-compra:hover {
            transform: translateY(-2px);
            box-shadow: 0 18px 32px rgba(170, 115, 7, 0.3);
            color: var(--morado-secundario);
        }

        .btn-outline-custom {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 2px solid var(--morado-claro);
            color: var(--morado-principal);
            background: rgba(255, 255, 255, 0.75);
            border-radius: 999px;
            padding: 14px 30px;
            font-weight: 800;
            transition: all 0.25s ease;
        }

        .btn-outline-custom:hover {
            background: #fff;
            color: var(--morado-principal);
        }

        .hero-section {
            min-height: 78vh;
            display: flex;
            align-items: center;
            padding: 70px 0;
        }

        .eyebrow {
            display: inline-block;
            padding: 8px 16px;
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid #dcccb8;
            border-radius: 999px;
            color: var(--morado-claro);
            font-weight: 700;
            margin-bottom: 18px;
        }

        .hero-text {
            font-size: 1.3rem;
            line-height: 1.5;
            max-width: 600px;
            margin-bottom: 30px;
            text-align: center;
        }

        .hero-card {
            position: relative;
            overflow: hidden;
            border-radius: 32px;
            padding: 10px;
            background: rgba(255, 255, 255, 0.72);
            border: 1px solid rgba(255, 255, 255, 0.6);
            box-shadow: 0 20px 40px rgba(45, 13, 83, 0.15);
        }

        .hero-card::before,
        .hero-card::after {
            content: "";
            position: absolute;
            border-radius: 50%;
            filter: blur(35px);
            z-index: 0;
        }

        .hero-card::before {
            width: 150px;
            height: 150px;
            right: -20px;
            top: -20px;
            background: rgba(232, 210, 255, 0.9);
        }

        .hero-card::after {
            width: 150px;
            height: 150px;
            left: -20px;
            bottom: -30px;
            background: rgba(255, 236, 154, 0.85);
        }

        .hero-card-inner {
            position: relative;
            z-index: 1;
            border-radius: 26px;
            background: linear-gradient(135deg, #6b2aa4b0 0%, #2f0e54 100%);
            color: #fff;
            padding: 0px;
        }

        .section-spacing {
            padding: 40px 0 20px;
        }

        .content-box {
            background: rgba(255, 255, 255, 0.8);
            border-radius: 32px;
            padding: 40px;
            box-shadow: 0 16px 30px rgba(0, 0, 0, 0.06);
            border: 1px solid #ede2d4;
        }

        .section-tag {
            color: var(--morado-claro);
            text-transform: uppercase;
            font-size: 0.9rem;
            font-weight: 900;
            letter-spacing: 0.24em;
        }

        .section-title {
            color: #4d2578;
            font-size: 2.5rem;
            font-weight: 900;
            margin-top: 12px;
            margin-bottom: 14px;
        }

        .section-text {
            font-size: 1.08rem;
            line-height: 1.8;
            color: #5d4d6d;
        }

        .step-card,
        .ranking-card,
        .terms-card,
        .prize-card {
            background: #fffdf9;
            border: 1px solid #efe4d5;
            border-radius: 28px;
            padding: 26px;
            height: 100%;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
        }

        .icon-round {
            width: 52px;
            height: 52px;
            border-radius: 18px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(180deg, #ffe86a 0%, #dfa11e 100%);
            color: var(--morado-principal);
            font-size: 1.3rem;
            font-weight: 900;
            margin-bottom: 16px;
            overflow: hidden;
            flex-shrink: 0;
        }

        .icon-round img {
            width: 126%;
        }

        .step-card h4,
        .terms-card h4 {
            color: #4b246f;
            font-weight: 900;
            font-size: 1.3rem;
            margin-bottom: 10px;
        }

        .ranking-highlight {
            background: linear-gradient(135deg, #5a1f8a 0%, #2d0d53 100%);
            color: #fff;
            border-radius: 32px;
            padding: 40px;
            box-shadow: 0 20px 40px rgba(45, 13, 83, 0.2);
            height: 100%;
        }

        .ranking-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
            background: #fff;
            border: 1px solid #efe4d5;
            border-radius: 22px;
            padding: 16px 18px;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
            margin-bottom: 15px;
        }

        .ranking-left {
            display: flex;
            align-items: center;
            gap: 14px;
            min-width: 0;
        }

        .ranking-position {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(180deg, #ffe95e 0%, #dca116 100%);
            color: var(--morado-principal);
            font-weight: 900;
            font-size: 1.1rem;
            flex-shrink: 0;
        }

        .ranking-name {
            font-weight: 900;
            color: #4b246f;
            margin-bottom: 0;
        }

        .ranking-desc {
            font-size: 0.88rem;
            color: #7d7188;
            margin-bottom: 0;
        }

        .ranking-points {
            font-weight: 900;
            color: #5c2f8f;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .section-banner-title {
            background: linear-gradient(90deg, #c99d19 0%, #f6ea8a 100%);
            color: #5a1f8a;
            font-weight: 900;
            font-size: 2.2rem;
            text-align: center;
            padding: 18px 20px;
            border-radius: 22px 22px 0 0;
            border-bottom: 4px solid #d6b4ff;
            text-shadow: 0 2px 0 rgba(255, 255, 255, 0.35);
        }

        .prizes-wrapper {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid #e6dbcf;
            border-radius: 0 0 32px 32px;
            padding: 32px 26px;
            box-shadow: 0 16px 30px rgba(0, 0, 0, 0.06);
        }

        .prize-card {
            padding: 22px;
        }

        .prize-item {
            display: flex;
            align-items: flex-start;
            gap: 16px;
        }

        .prize-icon {
            width: 74px;
            height: 74px;
            min-width: 74px;
            border-radius: 50%;
            border: 2px solid #5a1f8a;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: #5a1f8a;
            background: #fff;
        }

        .prize-title {
            color: #4b246f;
            font-weight: 900;
            font-size: 1.55rem;
            line-height: 1.1;
            margin-bottom: 6px;
        }

        .prize-text {
            font-size: 1rem;
            line-height: 1.4;
            color: #5d4d6d;
            margin-bottom: 0;
        }

        .brands-section {
            background: linear-gradient(180deg, #7a2db0 0%, #551985 60%, #4c1477 100%);
            border-radius: 32px;
            padding: 44px 32px;
            box-shadow: 0 18px 35px rgba(58, 20, 89, 0.22);
            color: #fff;
        }

        .brands-title {
            text-align: center;
            font-weight: 900;
            font-size: 3rem;
            margin-bottom: 30px;
            color: #fff17a;
            text-shadow: 0 3px 0 rgba(255, 255, 255, 0.25);
        }

        .brands-grid {
            display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: 14px 20px;
            align-items: center;
        }

        .brand-logo-item {
            min-height: 58px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: #fff;
            font-weight: 800;
            font-size: 1.05rem;
            padding: 8px 6px;
            opacity: 0.98;
        }

        .brands-note {
            text-align: center;
            margin-top: 28px;
            margin-bottom: 0;
            font-size: 1rem;
            font-weight: 700;
            color: #fff;
        }

        .footer-custom {
            margin-top: 50px;
            background: var(--beige-2);
            border-top: 1px solid #d9cdbf;
        }

        .footer-logo {}

        .footer-title {
            font-size: 1.2rem;
            color: #4d2578;
            font-weight: 900;
            margin-bottom: 16px;
        }

        .footer-custom p,
        .footer-custom a,
        .footer-custom li {
            color: #5d4c6c;
        }

        .footer-link {
            display: block;
            margin-bottom: 10px;
            transition: color 0.2s ease;
        }

        .footer-link:hover {
            color: var(--morado-claro);
        }

        .footer-bottom {
            border-top: 1px solid #d9cdbf;
            padding: 18px 0;
            text-align: center;
            font-size: 0.95rem;
            color: #6d6079;
        }

        @media (max-width: 1199.98px) {
            .brands-grid {
                grid-template-columns: repeat(4, minmax(0, 1fr));
            }
        }

        @media (max-width: 991.98px) {
            .hero-text {
                font-size: 1.15rem;
            }

            .brands-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }

            .brands-title {
                font-size: 2.4rem;
            }
        }

        @media (max-width: 767.98px) {
            .hero-section {
                padding: 40px 0 50px;
            }

            .hero-text {
                font-size: 1rem;
                max-width: 100%;
            }

            .content-box,
            .ranking-highlight,
            .step-card,
            .ranking-card,
            .terms-card,
            .prize-card,
            .brands-section {
                padding: 24px;
            }

            .section-title {
                font-size: 2rem;
            }

            .btn-gold,
            .btn-outline-custom,
            .btn-compra {
                width: 100%;
            }

            .ranking-item {
                flex-direction: column;
                align-items: flex-start;
            }

            .ranking-points {
                padding-left: 62px;
                white-space: normal;
            }

            .section-banner-title {
                font-size: 1.6rem;
                line-height: 1.2;
                padding: 16px 14px;
            }

            .prizes-wrapper {
                padding: 20px 16px;
            }

            .prize-item {
                gap: 12px;
            }

            .prize-icon {
                width: 58px;
                height: 58px;
                min-width: 58px;
                font-size: 1.5rem;
            }

            .prize-title {
                font-size: 1.2rem;
            }

            .prize-text {
                font-size: 0.95rem;
            }

            .brands-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 10px 14px;
            }

            .brands-title {
                font-size: 2rem;
            }

            .brand-logo-item {
                min-height: 44px;
                font-size: 0.95rem;
            }
        }

        @media (max-width: 575.98px) {
            .brand-ribbon img {
                max-height: 46px;
            }

            .eyebrow {
                font-size: 0.9rem;
            }

            .section-tag {
                font-size: 0.75rem;
                letter-spacing: 0.18em;
            }

            .brands-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        .step-card img {
            width: 70px;
        }

        .footer-logo img {
            width: 51%;
        }
.prizes-layout-v2 {
  background: #efefef;
  border-radius: 0 0 28px 28px;
  padding: 34px 28px;
}

.prize-column {
  height: 100%;
  padding: 0 10px;
}

.prize-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.prize-row:last-child {
  margin-bottom: 0;
}

.prize-icon-circle {
  width: 82px;
  height: 82px;
  min-width: 82px;
  border: 2px solid #4e2b7c;
  border-radius: 50%;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.prize-icon-circle img {
  height: auto;
  object-fit: contain;
}

.prize-copy h4 {
  margin: 0 0 6px;
  color: #4b246f;
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1.1;
}

.prize-copy p {
  margin: 0;
  color: #4b3b5f;
  font-size: 0.98rem;
  line-height: 1.2;
}

@media (min-width: 992px) {
  .prize-column {
    border-right: 1px solid rgba(78, 43, 124, 0.18);
  }

  .col-lg-4:last-child .prize-column {
    border-right: 0;
  }
}

@media (max-width: 991.98px) {
  .prize-column {
    padding: 0;
  }

  .prize-row {
    margin-bottom: 24px;
  }
}

@media (max-width: 767.98px) {
  .section-banner-title {
    font-size: 1.5rem;
    line-height: 1.2;
    padding: 14px 12px;
  }

  .prizes-layout-v2 {
    padding: 22px 16px;
  }

  .prize-row {
    gap: 14px;
    margin-bottom: 20px;
  }

  .prize-icon-circle {
    width: 62px;
    height: 62px;
    min-width: 62px;
  }

  .prize-copy h4 {
    font-size: 1rem;
  }

  .prize-copy p {
    font-size: 0.9rem;
    line-height: 1.25;
  }
}

@media (max-width: 575.98px) {
  .prize-row {
    align-items: flex-start;
  }

  .prize-copy h4 {
    font-size: 0.95rem;
  }

  .prize-copy p {
    font-size: 0.86rem;
  }
}