/* spin-luck-bar.css - Стили для новых элементов */

/* Прогресс-бар удачи */
.luck-progress-container {
    width: 90%;
    max-width: 400px;
    margin: 15px auto;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}
.luck-info-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    margin-top: 4px;
    line-height: 1.5;
    font-style: italic;
}
.luck-progress-container.luck-full {
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    animation: glow 1s infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.6); }
}

.luck-progress-label {
    color: #ffd700;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    text-align: center;
}

.luck-progress-bar {
    width: 100%;
    height: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.luck-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4a90d9, #6ab0f3);
    border-radius: 10px;
    transition: width 0.5s ease, background 0.5s ease;
}

.luck-progress-text {
    color: #ffd700;
    font-size: 12px;
    text-align: center;
    margin-top: 5px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Реферальный блок */
.referral-block {
    width: 90%;
    max-width: 400px;
    margin: 15px auto;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(0, 200, 255, 0.3);
    overflow: hidden;
}

.referral-header {
    background: linear-gradient(135deg, #1a3a5c, #2a5a8c);
    padding: 10px 15px;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.referral-icon {
    margin-right: 8px;
}

.referral-content {
    padding: 12px 15px;
}

.referral-info-text {
    color: #ccc;
    font-size: 12px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.referral-stats {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #fff;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.stat-value {
    color: #ffd700;
    font-weight: bold;
}

.referral-copy-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.referral-copy-btn:active {
    transform: scale(0.95);
}

/* Прогресс рефералов */
.referral-progress-list {
    margin-top: 8px;
}

.ref-progress-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 12px;
    color: #aaa;
}

.ref-progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.ref-progress-fill {
    height: 100%;
    background: #4CAF50;
    border-radius: 3px;
    transition: width 0.3s;
}

/* Адаптивность */
@media (max-width: 480px) {
    .luck-progress-container,
    .referral-block {
        width: 95%;
        margin: 10px auto;
    }
}