/* ================================================================
   promotion.css  —  프로모션 랜딩 페이지 스타일
   ================================================================ */

.promo-landing {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 0;
    background: #ffffff;
}

.promo-landing__section {
    display: flex;
    width: 100%;
    line-height: 0;
}

.promo-landing__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ── 실시간 당첨 현황 섹션 ─────────────────────────────────────────── */
.promo-wins-section {
    line-height: normal;
    background: #d4e9a4;
}

.promo-wins {
    width: 100%;
    padding: 48px 32px 52px;
    box-sizing: border-box;
}

.promo-wins__head {
    text-align: center;
    margin-bottom: 28px;
}

.promo-wins__title {
    font-size: 38px;
    font-weight: 800;
    color: var(--ssadang-black);
    margin: 0 0 8px;
    line-height: 1.2;
}

.promo-wins__subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #177000;
    margin: 0;
}

.promo-wins__track-wrap {
    height: 292px;
    overflow: hidden;
}

.promo-wins__track {
    list-style: none;
    padding: 0;
    margin: 0;
}

@keyframes promo-wins-scroll {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.promo-wins__track.is-rolling {
    animation: promo-wins-scroll linear infinite;
}

.promo-wins__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 20px;
    padding: 0 12px 0 24px;
    height: 64px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

.promo-wins__msg {
    font-size: 16px;
    font-weight: 600;
    color: #177000;
}

.promo-wins__badge {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--ssadang-point-color-green-five);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.promo-wins__badge[data-tier="1"] { background: var(--ssadang-point-color-green-one);   color: #3a4a00; }
.promo-wins__badge[data-tier="2"] { background: var(--ssadang-point-color-green-two);   color: #3a4a00; }
.promo-wins__badge[data-tier="3"] { background: var(--ssadang-point-color-green-three); color: #3a4a00; }
.promo-wins__badge[data-tier="4"] { background: var(--ssadang-point-color-green-four);  color: #fff; }
.promo-wins__badge[data-tier="5"] { background: var(--ssadang-point-color-green-five);  color: #fff; }

@media (max-width: 768px) {
    .promo-wins { padding: 36px 20px 40px; }
    .promo-wins__title { font-size: 22px; }
    .promo-wins__msg { font-size: 14px; }
    .promo-wins__badge { width: 48px; height: 48px; font-size: 12px; }
    .bottom-nav {
        display: none;
    }
}

/* ── 하단 고정 로그인 버튼 ──────────────────────────────────────────── */
.promo-sticky-login {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 12px 16px max(8px, env(safe-area-inset-bottom));
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.promo-sticky-login__btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FEE500;
    color: #3C201F;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    transition: transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
    max-width: 400px;
    width: 100%;
    justify-content: center;
}

.promo-sticky-login__btn:hover,
.promo-sticky-login__btn:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.32);
    color: #3C201F;
    text-decoration: none;
}
