/* RWD Home Hero - Pulse Garage style hero for the Full Motion site */

.rwdh {
    --rwdh-black: #050505;
    --rwdh-lime: #90d214;
    --rwdh-lime-2: #7baf1a;
    --rwdh-lime-hover: #a6e82a;
    --rwdh-on-lime: #0b1203;
    --rwdh-text: #f5f5ef;
    --rwdh-radius: 8px;
    --rwdh-display: Oswald, "Barlow Condensed", "Arial Narrow", sans-serif;
    --rwdh-body: Poppins, Inter, system-ui, sans-serif;
    --rwdh-container: min(1180px, calc(100% - 40px));
    position: relative;
    color: var(--rwdh-text);
    font-family: var(--rwdh-body);
    line-height: 1.45;
}

.rwdh--full {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.rwdh *,
.rwdh *::before,
.rwdh *::after {
    box-sizing: border-box;
}

.rwdh-container {
    width: var(--rwdh-container);
    margin-inline: auto;
}

.rwdh-svg {
    flex: 0 0 auto;
    width: 1.25em;
    height: 1.25em;
}

/* Hero: slides stack in one grid cell and cross-fade; the tallest sets the height. */
.rwdh-hero {
    position: relative;
    display: grid;
    overflow: hidden;
    isolation: isolate;
    background: var(--rwdh-black);
    touch-action: pan-y;
}

.rwdh-slide {
    position: relative;
    display: flex;
    grid-area: 1 / 1;
    align-items: center;
    min-height: clamp(440px, 42vw, 540px);
    opacity: 0;
    visibility: hidden;
    isolation: isolate;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.rwdh-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.rwdh-slide.is-active .rwdh-hero__media img {
    animation: rwdh-kenburns 9s ease-out both;
}

.rwdh-slide.is-active .rwdh-hero__copy > * {
    animation: rwdh-rise 0.6s ease both;
}

.rwdh-slide.is-active .rwdh-hero__copy > :nth-child(2) { animation-delay: 0.08s; }
.rwdh-slide.is-active .rwdh-hero__copy > :nth-child(3) { animation-delay: 0.16s; }
.rwdh-slide.is-active .rwdh-hero__copy > :nth-child(4) { animation-delay: 0.24s; }
.rwdh-slide.is-active .rwdh-hero__copy > :nth-child(n+5) { animation-delay: 0.32s; }

@keyframes rwdh-kenburns {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

@keyframes rwdh-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.rwdh-hero[data-rwdh-slider] .rwdh-hero__inner {
    padding-bottom: 130px;
}

.rwdh-hero__media {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.rwdh-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 70% center;
}

.rwdh-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.8) 35%, rgba(5, 5, 5, 0.1) 70%),
        linear-gradient(0deg, var(--rwdh-black) 0, transparent 30%);
}

.rwdh-hero__inner {
    padding-block: 56px 80px;
}

@media (max-width: 920px) {
    .rwdh-hero__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .rwdh a.rwdh-hero__art {
        order: -1;
        justify-self: center;
    }
}

.rwdh-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.rwdh-hero__copy {
    max-width: 560px;
}

/* Sharp copy of the featured image beside the content (the blurred backdrop stays behind). */
.rwdh a.rwdh-hero__art {
    display: flex;
    justify-self: end;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    max-height: 470px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(5, 5, 5, 0.55);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}

.rwdh-hero__art img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 470px;
    object-fit: contain;
}

.rwdh-hero__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.rwdh-eyebrow {
    margin: 0;
    color: var(--rwdh-lime);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.rwdh-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 15px;
    background: var(--rwdh-lime);
    color: var(--rwdh-on-lime);
    font: 800 9px/1.2 var(--rwdh-body);
    text-transform: uppercase;
}

.rwdh-hot {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border: 1px solid rgba(255, 107, 61, 0.55);
    border-radius: 15px;
    background: rgba(255, 90, 40, 0.14);
    color: #ffb199;
    font: 800 9px/1.2 var(--rwdh-body);
    text-transform: uppercase;
}

.rwdh-hot .rwdh-svg {
    width: 11px;
    height: 11px;
}

.rwdh .rwdh-hero__title {
    display: block;
    margin: 6px 0 4px;
    padding: 0;
    color: var(--rwdh-text);
    font: 900 clamp(43px, 5.1vw, 73px)/0.9 var(--rwdh-display);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.rwdh .rwdh-hero__title span {
    display: -webkit-box;
    overflow: hidden;
    color: var(--rwdh-lime);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.rwdh .rwdh-hero__spec {
    margin: 14px 0;
    color: #d7dbd9;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Countdown */
.rwdh-countdown {
    display: flex;
    gap: 8px;
    margin: 8px 0 14px;
}

.rwdh-countdown__cell {
    display: block;
    min-width: 62px;
    padding: 9px 7px 7px;
    border: 1px solid #343c40;
    border-radius: 6px;
    background: rgba(23, 28, 31, 0.88);
    text-align: center;
}

.rwdh-countdown__cell strong {
    display: block;
    color: var(--rwdh-text);
    font: 700 25px/0.9 var(--rwdh-display);
    font-variant-numeric: tabular-nums;
}

.rwdh-countdown__cell small {
    color: #b7c0bf;
    font-size: 8px;
    text-transform: uppercase;
}

.rwdh-countdown.is-ended {
    opacity: 0.5;
}

/* Price */
.rwdh .rwdh-price {
    margin: 4px 0 12px;
    color: var(--rwdh-lime);
    font: 800 35px var(--rwdh-display);
    white-space: nowrap;
}

.rwdh .rwdh-price .amount,
.rwdh .rwdh-price bdi {
    color: inherit;
}

.rwdh .rwdh-price del {
    font-size: 0.6em;
    opacity: 0.6;
}

.rwdh .rwdh-price ins {
    text-decoration: none;
}

.rwdh .rwdh-price small {
    color: #dfe3df;
    font: 400 13px var(--rwdh-body);
}

/* CTA */
.rwdh-hero__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}

.rwdh a.rwdh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border: 1px solid var(--rwdh-lime);
    border-radius: 6px;
    background: var(--rwdh-lime);
    color: var(--rwdh-on-lime);
    font: 800 13px/1 var(--rwdh-body);
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.rwdh a.rwdh-btn:hover {
    border-color: var(--rwdh-lime-hover);
    background: var(--rwdh-lime-hover);
    color: var(--rwdh-on-lime);
    transform: translateY(-1px);
}

.rwdh-btn .rwdh-svg {
    width: 18px;
    height: 18px;
    margin-left: 4px;
}

.rwdh-hero__left {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #d7dbd9;
    font-size: 11px;
}

.rwdh-hero__left .rwdh-svg {
    width: 16px;
    height: 16px;
    color: var(--rwdh-lime);
}

/* Slider navigation: prize thumbnails with an autoplay progress line. */
.rwdh-nav {
    position: absolute;
    right: 0;
    bottom: 60px;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    pointer-events: none;
}

.rwdh-nav > * {
    pointer-events: auto;
}

.rwdh-nav__thumbs {
    display: flex;
    gap: 8px;
}

.rwdh .rwdh-nav__thumb,
.rwdh .rwdh-nav__arrow {
    min-height: 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(9, 11, 12, 0.72);
    box-shadow: none;
    color: var(--rwdh-text);
    text-transform: none;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.rwdh .rwdh-nav__thumb {
    position: relative;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    width: 180px;
    padding: 6px 10px 6px 6px;
    overflow: hidden;
    border-radius: 8px;
    font: 600 11px/1.25 var(--rwdh-body);
    text-align: left;
    transition: border-color 0.2s ease;
}

.rwdh-nav__thumb img {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    object-fit: cover;
}

.rwdh-nav__thumb span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rwdh-nav__thumb i {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rwdh-lime);
}

.rwdh .rwdh-nav__thumb.is-active {
    border-color: var(--rwdh-lime);
}

.rwdh-nav__thumb.is-active i {
    width: 100%;
}

.rwdh-hero.is-running .rwdh-nav__thumb.is-active i {
    animation: rwdh-slide-progress var(--rwdh-slide-ms, 6s) linear both;
}

@keyframes rwdh-slide-progress {
    from { width: 0; }
    to { width: 100%; }
}

.rwdh .rwdh-nav__arrow {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
}

.rwdh .rwdh-nav__thumb:hover,
.rwdh .rwdh-nav__arrow:hover {
    border-color: var(--rwdh-lime);
    background: rgba(9, 11, 12, 0.72);
    color: var(--rwdh-lime);
}

.rwdh-nav__arrow .rwdh-svg {
    width: 18px;
    height: 18px;
}

/* Progress + trust bar */
.rwdh-stats {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) auto;
    gap: 20px;
    align-items: center;
    margin-top: -40px;
    padding: 13px 20px;
    border: 1px solid #2e3738;
    border-radius: var(--rwdh-radius);
    background: linear-gradient(100deg, #13191c, #0b0d0e);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
}

.rwdh-stats:not(:has(.rwdh-stats__progress)) {
    grid-template-columns: 1fr;
}

.rwdh-stats__progress[hidden] {
    display: none;
}

.rwdh-stats__progress {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.rwdh-stats__progress > .rwdh-svg {
    width: 34px;
    height: 34px;
    color: var(--rwdh-lime);
    transform: rotate(-8deg);
}

.rwdh .rwdh-progress__meta {
    margin: 0;
    color: var(--rwdh-text);
    font-size: 14px;
}

.rwdh-progress__meta strong {
    font-weight: 700;
}

.rwdh-progress__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    margin: 8px 0 0;
}

.rwdh-progress__percent {
    color: #c6cfcb;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.rwdh-progress__track {
    height: 10px;
    overflow: hidden;
    border-radius: 9px;
    background: #3a4245;
}

.rwdh-progress__bar {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--rwdh-lime), var(--rwdh-lime-2));
}

.rwdh .rwdh-stats__trust {
    display: flex;
    justify-content: space-around;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rwdh-stats__trust li {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #d7dcda;
    font-size: 10px;
    line-height: 1.25;
}

.rwdh-stats__trust .rwdh-svg {
    width: 30px;
    height: 30px;
    color: var(--rwdh-lime);
}

/* Tablet */
@media (max-width: 920px) {
    .rwdh {
        --rwdh-container: calc(100% - 32px);
    }

    .rwdh .rwdh-nav__thumb {
        width: 140px;
    }

    .rwdh-stats {
        grid-template-columns: 1fr;
        margin-top: -32px;
    }

    .rwdh .rwdh-stats__trust {
        justify-content: space-between;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .rwdh {
        --rwdh-container: calc(100% - 24px);
    }

    .rwdh-slide {
        align-items: flex-end;
        min-height: 560px;
    }

    .rwdh-hero__media img {
        object-position: 60% top;
    }

    .rwdh-hero__media::after {
        background: linear-gradient(180deg, rgba(5, 5, 5, 0.2) 0%, rgba(5, 5, 5, 0.85) 45%, var(--rwdh-black) 100%);
    }

    .rwdh-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding-block: 40px 64px;
    }

    .rwdh-hero[data-rwdh-slider] .rwdh-hero__inner {
        padding-bottom: 96px;
    }

    .rwdh a.rwdh-hero__art {
        order: -1;
        justify-self: center;
        max-height: 260px;
    }

    .rwdh-hero__art img {
        max-height: 260px;
    }

    .rwdh .rwdh-hero__title {
        font-size: 45px;
    }

    .rwdh-countdown__cell {
        flex: 1;
        min-width: 0;
    }

    .rwdh-nav {
        bottom: 52px;
        justify-content: center;
    }

    .rwdh .rwdh-nav__arrow {
        display: none;
    }

    .rwdh .rwdh-nav__thumb {
        display: block;
        width: 10px;
        height: 10px;
        padding: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.35);
    }

    .rwdh .rwdh-nav__thumb.is-active {
        width: 26px;
        border-radius: 6px;
        background: var(--rwdh-lime);
    }

    .rwdh-nav__thumb img,
    .rwdh-nav__thumb span,
    .rwdh-nav__thumb i {
        display: none;
    }

    .rwdh-stats {
        padding: 16px;
    }

    .rwdh .rwdh-stats__trust {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .rwdh-stats__trust li {
        flex-direction: column;
        font-size: 9px;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rwdh-slide,
    .rwdh-slide.is-active .rwdh-hero__media img,
    .rwdh-slide.is-active .rwdh-hero__copy > * {
        animation: none;
        transition: none;
    }
}

/* Live wins / latest winners band */
.rwdh-live {
    display: grid;
    grid-template-columns: minmax(200px, auto) minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin: 18px auto;
    padding: 14px 18px;
    border: 1px solid var(--rwdh-lime);
    border-radius: 9px;
    background: linear-gradient(90deg, #0b0d0e, #151b1b);
    box-shadow: 0 0 36px rgba(144, 210, 20, 0.08);
}

.rwdh-live__intro {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rwdh-live__pulse {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--rwdh-lime);
    box-shadow: 0 0 10px rgba(144, 210, 20, 0.6);
    animation: rwdh-pulse 3s ease-in-out infinite;
}

@keyframes rwdh-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(144, 210, 20, 0.6); }
    50% { opacity: 0.55; box-shadow: 0 0 4px rgba(144, 210, 20, 0.25); }
}

.rwdh .rwdh-live__title {
    margin: 0;
    padding: 0;
    color: var(--rwdh-text);
    font: 800 29px/1 var(--rwdh-display);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.rwdh .rwdh-live__sub {
    margin: 3px 0 0;
    color: #bbc3c1;
    font-size: 11px;
}

.rwdh-live__viewport {
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}

.rwdh-live__track {
    display: flex;
    gap: 12px;
    width: max-content;
}

.rwdh-live__viewport.is-scrolling .rwdh-live__track {
    animation: rwdh-marquee var(--rwdh-marquee-ms, 40s) linear infinite;
}

.rwdh-live__viewport.is-scrolling:hover .rwdh-live__track {
    animation-play-state: paused;
}

@keyframes rwdh-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 6px)); }
}

.rwdh a.rwdh-live__card,
.rwdh-live__card {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    width: 230px;
    padding: 10px 12px;
    border: 1px solid #2c3438;
    border-radius: var(--rwdh-radius);
    background: rgba(255, 255, 255, 0.03);
    color: var(--rwdh-text);
    text-decoration: none;
}

.rwdh-live__media {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border-radius: 6px;
    background: #14181a;
    color: var(--rwdh-lime);
}

.rwdh-live__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rwdh-live__body {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.rwdh-live__name {
    overflow: hidden;
    color: var(--rwdh-lime);
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rwdh-live__prize {
    overflow: hidden;
    color: var(--rwdh-text);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rwdh-live__tag {
    color: #bbc3c1;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rwdh-live__meta {
    color: #8b9597;
    font-size: 10px;
}

.rwdh a.rwdh-live__all {
    color: var(--rwdh-lime);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.rwdh a.rwdh-live__all:hover {
    color: var(--rwdh-lime-hover);
}

@media (max-width: 920px) {
    .rwdh-live {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .rwdh-live__all {
        justify-self: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rwdh-live__viewport.is-scrolling .rwdh-live__track {
        animation: none;
    }

    .rwdh-live__viewport {
        overflow-x: auto;
    }
}