/* ═══════════════════════════════════
   STEMLAB REWARDS PAGE
   ═══════════════════════════════════ */

.slr-wrap {
    max-width: 480px;
    margin: 0 auto;
    padding: 48px 20px 80px;
    font-family: var(--font-sans, 'Satoshi', 'Inter', system-ui, sans-serif);
}

/* Header */
.slr-header {
    text-align: center;
    margin-bottom: 36px;
}
.slr-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
    margin: 0 0 8px;
}
.slr-subtitle {
    color: rgba(255, 255, 255, 0.45);
    font-size: 15px;
    margin: 0;
}

.slr-user-name {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    margin: 8px 0 0;
}

/* Balance Card */
.slr-balance-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 24px;
}
.slr-balance-icon {
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3));
}
.slr-balance-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}
.slr-balance-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
}
.slr-balance-count {
    font-size: 28px;
    font-weight: 800;
    color: #FFD700;
    letter-spacing: -0.02em;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.25);
}
.slr-streak {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 165, 0, 0.08);
    border: 1px solid rgba(255, 165, 0, 0.15);
    border-radius: 20px;
    padding: 6px 12px;
    flex-shrink: 0;
}
.slr-streak-fire {
    font-size: 14px;
}
.slr-streak-count {
    font-size: 12px;
    font-weight: 600;
    color: #FFA500;
}

/* Daily Claim Card */
.slr-daily-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1.5px solid rgba(255, 215, 0, 0.15);
    background: linear-gradient(145deg, rgba(28, 26, 46, 0.9) 0%, rgba(36, 32, 56, 0.9) 100%);
    box-shadow:
        0 0 40px rgba(255, 215, 0, 0.06),
        0 8px 32px rgba(0, 0, 0, 0.3);
}
.slr-daily-inner {
    position: relative;
    z-index: 1;
    padding: 32px 24px;
    text-align: center;
}
.slr-daily-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 100px;
    padding: 5px 14px;
    margin-bottom: 20px;
}
.slr-daily-ticket {
    margin: 0 auto 16px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.06);
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: 50%;
    filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.2));
}
.slr-daily-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}
.slr-daily-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 24px;
}
.slr-daily-claimed {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #22C55E;
}

/* Shine sweep on the card */
.slr-daily-shine {
    position: absolute;
    top: -80%;
    left: -80%;
    width: 50%;
    height: 260%;
    background: linear-gradient(
        110deg,
        transparent 0%,
        transparent 35%,
        rgba(255, 215, 0, 0.06) 42%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 215, 0, 0.06) 58%,
        transparent 65%,
        transparent 100%
    );
    animation: slr-shine 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
.slr-daily-card--claimed .slr-daily-shine {
    animation: none;
    display: none;
}
.slr-daily-card--claimed {
    border-color: rgba(255, 255, 255, 0.06);
    opacity: 0.7;
}
@keyframes slr-shine {
    0% { left: -80%; }
    100% { left: 180%; }
}

/* Buttons */
.slr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 12px;
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: var(--font-sans, 'Satoshi', 'Inter', system-ui, sans-serif);
    text-decoration: none;
    color: #fff;
    min-height: 48px;
    -webkit-appearance: none;
}
.slr-btn--primary {
    background: #FF2E86;
    box-shadow: 0 0 20px rgba(255, 46, 134, 0.25);
}
.slr-btn--primary:hover {
    background: #E6287A;
    box-shadow: 0 0 28px rgba(255, 46, 134, 0.35);
    transform: translateY(-1px);
}
.slr-btn--primary:active {
    transform: scale(0.97);
}
.slr-btn--primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}
.slr-btn--glow {
    box-shadow: 0 0 24px rgba(255, 46, 134, 0.3), 0 0 60px rgba(255, 46, 134, 0.1);
}

/* Stats */
.slr-stats {
    display: flex;
    gap: 12px;
}
.slr-stat {
    flex: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 18px 12px;
}
.slr-stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}
.slr-stat-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 4px;
}

/* Login Prompt */
.slr-login-prompt {
    text-align: center;
    padding: 80px 20px;
}
.slr-login-prompt h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}
.slr-login-prompt p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 24px;
}

/* Confetti canvas */
#slr-confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99999;
}

/* Golden ticket toast (reuses splitter styles) */
.slr-golden-ticket {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%) translateX(160px);
    z-index: 99998;
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.35s ease;
}
.slr-gt-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(145deg, rgba(28, 26, 46, 0.95) 0%, rgba(42, 38, 64, 0.95) 100%);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 215, 0, 0.25);
    border-radius: 14px;
    padding: 14px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1), 0 8px 24px rgba(0, 0, 0, 0.4);
}
.slr-gt-inner::before {
    content: '';
    position: absolute;
    top: -80%;
    left: -80%;
    width: 50%;
    height: 260%;
    background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.15) 50%, transparent 65%);
    animation: slr-shine 2.5s ease-in-out 0.4s infinite;
    pointer-events: none;
}
.slr-golden-ticket.slr-gt-show {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
}
.slr-golden-ticket.slr-gt-hide {
    transform: translateY(-50%) translateX(160px);
    opacity: 0;
    transition: transform 0.4s ease-in, opacity 0.3s ease;
}
.slr-gt-text {
    font-size: 22px;
    font-weight: 800;
    color: #FFD700;
    font-family: var(--font-sans, 'Satoshi', system-ui, sans-serif);
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}
.slr-gt-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 215, 0, 0.7);
}

@media (max-width: 640px) {
    .slr-golden-ticket {
        right: 16px;
        top: auto;
        bottom: 90px;
        transform: translateY(0) translateX(160px);
    }
    .slr-golden-ticket.slr-gt-show { transform: translateY(0) translateX(0); }
    .slr-golden-ticket.slr-gt-hide { transform: translateY(0) translateX(160px); }
}

/* Claimed button state */
.slr-btn--claimed {
    background: rgba(255, 255, 255, 0.04) !important;
    color: rgba(255, 255, 255, 0.35) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
}
.slr-btn--claimed:hover {
    transform: none !important;
    box-shadow: none !important;
}
/* ═══ Monthly Capacity Card (v1.3) ═══ */.slr-capacity-card {    background: rgba(255, 255, 255, 0.03);    border: 1px solid rgba(255, 255, 255, 0.06);    border-radius: 14px;    padding: 18px 20px;    margin-bottom: 24px;}.slr-capacity-header {    display: flex;    align-items: center;    justify-content: space-between;    margin-bottom: 10px;}.slr-capacity-label {    font-size: 12px;    font-weight: 600;    text-transform: uppercase;    letter-spacing: 0.08em;    color: rgba(255, 255, 255, 0.4);}.slr-capacity-count {    font-size: 14px;    font-weight: 700;    color: #FFD700;    letter-spacing: -0.01em;}.slr-capacity-bar {    width: 100%;    height: 6px;    background: rgba(255, 255, 255, 0.06);    border-radius: 3px;    overflow: hidden;}.slr-capacity-fill {    height: 100%;    background: linear-gradient(90deg, #FFD700, #FFA500);    border-radius: 3px;    transition: width 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);    box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);}@keyframes slr-capacity-pulse {    0%   { box-shadow: 0 0 8px  rgba(255, 215, 0, 0.30); }    40%  { box-shadow: 0 0 22px rgba(255, 215, 0, 0.85); }    100% { box-shadow: 0 0 8px  rgba(255, 215, 0, 0.30); }}.slr-capacity-fill--pulse {    animation: slr-capacity-pulse 900ms ease-out 1;}.slr-capacity-count .slr-cap-num {    display: inline-block;    color: #FFD700;    font-variant-numeric: tabular-nums;    min-width: 1.1em;    text-align: right;}.slr-capacity-max-msg {    font-size: 12px;    color: #FFA500;    margin: 10px 0 0;    text-align: center;    font-weight: 500;}/* Maxed button state (v1.3) */.slr-btn--maxed {    background: rgba(255, 165, 0, 0.08) !important;    color: #FFA500 !important;    box-shadow: none !important;    cursor: not-allowed !important;    border: 1px solid rgba(255, 165, 0, 0.15);    font-size: 13px;}.slr-btn--maxed:hover {    transform: none !important;    box-shadow: none !important;}/* Maxed daily card state (v1.3) */.slr-daily-card--maxed {    border-color: rgba(255, 165, 0, 0.12);}.slr-daily-card--maxed .slr-daily-shine {    animation: none;    display: none;}