.promotions-page {
    min-height: 70vh;
    padding: 22px 0 72px;
}

/* =========================================================
   PAGE HERO
========================================================= */

.promotions-page-hero {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    margin-bottom: 18px;
    padding: clamp(28px, 4vw, 52px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 24px;
    background:
        radial-gradient(
            circle at 88% 20%,
            rgba(132, 155, 255, 0.25),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            rgba(7, 19, 77, 0.98),
            rgba(29, 54, 132, 0.96)
        );
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
}

.promotions-hero-content {
    max-width: 830px;
}

.promotions-page-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.promotions-page-hero h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -0.045em;
}

.promotions-page-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.67);
    font-size: 0.92rem;
    line-height: 1.75;
}

.promotions-summary {
    display: flex;
    min-width: 170px;
    min-height: 145px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    text-align: center;
    backdrop-filter: blur(10px);
}

.promotions-summary span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.promotions-summary strong {
    margin: 5px 0;
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
}

.promotions-summary small {
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.68rem;
}

/* =========================================================
   DEMO NOTICE
========================================================= */

.promotion-demo-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px 15px;
    border: 1px solid rgba(154, 174, 255, 0.15);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(87, 111, 220, 0.08);
}

.promotion-demo-notice p {
    margin: 0;
    font-size: 0.69rem;
    line-height: 1.6;
}

.promotion-demo-icon,
.promotion-note-icon {
    display: inline-flex;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin-top: 1px;
    color: #aebcff;
}

.promotion-demo-icon svg,
.promotion-note-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* =========================================================
   PROMOTION ACCORDION
========================================================= */

.promotion-accordion {
    display: grid;
    gap: 14px;
}

.promotion-accordion .accordion-item {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            rgba(13, 28, 90, 0.96),
            rgba(7, 19, 77, 0.98)
        );
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

.promotion-summary-row {
    display: grid;
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 0;
}

.promotion-banner-wrapper {
    position: relative;
    overflow: hidden;
    min-width: 0;
    aspect-ratio: 3.2 / 1;
    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(144, 163, 255, 0.3),
            transparent 29%
        ),
        linear-gradient(
            135deg,
            #07134d,
            #17347f
        );
    isolation: isolate;
}

.promotion-banner-wrapper picture {
    position: absolute;
    z-index: 3;
    inset: 0;
}

.promotion-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promotion-banner-fallback {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: clamp(24px, 4vw, 64px);
    display: flex;
    max-width: 75%;
    flex-direction: column;
    transform: translateY(-50%);
}

.promotion-banner-fallback span {
    margin-bottom: 5px;
    color: #b8c4ff;
    font-size: 0.65rem;
    font-weight: 850;
    letter-spacing: 0.15em;
}

.promotion-banner-fallback strong {
    color: #ffffff;
    font-size: clamp(1.5rem, 3vw, 3.1rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.promotion-banner-fallback small {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    line-height: 1.5;
}

.promotion-action-panel {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
    background:
        linear-gradient(
            145deg,
            rgba(17, 36, 108, 0.82),
            rgba(7, 19, 77, 0.94)
        );
}

.promotion-detail-button,
.promotion-join-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    border-radius: 11px;
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.035em;
    transition:
        transform 150ms ease,
        border-color 150ms ease,
        background-color 150ms ease,
        box-shadow 150ms ease;
}

.promotion-detail-button {
    border: 1px solid rgba(160, 178, 255, 0.35);
    background: rgba(255, 255, 255, 0.075);
}

.promotion-join-button {
    border: 1px solid rgba(143, 165, 255, 0.52);
    background:
        linear-gradient(
            135deg,
            #3657d8,
            #7088f8
        );
    box-shadow: 0 9px 24px rgba(47, 77, 201, 0.24);
}

.promotion-detail-button:hover,
.promotion-detail-button:focus,
.promotion-join-button:hover,
.promotion-join-button:focus {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.65);
    transform: translateY(-1px);
}

.promotion-detail-button:hover,
.promotion-detail-button:focus {
    background: rgba(255, 255, 255, 0.13);
}

.promotion-join-button:hover,
.promotion-join-button:focus {
    box-shadow: 0 12px 28px rgba(54, 87, 216, 0.36);
}

.promotion-button-icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.promotion-button-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.detail-chevron {
    transition: transform 180ms ease;
}

.promotion-detail-button[aria-expanded="true"] .detail-chevron {
    transform: rotate(180deg);
}

/* =========================================================
   ACCORDION DETAIL CONTENT
========================================================= */

.promotion-collapse {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.promotion-detail-body {
    padding: clamp(22px, 3vw, 36px);
    color: rgba(255, 255, 255, 0.68);
    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(101, 129, 244, 0.1),
            transparent 30%
        ),
        rgba(5, 15, 61, 0.58);
}

.promotion-detail-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.promotion-detail-heading h2 {
    margin: 0 0 7px;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 850;
}

.promotion-detail-heading p {
    max-width: 900px;
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.84rem;
    line-height: 1.75;
}

.promotion-status-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border: 1px solid rgba(145, 166, 255, 0.25);
    border-radius: 999px;
    color: #bdc9ff;
    background: rgba(89, 116, 235, 0.1);
    font-size: 0.6rem;
    font-weight: 850;
}

.promotion-status-badge::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #91a8ff;
    box-shadow: 0 0 8px rgba(145, 168, 255, 0.8);
    content: "";
}

.promotion-terms-area {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.promotion-terms-area h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 850;
}

.promotion-terms-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.promotion-terms-list li {
    position: relative;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.76rem;
    line-height: 1.65;
}

.promotion-terms-list li::before {
    position: absolute;
    top: 0.57em;
    left: 2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8fa5ff;
    content: "";
}

/* =========================================================
   LOADING AND EMPTY STATES
========================================================= */

.promotion-loading-state,
.promotion-empty-state {
    display: flex;
    min-height: 190px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.52);
    background: rgba(7, 19, 77, 0.65);
    font-size: 0.8rem;
    text-align: center;
}

.promotion-loading-spinner {
    width: 29px;
    height: 29px;
    border: 3px solid rgba(255, 255, 255, 0.14);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: promotion-spinner 700ms linear infinite;
}

@keyframes promotion-spinner {
    to {
        transform: rotate(360deg);
    }
}

.promotion-empty-state {
    padding: 28px;
}

.promotion-empty-state strong {
    color: #ffffff;
    font-size: 0.95rem;
}

.promotion-empty-state p {
    margin: 0;
    font-size: 0.76rem;
}

.promotion-empty-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    color: #aebcff;
}

.promotion-empty-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* =========================================================
   BOTTOM NOTE
========================================================= */

.promotion-information-note {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 13px;
    color: rgba(255, 255, 255, 0.48);
    background: rgba(7, 19, 77, 0.52);
}

.promotion-information-note p {
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.65;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {
    .promotion-summary-row {
        grid-template-columns: minmax(0, 1fr) 185px;
    }

    .promotion-action-panel {
        padding: 16px;
    }
}

@media (max-width: 767.98px) {
    .promotions-page {
        padding-top: 10px;
    }

    .promotions-page-hero {
        display: block;
        padding: 27px 22px;
        border-radius: 18px;
    }

    .promotions-page-hero h1 {
        font-size: 2rem;
    }

    .promotions-page-hero p {
        font-size: 0.82rem;
    }

    .promotions-summary {
        min-width: 0;
        min-height: 0;
        align-items: center;
        justify-content: flex-start;
        margin-top: 22px;
        padding: 14px 16px;
        flex-direction: row;
        gap: 9px;
        text-align: left;
    }

    .promotions-summary strong {
        margin: 0;
        font-size: 1.5rem;
    }

    .promotion-summary-row {
        display: block;
    }

    .promotion-banner-wrapper {
        aspect-ratio: 2 / 1;
    }

    .promotion-action-panel {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        padding: 13px;
        border-top: 1px solid rgba(255, 255, 255, 0.09);
        border-left: 0;
    }
}

@media (max-width: 575.98px) {
    .promotion-accordion {
        gap: 11px;
    }

    .promotion-accordion .accordion-item {
        border-radius: 16px;
    }

    .promotion-banner-wrapper {
        aspect-ratio: 16 / 9;
        min-height: 185px;
    }

    .promotion-banner-fallback {
        left: 21px;
        max-width: 82%;
    }

    .promotion-banner-fallback strong {
        font-size: 1.65rem;
    }

    .promotion-action-panel {
        grid-template-columns: 1fr;
    }

    .promotion-detail-button,
    .promotion-join-button {
        min-height: 43px;
    }

    .promotion-detail-heading {
        flex-direction: column;
        gap: 11px;
    }

    .promotion-status-badge {
        align-self: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .promotion-loading-spinner {
        animation: none;
    }
}