/* ============================================================
   Seasonal Codes Public Page  —  /seasonal-codes
   ============================================================ */

.seasonal-page {
    background: #0a0a0a;
    min-height: 60vh;
    padding-bottom: 60px;
}

.seasonal-codes-wrap {
    display: flex;
    max-width: 1600px;
    padding: 40px 0;
    flex-direction: column;
    gap: 30px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* ══════════════════════════════════════════
   ROW
   align-items:flex-end so chars sit at the bottom.
   overflow:hidden clips chars that are taller than the row.
══════════════════════════════════════════ */
.seasonal-banner-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #1e1e1e;
    border-radius: 0;
    height: 54px;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    flex-shrink: 0;
    padding: 0 2rem;
}

/* ══════════════════════════════════════════
   DARK GRADIENT OVERLAY
   Absolutely covers the right portion of the row —
   from where the countdown starts to the right edge.
   This is what makes the countdown + right image area look darker.
   width is set inline via JS-free approach: covers roughly right 40%.
══════════════════════════════════════════ */
.row-dark-overlay {
    position: absolute;
    top: 0;
    right: 3%;
    width: 28%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(5, 5, 5, 0.70) 18%,
        rgba(5, 5, 5, 0.92) 45%,
        rgba(5, 5, 5, 0.92) 55%,
        rgba(5, 5, 5, 0.70) 75%,
        transparent 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* ══════════════════════════════════════════
   LEFT CHARACTER
   Flush at left edge (no margin), overflows top
══════════════════════════════════════════ */
.banner-char-left {
    position: absolute;
    left: 0;
    bottom: 0;
    flex-shrink: 0;
    width: 90px;
    height: 64px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 2;
    background: none;
    padding: 0 12px 0 16px;
    box-sizing: border-box;
}

.banner-char-left .sc-char {
    height: 64px;
    width: auto;
    object-fit: contain;
    object-position: bottom;
    display: block;
}

/* ══════════════════════════════════════════
   CONTENT GROUP — text + arrow + countdown
══════════════════════════════════════════ */
.banner-content-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 2;
    max-width: calc(100% - 180px);
    min-width: 0;
}

/* ══════════════════════════════════════════
   CENTER TEXT
══════════════════════════════════════════ */
.banner-center {
    flex: 0 1 auto;
    min-width: 0;
    padding: 0;
    position: relative;
    text-align: center;
}

.banner-align-left   { text-align: left; }
.banner-align-center { text-align: center; }
.banner-align-right  { text-align: right; }

.banner-text {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    line-height: 24px;
}

.banner-offers {
    display: inline;
}

/* ── Desktop: single-line centered row ── */
@media (min-width: 1025px) {
    .row-dark-overlay { display: none; }

    .banner-center {
        text-align: center;
    }

    .banner-name {
        display: inline;
    }

    .banner-name::after {
        content: '\00a0\00a0';
    }

    .banner-content-group {
        gap: 24px;
    }

    /* Dark band behind countdown — full height; mid-first box to 1.5 boxes past last */
    .banner-content-group::before {
        display: none;
    }

    .banner-countdown::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 26px;
        width: calc(100% + 52px);
        transform: translateY(-50%);
        height: 54px;
        background: linear-gradient(90deg,
            transparent 0%,
            rgba(5, 5, 5, 0.10) 4%,
            rgba(5, 5, 5, 0.28) 10%,
            rgba(5, 5, 5, 0.42) 22%,
            rgba(5, 5, 5, 0.46) 50%,
            rgba(5, 5, 5, 0.42) 78%,
            rgba(5, 5, 5, 0.28) 90%,
            rgba(5, 5, 5, 0.10) 96%,
            transparent 100%
        );
        z-index: -1;
        pointer-events: none;
        border-radius: 0;
    }
}

.banner-name {
    color: #FFF;
    font-family: 'Freeman', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.14px;
}

.banner-percent {
    font-family: 'Freeman', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.14px;
    background: linear-gradient(97deg, #FFD768 0.29%, #FFC527 100.29%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner-cat-label {
    color: #FFF;
    font-family: 'Freeman', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.14px;
}

.banner-sep {
    color: rgba(255, 255, 255, 0.45);
    font-family: 'Freeman', sans-serif;
    font-size: 14px;
}

/* ══════════════════════════════════════════
   ARROW BUTTON
══════════════════════════════════════════ */
.banner-arrow-btn {
    display: flex;
    width: 28px;
    height: 28px;
    padding: 6px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 44px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: linear-gradient(97deg, #FFCF4A 0.29%, #FFBB01 100.29%);
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    transition: opacity 0.2s;
    position: relative;
    z-index: 3;
}

.banner-arrow-btn:hover { opacity: 0.85; }

/* ══════════════════════════════════════════
   COUNTDOWN BOXES
   z-index:3 so they sit ABOVE the dark overlay
══════════════════════════════════════════ */
.banner-countdown {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-items: center;
    position: relative;
    z-index: 3;
    margin: 0;
}

.countdown-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #2a2a2a;
    border-radius: 6px;
    width: 52px;
    height: 34px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.countdown-num {
    color: #FFF;
    text-align: center;
    font-family: 'Freeman', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.48px;
    display: block;
}

.countdown-lbl {
    color: #FFF;
    text-align: center;
    font-family: 'Epilogue', sans-serif;
    font-size: 10px;
    font-weight: 300;
    line-height: 12px;
    display: block;
    opacity: 0.75;
}

/* ══════════════════════════════════════════
   RIGHT CHARACTER
   Flush at right edge (no margin), overflows top.
   z-index:4 so it renders IN FRONT of the dark overlay.
══════════════════════════════════════════ */
.banner-char-right {
    position: absolute;
    right: 0;
    bottom: 0;
    flex-shrink: 0;
    width: 90px;
    height: 64px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 4;
    background: none;
    padding: 0 16px 0 12px;
    box-sizing: border-box;
}

.banner-char-right .sc-char {
    height: 64px;
    width: auto;
    object-fit: contain;
    object-position: bottom;
    display: block;
}

/* ══════════════════════════════════════════
   ELLIPSE GLOWS (divs styled via CSS radial glow)
   Left: soft white glow at left edge
   Right: soft white glow at right edge
══════════════════════════════════════════ */
.sc-ellipse-left {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 110px;
    height: 110px;
    border-radius: 50%;
    /* background: radial-gradient(circle, rgba(255,255,255,0.35) 0%, transparent 65%); */
    pointer-events: none;
    z-index: 1;
    flex-shrink: 0;
}

.sc-ellipse-right {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 110px;
    height: 110px;
    border-radius: 50%;
    /* background: radial-gradient(circle, rgba(255,255,255,0.30) 0%, transparent 65%); */
    pointer-events: none;
    z-index: 2;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════ */
.sc-breadcrumb {
    padding-left: 0;
    padding-right: 0;
}

.sc-empty {
    width: 100%;
    text-align: center;
    padding: 48px 0;
}

.sc-empty p {
    color: rgba(255,255,255,0.35);
    font-family: 'Freeman', sans-serif;
    font-size: 14px;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

/* ── 1280px ── */
@media (max-width: 1280px) {
    .seasonal-codes-wrap { padding: 40px 0; gap: 24px; }
}

/* ── 1024px — tablet: stacked centered layout ── */
@media (max-width: 1024px) {
    .seasonal-codes-wrap { padding: 32px 0; gap: 16px; }

    .sc-ellipse-left, .sc-ellipse-right { display: none; }
    .row-dark-overlay { display: none; }

    .seasonal-banner-row {
        height: auto;
        min-height: 54px;
        align-items: flex-end;
        padding: 10px 0 0;
        overflow: visible;
    }

    .banner-char-left {
        width: 72px;
        height: 64px;
        padding: 0 8px 0 12px;
    }
    .banner-char-left .sc-char { height: 64px; }

    .banner-char-right {
        width: 72px;
        height: 64px;
        padding: 0 12px 0 8px;
    }
    .banner-char-right .sc-char { height: 64px; }

    .banner-content-group {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        gap: 8px;
        padding: 0 72px 10px;
        box-sizing: border-box;
    }

    .banner-center {
        width: 100%;
        text-align: center;
    }

    .banner-text {
        white-space: normal;
        line-height: 1.35;
    }

    .banner-name {
        display: block;
        font-size: 13px;
        line-height: 20px;
        margin-bottom: 2px;
    }

    .banner-offers {
        display: block;
    }

    .banner-percent,
    .banner-cat-label,
    .banner-sep {
        font-size: 15px;
        line-height: 22px;
    }

    .banner-arrow-btn {
        width: 28px;
        height: 28px;
        padding: 6px;
        margin: 2px 0;
    }

    .banner-countdown {
        gap: 7px;
        justify-content: center;
    }

    .countdown-box { width: 56px; height: 36px; }
    .countdown-num { font-size: 16px; line-height: 20px; }
    .countdown-lbl { font-size: 9px; line-height: 12px; }
}

/* ── 769px–1024px: tablet tweaks ── */
@media (min-width: 769px) and (max-width: 1024px) {
    .banner-char-left {
        width: 100px;
        height: 80px;
        padding: 0 8px 0 12px;
    }
    .banner-char-left .sc-char { height: 80px; }

    .banner-char-right {
        width: 100px;
        height: 80px;
        padding: 0 12px 0 8px;
    }
    .banner-char-right .sc-char { height: 80px; }

    .banner-content-group {
        padding: 12px 100px 14px;
    }

    /* Dark band behind centered text, arrow & timer — feathered edges */
    .banner-content-group::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: min(calc(100% - 220px), 400px);
        height: calc(100% + 20px);
        background: linear-gradient(90deg,
            transparent 0%,
            rgba(5, 5, 5, 0.08) 4%,
            rgba(5, 5, 5, 0.22) 10%,
            rgba(5, 5, 5, 0.36) 20%,
            rgba(5, 5, 5, 0.40) 50%,
            rgba(5, 5, 5, 0.36) 80%,
            rgba(5, 5, 5, 0.22) 90%,
            rgba(5, 5, 5, 0.08) 96%,
            transparent 100%
        );
        z-index: -1;
        pointer-events: none;
        border-radius: 6px;
    }

    .banner-arrow-btn {
        width: 30px;
        height: 30px;
        padding: 6px;
    }
    .banner-arrow-btn img { width: 13px; height: 13px; }
}

/* ── 768px — mobile: stacked centered, larger text ── */
@media (max-width: 768px) {
    .seasonal-codes-wrap { padding: 24px 0; gap: 10px; }

    .seasonal-banner-row {
        padding: 8px 0 0;
        border-radius: 4px;
    }

    .banner-char-left {
        width: 76px;
        height: 70px;
        padding: 0 4px 0 8px;
    }
    .banner-char-left .sc-char { height: 70px; }

    .banner-char-right {
        width: 76px;
        height: 70px;
        padding: 0 8px 0 4px;
    }
    .banner-char-right .sc-char { height: 70px; }

    .banner-content-group {
        padding: 0 76px 8px;
        gap: 6px;
    }

    .banner-name {
        font-size: 12px;
        line-height: 18px;
    }

    .banner-percent,
    .banner-cat-label,
    .banner-sep {
        font-size: 14px;
        line-height: 20px;
    }

    .banner-arrow-btn {
        width: 28px;
        height: 28px;
        padding: 5px;
        margin: 2px 0;
    }
    .banner-arrow-btn img { width: 12px; height: 12px; }

    .banner-countdown { gap: 7px; }
    .countdown-box { width: 58px; height: 36px; }
    .countdown-num { font-size: 15px; line-height: 19px; }
    .countdown-lbl { font-size: 8px; line-height: 11px; }
}

/* ── 480px ── */
@media (max-width: 480px) {
    .seasonal-codes-wrap { padding: 16px 0; gap: 8px; }

    .banner-char-left {
        width: 68px;
        height: 64px;
        padding: 0 4px 0 6px;
    }
    .banner-char-left .sc-char { height: 64px; }

    .banner-char-right {
        width: 68px;
        height: 64px;
        padding: 0 6px 0 4px;
    }
    .banner-char-right .sc-char { height: 64px; }

    .banner-content-group { padding: 0 68px 8px; }

    .banner-name { font-size: 11px; line-height: 17px; }
    .banner-percent, .banner-cat-label, .banner-sep { font-size: 13px; line-height: 19px; }

    .banner-arrow-btn { width: 26px; height: 26px; padding: 5px; }
    .banner-arrow-btn img { width: 11px; height: 11px; }

    .banner-countdown { gap: 6px; }
    .countdown-box { width: 54px; height: 34px; }
    .countdown-num { font-size: 14px; line-height: 18px; }
    .countdown-lbl { font-size: 8px; line-height: 11px; }
}

/* ── 380px ── */
@media (max-width: 380px) {
    .seasonal-codes-wrap { padding: 12px 0; gap: 8px; }

    .banner-char-left {
        width: 62px;
        height: 58px;
        padding: 0 3px 0 6px;
    }
    .banner-char-left .sc-char { height: 58px; }

    .banner-char-right {
        width: 62px;
        height: 58px;
        padding: 0 6px 0 3px;
    }
    .banner-char-right .sc-char { height: 58px; }

    .banner-content-group { padding: 0 62px 6px; }

    .banner-name { font-size: 10px; line-height: 16px; }
    .banner-percent, .banner-cat-label, .banner-sep { font-size: 12px; line-height: 18px; }

    .banner-arrow-btn { width: 24px; height: 24px; padding: 4px; }
    .banner-arrow-btn img { width: 10px; height: 10px; }

    .banner-countdown { gap: 5px; }
    .countdown-box { width: 50px; height: 32px; }
    .countdown-num { font-size: 13px; line-height: 17px; }
    .countdown-lbl { font-size: 7.5px; }
}

/* ── 320px ── */
@media (max-width: 320px) {
    .seasonal-codes-wrap { padding: 10px 0; gap: 6px; }

    .banner-char-left {
        width: 56px;
        height: 54px;
        padding: 0 3px 0 5px;
    }
    .banner-char-left .sc-char { height: 54px; }

    .banner-char-right {
        width: 56px;
        height: 54px;
        padding: 0 5px 0 3px;
    }
    .banner-char-right .sc-char { height: 54px; }

    .banner-content-group { padding: 0 56px 6px; }

    .banner-name { font-size: 9.5px; line-height: 15px; }
    .banner-percent, .banner-cat-label, .banner-sep { font-size: 11px; line-height: 17px; }

    .banner-arrow-btn { width: 22px; height: 22px; padding: 4px; }
    .banner-arrow-btn img { width: 10px; height: 10px; }

    .banner-countdown { gap: 5px; }
    .countdown-box { width: 46px; height: 30px; }
    .countdown-num { font-size: 12px; line-height: 16px; }
    .countdown-lbl { font-size: 7px; }
}
