/* AdsGrambd — Lucky Spin Styles */

.spin-loading { text-align: center; padding: 40px 20px; }
.spin-empty { text-align: center; padding: 40px 20px; color: #94a3b8; }

/* Header */
.spin-header { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.spin-balance, .spin-counter {
    background: linear-gradient(135deg, #1e2a44, #182236);
    border: 1px solid #243049;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}
.spin-balance-label, .spin-counter-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}
.spin-balance-value { font-size: 18px; font-weight: 700; color: #4ade80; }
.spin-counter-value { font-size: 18px; font-weight: 700; color: #60a5fa; }

/* Wheel */
.spin-wheel-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    padding: 20px 0;
}
.spin-pointer {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    color: #f59e0b;
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(245,158,11,.6));
    animation: spinPointerBounce 1.5s infinite;
}
@keyframes spinPointerBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-4px); }
}
.spin-wheel {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: #182236;
    border: 6px solid #3b82f6;
    box-shadow: 0 8px 32px rgba(59,130,246,.4), inset 0 0 40px rgba(0,0,0,.5);
    position: relative;
    transition: transform 5s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}
.spin-svg { width: 100%; height: 100%; display: block; }

@media (max-width: 380px) {
    .spin-wheel { width: 240px; height: 240px; }
}

/* Cooldown */
.spin-cooldown {
    text-align: center;
    padding: 12px;
    background: #f59e0b22;
    border: 1px solid #f59e0b55;
    border-radius: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    color: #fbbf24;
}
.spin-cooldown b { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* Spin Button */
.spin-btn {
    display: block;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    border: 0;
    border-radius: 14px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(239,68,68,.5);
    transition: .2s;
    letter-spacing: .5px;
    margin-bottom: 16px;
}
.spin-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(239,68,68,.7);
}
.spin-btn:disabled {
    background: #475569;
    box-shadow: none;
    cursor: not-allowed;
    color: #94a3b8;
}

/* Stats */
.spin-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}
.spin-stat {
    background: #182236;
    border: 1px solid #243049;
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
}
.spin-stat-val { font-size: 18px; font-weight: 700; color: #60a5fa; }
.spin-stat-lbl { font-size: 10px; color: #94a3b8; margin-top: 2px; text-transform: uppercase; }

/* Winners */
.spin-winners {
    background: #182236;
    border: 1px solid #243049;
    border-radius: 12px;
    padding: 14px;
    margin-top: 14px;
}
.spin-winners h4 {
    margin: 0 0 10px;
    font-size: 13px;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.spin-winner-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #243049;
    font-size: 13px;
}
.spin-winner-item:last-child { border-bottom: 0; }
.spin-medal { font-size: 20px; }
.spin-winner-name { flex: 1; color: #e6edf7; }
.spin-winner-points { font-weight: 700; color: #4ade80; }

/* Claim View */
.spin-claim { text-align: center; padding: 10px 0; }
.spin-claim-icon { font-size: 56px; margin-bottom: 8px; animation: spinBounce 1.2s infinite; }
@keyframes spinBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.spin-claim-title {
    margin: 0 0 12px;
    font-size: 18px;
    color: #fbbf24;
}
.spin-claim-points {
    font-size: 52px;
    font-weight: 800;
    color: #4ade80;
    text-shadow: 0 0 24px rgba(74,222,128,.5);
    margin: 8px 0 2px;
}
.spin-claim-lbl {
    font-size: 13px;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 20px;
}
.spin-claim-steps {
    background: #0f172a;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 16px;
    text-align: left;
}
.spin-claim-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: #cbd5e1;
}
.spin-claim-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #3b82f6;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}
.spin-ad-btn {
    display: block;
    padding: 16px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff !important;
    text-decoration: none;
    text-align: center;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    box-shadow: 0 4px 14px rgba(59,130,246,.5);
    transition: .2s;
}
.spin-ad-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59,130,246,.7);
}
.spin-claim-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(34,197,94,.5);
    transition: .2s;
}
.spin-claim-btn:disabled {
    background: #475569;
    cursor: not-allowed;
    color: #94a3b8;
    box-shadow: none;
}
.spin-claim-info {
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
    padding: 10px;
    margin-top: 12px;
    background: #f59e0b11;
    border-radius: 8px;
}