/* Homepage raffle section */
.store-raffle-section {
    padding: clamp(24px, 4vw, 40px) 0;
    background: transparent;
}

.store-raffle-section-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2.5vw, 22px);
    border-radius: var(--radius-xl, 22px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(ellipse 70% 60% at 0% 0%, rgba(176, 130, 71, 0.2), transparent 55%),
        radial-gradient(ellipse 60% 50% at 100% 100%, rgba(255, 255, 255, 0.06), transparent 50%),
        linear-gradient(165deg, #141414 0%, #080808 100%);
    padding: clamp(20px, 3vw, 28px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    color: #fff;
}

.store-raffle-section-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.03) 50%, transparent 60%);
    pointer-events: none;
}

.store-raffle-section-head {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.store-raffle-section-head .section-label-strip--inline {
    margin-bottom: 0;
}

.store-raffle-section-head__copy {
    max-width: 52ch;
}

.store-raffle-section-title {
    margin: 0 0 6px;
    color: #fff;
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    line-height: 1.15;
    font-weight: 700;
}

.store-raffle-section-lead {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.5;
    font-size: 0.92rem;
}

.store-raffle-section-highlights {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 16px);
}

.store-raffle-section-highlight {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: clamp(96px, 14vw, 118px);
    padding: clamp(16px, 2.5vw, 20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.store-raffle-section-highlight--prize {
    background:
        linear-gradient(145deg, rgba(176, 130, 71, 0.24) 0%, rgba(176, 130, 71, 0.06) 100%);
    border-color: rgba(176, 130, 71, 0.42);
}

.store-raffle-section-highlight--timer {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-color: rgba(255, 255, 255, 0.14);
}

.store-raffle-section-highlight__icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
    font-size: 1.35rem;
    line-height: 1;
}

.store-raffle-section-highlight--prize .store-raffle-section-highlight__icon {
    background: rgba(176, 130, 71, 0.22);
}

.store-raffle-section-highlight__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.store-raffle-section-highlight__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
}

.store-raffle-section-highlight--prize .store-raffle-section-highlight__label {
    color: var(--caramel-light, #e8c9a0);
}

.store-raffle-section-highlight__value {
    margin: 0;
    color: #fff;
    font-size: clamp(1.2rem, 2.6vw, 1.55rem);
    line-height: 1.2;
    font-weight: 700;
}

.store-raffle-section-highlight--prize .store-raffle-section-highlight__value {
    color: var(--caramel-light, #f0d4a8);
}

.store-raffle-section-highlight--timer .store-raffle-section-highlight__value,
.store-raffle-section-highlight--timer .store-raffle-countdown {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
}

.store-raffle-section-highlight--ended .store-raffle-section-highlight__value,
.store-raffle-countdown--ended {
    font-family: inherit;
    font-size: clamp(1.1rem, 2.4vw, 1.4rem);
    letter-spacing: normal;
    color: rgba(255, 255, 255, 0.92);
}

.store-raffle-section-highlight--ended {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
}

.store-raffle-section-bar {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 20px;
    padding-top: clamp(14px, 2vw, 18px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.store-raffle-section-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 0;
}

.store-raffle-section-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.store-raffle-section-stat:first-child {
    padding-left: 0;
}

.store-raffle-section-stat:last-child {
    border-right: none;
}

.store-raffle-section-stat__label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
}

.store-raffle-section-stat__value {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.store-raffle-section-stat--you .store-raffle-section-stat__value {
    color: var(--caramel-light, #e8c9a0);
    font-size: 1.1rem;
}

.store-raffle-section-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.store-raffle-section-cta .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.store-raffle-section-btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.store-raffle-section-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.store-raffle-section-badge {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.store-raffle-section-badge--winner {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.35);
    color: #86efac;
}

.store-raffle-section-more {
    color: var(--caramel-light, #e8c9a0);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.store-raffle-section-more:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 720px) {
    .store-raffle-section-highlights {
        grid-template-columns: 1fr;
    }

    .store-raffle-section-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .store-raffle-section-stats {
        justify-content: space-between;
        width: 100%;
    }

    .store-raffle-section-stat {
        flex: 1 1 auto;
        padding: 0 10px;
        border-right: none;
        min-width: calc(50% - 8px);
    }

    .store-raffle-section-stat:first-child {
        padding-left: 0;
    }

    .store-raffle-section-cta {
        margin-left: 0;
        width: 100%;
    }

    .store-raffle-section-cta .btn {
        flex: 1 1 auto;
        text-align: center;
    }
}

.store-raffle-page .store-raffle-layout {
    display: grid;
    gap: 20px;
    max-width: 820px;
    margin: 0 auto;
}
.store-raffle-hero,
.store-raffle-details,
.store-raffle-winners,
.store-raffle-empty {
    padding: clamp(20px, 4vw, 32px);
    border-radius: 18px;
    background: var(--bg-elevated, #fff);
    border: 1px solid var(--border-subdued, rgba(0, 0, 0, 0.08));
}
.store-raffle-eyebrow {
    margin: 0 0 8px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    font-weight: 700;
}
.store-raffle-title {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
}
.store-raffle-lead {
    margin: 0 0 18px;
    color: var(--text-secondary);
    line-height: 1.55;
}
.store-raffle-prize {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, #faf7f2 0%, #f3ece1 100%);
    margin-bottom: 18px;
}
.store-raffle-prize__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
}
.store-raffle-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}
.store-raffle-meta__item {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border-subdued, rgba(0, 0, 0, 0.08));
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.store-raffle-meta__item span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.store-raffle-meta__item strong {
    font-size: 1.1rem;
}
.store-raffle-meta__item small {
    font-size: 0.75rem;
    color: var(--text-secondary);
}
.store-raffle-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 18px;
}
.store-raffle-stats span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}
.store-raffle-stats small {
    color: var(--text-secondary);
    font-size: 0.8rem;
}
.store-raffle-cta {
    padding-top: 8px;
    border-top: 1px solid var(--border-subdued, rgba(0, 0, 0, 0.08));
}
.store-raffle-cta p {
    margin: 0 0 12px;
    line-height: 1.55;
}
.store-raffle-cta__hint {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.store-raffle-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.store-raffle-cta--winner {
    color: #065f46;
}
.store-raffle-details h2,
.store-raffle-winners h2 {
    margin: 0 0 12px;
    font-size: 1.1rem;
}
.store-raffle-details__body {
    line-height: 1.6;
    margin-bottom: 14px;
}
.store-raffle-rules {
    margin: 0;
    padding-left: 1.2em;
    color: var(--text-secondary);
    line-height: 1.55;
}
.store-raffle-winners__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.store-raffle-winners__list li {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--bg-secondary, #f6f6f7);
}
.store-raffle-winners__rank {
    font-weight: 700;
    color: var(--text-secondary);
}
.store-raffle-winners__prize {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.store-raffle-empty {
    text-align: center;
}
