/* profile.css - РАБОЧАЯ ВЕРСИЯ */

.profile-container {
    max-width: 800px;
    margin: 0 auto;
}

.profile-banner {
    height: 120px;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    border-radius: 24px 24px 0 0;
}

.profile-avatar-section {
    position: relative;
    margin-top: -60px;
    padding: 0 24px;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 6px solid #0a0a0a;
    object-fit: cover;
}

.profile-avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 6px solid #0a0a0a;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    color: white;
}

.profile-name-section {
    flex: 1;
    padding-bottom: 12px;
}

.profile-name {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.profile-badge.premium {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: white;
}

.profile-badge.non-premium {
    background: rgba(255, 255, 255, 0.1);
    color: #aaa;
}

.profile-info-card {
    background: #111111;
    border-radius: 16px;
    margin: 16px 24px;
    padding: 20px;
    border: 1px solid rgba(168, 85, 247, 0.15);
}

.stats-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #c084fc;
}

.stat-label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.stat-sub {
    font-size: 10px;
    color: #666;
    margin-top: 2px;
}

.discord-role-preview {
    background: #1e1e22;
    border-radius: 12px;
    padding: 20px;
}

.discord-role-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #2b2d31;
    border-radius: 10px;
}

.discord-role-icon {
    width: 32px;
    height: 32px;
    background: #1e1e22;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discord-role-icon svg {
    width: 18px;
    height: 18px;
    color: var(--role-color-1, #c084fc);
}

/* ========== ГЛАВНОЕ - СТИЛИ ДЛЯ ГРАДИЕНТНОГО ТЕКСТА ========== */
.discord-role-name {
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--role-color-1, #ff69b4), var(--role-color-2, #ff69b4));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 2 цвета */
.discord-role-name.gradient-2 {
    background: linear-gradient(135deg, var(--role-color-1, #a855f7), var(--role-color-2, #7c3aed));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 3 цвета */
.discord-role-name.gradient-3 {
    background: linear-gradient(135deg, var(--role-color-1, #a855f7), var(--role-color-2, #7c3aed), var(--role-color-3, #c084fc));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Обычный цвет */
.discord-role-name.solid {
    background: none;
    color: var(--role-color-1, #a855f7);
    -webkit-background-clip: unset;
    background-clip: unset;
}

.slots-card {
    background: rgba(168, 85, 247, 0.05);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 16px;
    overflow: hidden;
}

.slots-header {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}

.slots-header-icon {
    width: 32px;
    height: 32px;
    background: rgba(168, 85, 247, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slots-header-icon svg {
    width: 18px;
    height: 18px;
    color: #c084fc;
}

.slots-header-title {
    flex: 1;
}

.slots-header-title h4 {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
}

.slots-header-title p {
    font-size: 11px;
    color: #888;
}

.slots-content {
    padding: 16px;
}

.slots-progress {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.slots-progress-fill {
    background: linear-gradient(90deg, #a855f7, #c084fc);
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.slots-numbers {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.slot-number {
    text-align: center;
    flex: 1;
}

.slot-number .number {
    font-size: 20px;
    font-weight: 700;
    color: #c084fc;
}

.slot-number .label {
    font-size: 10px;
    color: #666;
}

.slots-message {
    background: rgba(168, 85, 247, 0.08);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    font-size: 12px;
    color: #c084fc;
    margin-top: 12px;
}

.non-premium-card {
    background: #111111;
    border-radius: 16px;
    margin: 16px 24px;
    padding: 32px;
    text-align: center;
    border: 1px solid rgba(168, 85, 247, 0.15);
}

.non-premium-icon {
    width: 64px;
    height: 64px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.non-premium-icon svg {
    width: 32px;
    height: 32px;
    color: #a855f7;
}

.non-premium-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.non-premium-card p {
    color: #888;
    font-size: 13px;
    margin-bottom: 20px;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.feature-tag {
    background: rgba(168, 85, 247, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: #c084fc;
}

.buy-premium-btn {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.buy-premium-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

@media (max-width: 600px) {
    .profile-banner {
        height: 80px;
    }
    .profile-avatar {
        width: 70px;
        height: 70px;
    }
    .profile-avatar-placeholder {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
    .profile-name {
        font-size: 18px;
    }
    .stats-row {
        flex-direction: column;
    }
    .slots-numbers {
        flex-direction: column;
        gap: 8px;
    }
}